Lines Matching defs:port
48 // maximum port
104 boolean match(Action action, InetAddress address, int port);
107 // rule to match port[-end]
121 public boolean match(Action action, InetAddress address, int port) {
123 port >= this.portStart &&
124 port <= this.portEnd);
128 // rule to match address[/prefix] port[-end]
134 int prefix, int port, int end)
136 super(action, port, end);
142 public boolean match(Action action, InetAddress address, int port) {
159 return super.match(action, address, port);
163 // parses port:[-end]
195 // 1*LWSP-char ("*" | port) [ "-" ("*" | port) ]
229 // * port[-end]
232 fail("Malformed port range '%s'", s[2]);
294 int port)
299 if (rule.match(action, address, port)) {
309 log.format("%s to %s:%d (socket converted to SDP protocol)\n", action, addr, port);
311 log.format("%s to %s:%d (no match)\n", action, addr, port);
319 int port)
323 convertTcpToSdpIfMatch(fdObj, Action.BIND, address, port);
329 int port)
333 convertTcpToSdpIfMatch(fdObj, Action.CONNECT, address, port);