Lines Matching refs:port1
5316 gen_portrangeop(port1, port2, proto, dir)
5317 int port1, port2;
5330 b1 = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5334 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5339 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5340 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5345 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5346 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5359 gen_portrange(port1, port2, ip_proto, dir)
5360 int port1, port2;
5373 b1 = gen_portrangeop(port1, port2, ip_proto, dir);
5377 tmp = gen_portrangeop(port1, port2, IPPROTO_TCP, dir);
5378 b1 = gen_portrangeop(port1, port2, IPPROTO_UDP, dir);
5380 tmp = gen_portrangeop(port1, port2, IPPROTO_SCTP, dir);
5418 gen_portrangeop6(port1, port2, proto, dir)
5419 int port1, port2;
5431 b1 = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
5435 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
5440 tmp = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
5441 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
5446 tmp = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
5447 b1 = gen_portrangeatom6(2, (bpf_int32)port1
5460 gen_portrange6(port1, port2, ip_proto, dir)
5461 int port1, port2;
5474 b1 = gen_portrangeop6(port1, port2, ip_proto, dir);
5478 tmp = gen_portrangeop6(port1, port2, IPPROTO_TCP, dir);
5479 b1 = gen_portrangeop6(port1, port2, IPPROTO_UDP, dir);
5481 tmp = gen_portrangeop6(port1, port2, IPPROTO_SCTP, dir);
6114 int port1, port2;
6314 if (pcap_nametoportrange(name, &port1, &port2, &real_proto) == 0)
6343 if (port1 < 0)
6344 bpf_error("illegal port number %d < 0", port1);
6345 if (port1 > 65535)
6346 bpf_error("illegal port number %d > 65535", port1);
6352 b = gen_portrange(port1, port2, real_proto, dir);
6353 gen_or(gen_portrange6(port1, port2, real_proto, dir), b);