Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/pf/
H A Dpf_lb.c179 dst->port[1], pd->ndport)) in pf_match_translation()
292 key.port[0] = pd->ndport; in pf_get_sport()
804 if (pf_state_key_setup(pd, pd->nsport, pd->ndport, skp, nkp)) in pf_get_translation()
934 tmp_nport = ((ntohs(pd->ndport) - ntohs(r->dst.port[0])) % in pf_get_translation()
945 nport = pd->ndport; in pf_get_translation()
1050 pf_print_host(&pd->ndaddr, pd->ndport, pd->af); in pf_get_transaddr_af()
1068 NTOHS(pd->ndport); in pf_get_transaddr_af()
1069 if (pd->ndport == ICMP6_ECHO_REQUEST) in pf_get_transaddr_af()
1070 pd->ndport = ICMP_ECHO; in pf_get_transaddr_af()
1071 else if (pd->ndport == ICMP6_ECHO_REPLY) in pf_get_transaddr_af()
[all …]
H A Dpf.c1760 (*nk)->port[pd->sidx] = pd->ndport; in pf_state_key_setup()
1765 (*nk)->port[pd->didx] = pd->ndport; in pf_state_key_setup()
5508 pd->ndport = th->th_dport; in pf_test_rule()
5512 pd->ndport = pd->hdr.udp.uh_dport; in pf_test_rule()
5516 pd->ndport = pd->hdr.sctp.dest_port; in pf_test_rule()
5527 pd->ndport = virtual_type; in pf_test_rule()
5530 pd->ndport = virtual_id; in pf_test_rule()
5543 pd->ndport = virtual_type; in pf_test_rule()
5546 pd->ndport = virtual_id; in pf_test_rule()
5552 pd->nsport = pd->ndport = 0; in pf_test_rule()
[all …]
/freebsd/sys/net/
H A Dpfvar.h1642 u_int16_t ndport; /* dst port after NAT */ member