Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/pf/
H A Dpf_lb.c178 src->port[0], src->port[1], pd->nsport)) in pf_match_translation()
261 udp_source.port = pd->nsport; in pf_get_sport()
276 pd->nsport, &init_addr, 0); in pf_get_sport()
320 key.port[1] = pd->nsport; in pf_get_sport()
322 *nport = pd->nsport; in pf_get_sport()
333 key.port[1] = pd->nsport; in pf_get_sport()
335 *nport = pd->nsport; in pf_get_sport()
760 if (pf_state_key_setup(pd, pd->nsport, pd->ndport, skp, nkp)) in pf_get_translation()
917 key.port[0] = pd->nsport; in pf_get_translation()
965 ntohs(pd->nsport), ntohs((*nkp)->port[0]))); in pf_get_translation()
[all …]
H A Dpf.c1711 (*nk)->port[pd->didx] = pd->nsport; in pf_state_key_setup()
5457 pd->nsport = th->th_sport; in pf_test_rule()
5461 pd->nsport = pd->hdr.udp.uh_sport; in pf_test_rule()
5465 pd->nsport = pd->hdr.sctp.src_port; in pf_test_rule()
5476 pd->nsport = virtual_id; in pf_test_rule()
5479 pd->nsport = virtual_type; in pf_test_rule()
5492 pd->nsport = virtual_id; in pf_test_rule()
5495 pd->nsport = virtual_type; in pf_test_rule()
5502 pd->nsport = pd->ndport = 0; in pf_test_rule()
5505 pd->osport = pd->nsport; in pf_test_rule()
[all …]
/freebsd/sys/net/
H A Dpfvar.h1621 u_int16_t nsport; /* src port after NAT */ member