Lines Matching refs:nsport
178 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()
1004 pf_print_host(&pd->nsaddr, pd->nsport, pd->af); in pf_get_transaddr_af()
1031 NTOHS(pd->nsport); in pf_get_transaddr_af()
1032 if (pd->nsport == ICMP6_ECHO_REQUEST) in pf_get_transaddr_af()
1033 pd->nsport = ICMP_ECHO; in pf_get_transaddr_af()
1034 else if (pd->nsport == ICMP6_ECHO_REPLY) in pf_get_transaddr_af()
1035 pd->nsport = ICMP_ECHOREPLY; in pf_get_transaddr_af()
1036 HTONS(pd->nsport); in pf_get_transaddr_af()
1047 NTOHS(pd->nsport); in pf_get_transaddr_af()
1048 if (pd->nsport == ICMP_ECHO) in pf_get_transaddr_af()
1049 pd->nsport = ICMP6_ECHO_REQUEST; in pf_get_transaddr_af()
1050 else if (pd->nsport == ICMP_ECHOREPLY) in pf_get_transaddr_af()
1051 pd->nsport = ICMP6_ECHO_REPLY; in pf_get_transaddr_af()
1052 HTONS(pd->nsport); in pf_get_transaddr_af()
1107 pf_print_host(&pd->nsaddr, pd->nsport, pd->naf); in pf_get_transaddr_af()