Searched refs:ndport (Results 1 – 3 of 3) sorted by relevance
190 dst->port[1], pd->ndport)) in pf_match_translation()307 key.port[0] = pd->ndport; in pf_get_sport()760 if (pf_state_key_setup(pd, pd->nsport, pd->ndport, skp, nkp)) in pf_get_translation()890 tmp_nport = ((ntohs(pd->ndport) - ntohs(r->dst.port[0])) % in pf_get_translation()901 nport = pd->ndport; in pf_get_translation()1006 pf_print_host(&pd->ndaddr, pd->ndport, pd->af); in pf_get_transaddr_af()1024 NTOHS(pd->ndport); in pf_get_transaddr_af()1025 if (pd->ndport == ICMP6_ECHO_REQUEST) in pf_get_transaddr_af()1026 pd->ndport = ICMP_ECHO; in pf_get_transaddr_af()1027 else if (pd->ndport == ICMP6_ECHO_REPLY) in pf_get_transaddr_af()[all …]
1729 (*nk)->port[pd->sidx] = pd->ndport; in pf_state_key_setup() 5475 pd->ndport = th->th_dport; in pf_test_rule() 5479 pd->ndport = pd->hdr.udp.uh_dport; in pf_test_rule() 5483 pd->ndport = pd->hdr.sctp.dest_port; in pf_test_rule() 5494 pd->ndport = virtual_type; in pf_test_rule() 5497 pd->ndport = virtual_id; in pf_test_rule() 5510 pd->ndport = virtual_type; in pf_test_rule() 5513 pd->ndport = virtual_id; in pf_test_rule() 5519 pd->nsport = pd->ndport = 0; in pf_test_rule() 5523 pd->odport = pd->ndport; in pf_test_rule() [all...]
1622 u_int16_t ndport; /* dst port after NAT */ member