Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19230


Change subject: [util] method for IP address matching against patterns
......................................................................

[util] method for IP address matching against patterns

This patch introduces a new utility function IsAddressMatching()
to check if an IPv4 address represented by Sockaddr object matches
against a set of other addresses.  The elements of the pattern set might
be wildcard addresses.

A unit test for the new functionality is added as well.

This patch will be used in a follow-up patch.

Change-Id: I3f6bac9a5fa038d27ba5924f0fd7d5a50b72a7aa
---
M src/kudu/util/net/net_util-test.cc
M src/kudu/util/net/net_util.cc
M src/kudu/util/net/net_util.h
3 files changed, 113 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/30/19230/1
--
To view, visit http://gerrit.cloudera.org:8080/19230
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f6bac9a5fa038d27ba5924f0fd7d5a50b72a7aa
Gerrit-Change-Number: 19230
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to