Lines Matching refs:port1
5434 gen_portrangeop(compiler_state_t *cstate, int port1, int port2, int proto,
5446 b1 = gen_portrangeatom(cstate, 0, (bpf_int32)port1, (bpf_int32)port2);
5450 b1 = gen_portrangeatom(cstate, 2, (bpf_int32)port1, (bpf_int32)port2);
5455 tmp = gen_portrangeatom(cstate, 0, (bpf_int32)port1, (bpf_int32)port2);
5456 b1 = gen_portrangeatom(cstate, 2, (bpf_int32)port1, (bpf_int32)port2);
5461 tmp = gen_portrangeatom(cstate, 0, (bpf_int32)port1, (bpf_int32)port2);
5462 b1 = gen_portrangeatom(cstate, 2, (bpf_int32)port1, (bpf_int32)port2);
5475 gen_portrange(compiler_state_t *cstate, int port1, int port2, int ip_proto,
5487 b1 = gen_portrangeop(cstate, port1, port2, ip_proto, dir);
5491 tmp = gen_portrangeop(cstate, port1, port2, IPPROTO_TCP, dir);
5492 b1 = gen_portrangeop(cstate, port1, port2, IPPROTO_UDP, dir);
5494 tmp = gen_portrangeop(cstate, port1, port2, IPPROTO_SCTP, dir);
5531 gen_portrangeop6(compiler_state_t *cstate, int port1, int port2, int proto,
5542 b1 = gen_portrangeatom6(cstate, 0, (bpf_int32)port1, (bpf_int32)port2);
5546 b1 = gen_portrangeatom6(cstate, 2, (bpf_int32)port1, (bpf_int32)port2);
5551 tmp = gen_portrangeatom6(cstate, 0, (bpf_int32)port1, (bpf_int32)port2);
5552 b1 = gen_portrangeatom6(cstate, 2, (bpf_int32)port1, (bpf_int32)port2);
5557 tmp = gen_portrangeatom6(cstate, 0, (bpf_int32)port1, (bpf_int32)port2);
5558 b1 = gen_portrangeatom6(cstate, 2, (bpf_int32)port1, (bpf_int32)port2);
5571 gen_portrange6(compiler_state_t *cstate, int port1, int port2, int ip_proto,
5583 b1 = gen_portrangeop6(cstate, port1, port2, ip_proto, dir);
5587 tmp = gen_portrangeop6(cstate, port1, port2, IPPROTO_TCP, dir);
5588 b1 = gen_portrangeop6(cstate, port1, port2, IPPROTO_UDP, dir);
5590 tmp = gen_portrangeop6(cstate, port1, port2, IPPROTO_SCTP, dir);
6213 int port1, port2;
6422 if (pcap_nametoportrange(name, &port1, &port2, &real_proto) == 0)
6451 if (port1 < 0)
6452 bpf_error(cstate, "illegal port number %d < 0", port1);
6453 if (port1 > 65535)
6454 bpf_error(cstate, "illegal port number %d > 65535", port1);
6460 b = gen_portrange(cstate, port1, port2, real_proto, dir);
6461 gen_or(gen_portrange6(cstate, port1, port2, real_proto, dir), b);