Home
last modified time | relevance | path

Searched refs:nsport (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/net/
H A Dpf_lb.c198 key.port[sidx] = pd->nsport; in pf_get_sport()
202 *nport = pd->nsport; in pf_get_sport()
206 key.port[sidx] = pd->nsport; in pf_get_sport()
210 *nport = pd->nsport; in pf_get_sport()
739 pd->nsport = nport; in pf_get_transaddr()
807 pd->nsport = nport; in pf_get_transaddr_af()
818 pd->nsport = ntohs(pd->nsport); in pf_get_transaddr_af()
820 pd->nsport = ICMP_ECHO; in pf_get_transaddr_af()
823 pd->nsport = htons(pd->nsport); in pf_get_transaddr_af()
834 pd->nsport = ntohs(pd->nsport); in pf_get_transaddr_af()
[all …]
H A Dif_pflog.c241 pd->osport != pd->nsport || in pflog_packet()
249 hdr.sport = pd->nsport; in pflog_packet()
H A Dpfvar_priv.h283 u_int16_t nsport; /* src port after NAT */ member
H A Dpf.c962 pd->nsport != pd->osport || pd->ndport != pd->odport || in pf_state_key_setup()
971 sk2->port[afto ? pd->didx : pd->sidx] = pd->nsport; in pf_state_key_setup()
4153 r->src.port[1], ctx->pd->nsport)), in pf_match_rule()
4400 pd->osport = pd->nsport = virtual_id; in pf_test_rule()
4403 pd->osport = pd->nsport = virtual_type; in pf_test_rule()
4414 pd->osport = pd->nsport = virtual_id; in pf_test_rule()
4417 pd->osport = pd->nsport = virtual_type; in pf_test_rule()
7466 pd->osport = pd->nsport = *pd->sport; in pf_setup_pdesc()