Lines Matching refs:nport
292 uint16_t *nport, uint16_t low, uint16_t high, struct pf_kpool *rpool, in pf_get_sport() argument
327 *nport = (*udp_mapping)->endpoints[1].port; in pf_get_sport()
389 *nport = pd->nsport; in pf_get_sport()
402 *nport = pd->nsport; in pf_get_sport()
411 *nport = htons(low); in pf_get_sport()
415 *nport = htons(low); in pf_get_sport()
435 *nport = htons(tmp); in pf_get_sport()
441 *nport = htons(tmp); in pf_get_sport()
453 *nport = htons(tmp); in pf_get_sport()
459 *nport = htons(tmp); in pf_get_sport()
504 struct pf_addr *naddr, uint16_t *nport, struct pf_udp_mapping **udp_mapping, in pf_get_mape_sport() argument
524 if (!pf_get_sport(pd, r, naddr, nport, low, low | highmask, in pf_get_mape_sport()
530 if (!pf_get_sport(pd, r, naddr, nport, low, low | highmask, in pf_get_mape_sport()
1029 uint16_t cut, low, high, nport; in pf_get_transaddr() local
1057 nport = htons((uint16_t)tmp_nport); in pf_get_transaddr()
1059 nport = htons(rpool->proxy_port[0]); in pf_get_transaddr()
1061 nport = pd->ndport; in pf_get_transaddr()
1066 *nportp = nport; in pf_get_transaddr()
1079 key.port[1] = nport; in pf_get_transaddr()
1151 u_int16_t nport = 0; in pf_get_transaddr_af() local
1171 if (pf_get_sport(pd, r, &nsaddr, &nport, r->nat.proxy_port[0], in pf_get_transaddr_af()