Lines Matching defs:port2
5231 gen_portrangeop(port1, port2, proto, dir)
5232 int port1, port2;
5245 b1 = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5249 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5254 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5255 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5260 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5261 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5274 gen_portrange(port1, port2, ip_proto, dir)
5275 int port1, port2;
5288 b1 = gen_portrangeop(port1, port2, ip_proto, dir);
5292 tmp = gen_portrangeop(port1, port2, IPPROTO_TCP, dir);
5293 b1 = gen_portrangeop(port1, port2, IPPROTO_UDP, dir);
5295 tmp = gen_portrangeop(port1, port2, IPPROTO_SCTP, dir);
5333 gen_portrangeop6(port1, port2, proto, dir)
5334 int port1, port2;
5346 b1 = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
5350 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
5355 tmp = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
5356 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
5361 tmp = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
5362 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
5375 gen_portrange6(port1, port2, ip_proto, dir)
5376 int port1, port2;
5389 b1 = gen_portrangeop6(port1, port2, ip_proto, dir);
5393 tmp = gen_portrangeop6(port1, port2, IPPROTO_TCP, dir);
5394 b1 = gen_portrangeop6(port1, port2, IPPROTO_UDP, dir);
5396 tmp = gen_portrangeop6(port1, port2, IPPROTO_SCTP, dir);
6036 int port1, port2;
6253 if (pcap_nametoportrange(name, &port1, &port2, &real_proto) == 0)
6286 if (port2 < 0)
6287 bpf_error("illegal port number %d < 0", port2);
6288 if (port2 > 65535)
6289 bpf_error("illegal port number %d > 65535", port2);
6291 b = gen_portrange(port1, port2, real_proto, dir);
6292 gen_or(gen_portrange6(port1, port2, real_proto, dir), b);