Lines Matching defs:p2
329 print_port(u_int8_t op, u_int16_t p1, u_int16_t p2, const char *proto, int numeric)
339 p2 = ntohs(p2);
341 snprintf(a2, sizeof(a2), "%u", p2);
415 print_pool(struct pfctl_pool *pool, u_int16_t p1, u_int16_t p2,
450 p2 != PF_NAT_PROXY_PORT_HIGH) && (p1 != 0 || p2 != 0)) {
451 if (p1 == p2)
454 printf(" port %u:%u", p1, p2);
460 if (p2 && (p2 != p1))
461 printf(":%u", p2);
487 if (id == PF_NAT && p1 == 0 && p2 == 0)