Lines Matching refs:address
104 boolean match(Action action, InetAddress address, int port);
121 public boolean match(Action action, InetAddress address, int port) {
128 // rule to match address[/prefix] port[-end]
133 AddressPortRangeRule(Action action, InetAddress address,
137 this.addressAsBytes = address.getAddress();
142 public boolean match(Action action, InetAddress address, int port) {
145 byte[] candidate = address.getAddress();
146 // same address type?
159 return super.match(action, address, port);
248 for (InetAddress address: addresses) {
250 (address instanceof Inet4Address) ? 32 : 128;
251 result.add(new AddressPortRangeRule(action, address,
256 InetAddress address = InetAddress
261 if (address instanceof Inet4Address) {
273 address, prefix, ports[0], ports[1]));
280 fail("Unknown host or malformed IP address '%s'", s[1]);
293 InetAddress address,
299 if (rule.match(action, address, port)) {
306 String addr = (address instanceof Inet4Address) ?
307 address.getHostAddress() : "[" + address.getHostAddress() + "]";
318 InetAddress address,
323 convertTcpToSdpIfMatch(fdObj, Action.BIND, address, port);
328 InetAddress address,
333 convertTcpToSdpIfMatch(fdObj, Action.CONNECT, address, port);