Searched refs:udp_mapping (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/netpfil/pf/ |
H A D | pf_lb.c | 229 struct pf_udp_mapping **udp_mapping) in pf_get_sport() argument 237 MPASS(*udp_mapping == NULL); in pf_get_sport() 251 *udp_mapping = pf_udp_mapping_find(&udp_source); in pf_get_sport() 252 if (*udp_mapping) { in pf_get_sport() 253 PF_ACPY(naddr, &(*udp_mapping)->endpoints[1].addr, af); in pf_get_sport() 254 *nport = (*udp_mapping)->endpoints[1].port; in pf_get_sport() 261 *udp_mapping = pf_udp_mapping_create(af, saddr, sport, &init_addr, 0); in pf_get_sport() 262 if (*udp_mapping == NULL) in pf_get_sport() 295 if (*udp_mapping) in pf_get_sport() 296 PF_ACPY(&(*udp_mapping)->endpoints[1].addr, naddr, af); in pf_get_sport() [all …]
|
H A D | pf.c | 2622 pf_udp_mapping_release(s->udp_mapping); in pf_unlink_state() 4896 struct pf_udp_mapping *udp_mapping = NULL; in pf_test_rule() local 4964 &nk, saddr, daddr, sport, dport, anchor_stack, &nr, &udp_mapping); in pf_test_rule() 5295 &match_rules, udp_mapping); in pf_test_rule() 5297 pf_udp_mapping_release(udp_mapping); in pf_test_rule() 5313 pf_udp_mapping_release(udp_mapping); in pf_test_rule() 5341 pf_udp_mapping_release(udp_mapping); in pf_test_rule() 5352 struct pf_krule_slist *match_rules, struct pf_udp_mapping *udp_mapping) in pf_create_state() argument 5568 s->udp_mapping = udp_mapping; in pf_create_state()
|
/freebsd/sys/net/ |
H A D | pfvar.h | 1092 struct pf_udp_mapping *udp_mapping; member 2629 struct pf_udp_mapping **udp_mapping);
|