Home
last modified time | relevance | path

Searched refs:npf_iscached (Results 1 – 12 of 12) sorted by relevance

/dports/misc/rump/buildrump.sh-b914579/src/sys/net/npf/
H A Dnpf_sendpkt.c78 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_return_tcp()
79 KASSERT(npf_iscached(npc, NPC_LAYER4)); in npf_return_tcp()
88 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp()
90 } else if (npf_iscached(npc, NPC_IP6)) { in npf_return_tcp()
104 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp()
123 KASSERT(npf_iscached(npc, NPC_IP6)); in npf_return_tcp()
150 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp()
162 KASSERT(npf_iscached(npc, NPC_IP6)); in npf_return_tcp()
168 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp()
182 if (npf_iscached(npc, NPC_IP4)) { in npf_return_icmp()
[all …]
H A Dnpf_alg_icmp.c80 KASSERT(npf_iscached(npc, NPC_IP46)); in npfa_icmp_match()
81 KASSERT(npf_iscached(npc, NPC_LAYER4)); in npfa_icmp_match()
211 KASSERT(npf_iscached(npc, NPC_IP46)); in npfa_icmp_inspect()
212 KASSERT(npf_iscached(npc, NPC_ICMP)); in npfa_icmp_inspect()
226 if (npf_iscached(npc, NPC_IP4)) { in npfa_icmp_inspect()
229 } else if (npf_iscached(npc, NPC_IP6)) { in npfa_icmp_inspect()
240 if (npf_iscached(enpc, NPC_ICMP_ID)) { in npfa_icmp_inspect()
255 if (!npf_iscached(npc, NPC_ICMP)) in npfa_icmp_conn()
321 KASSERT(npf_iscached(&enpc, NPC_IP46)); in npfa_icmp_nat()
345 if (npf_iscached(&enpc, NPC_IP4)) { in npfa_icmp_nat()
[all …]
H A Dnpf_inet.c204 KASSERT(npf_iscached(npc, NPC_TCP)); in npf_tcpsaw()
211 if (npf_iscached(npc, NPC_IP4)) { in npf_tcpsaw()
234 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_fetch_tcpopts()
235 KASSERT(npf_iscached(npc, NPC_TCP)); in npf_fetch_tcpopts()
526 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_rwrip()
542 KASSERT(npf_iscached(npc, NPC_TCP) || npf_iscached(npc, NPC_UDP)); in npf_rwrport()
574 if (npf_iscached(npc, NPC_IP4)) { in npf_rwrcksum()
582 KASSERT(npf_iscached(npc, NPC_IP6)); in npf_rwrcksum()
589 KASSERT(npf_iscached(npc, NPC_TCP) || npf_iscached(npc, NPC_UDP)); in npf_rwrcksum()
660 KASSERT(npf_iscached(npc, NPC_ICMP)); in npf_napt_rwr()
[all …]
H A Dnpf_ext_log.c91 if (npf_iscached(npc, NPC_IP4)) { in npf_log()
93 } else if (npf_iscached(npc, NPC_IP6)) { in npf_log()
H A Dnpf_state.c100 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_state_init()
101 KASSERT(npf_iscached(npc, NPC_LAYER4)); in npf_state_init()
H A Dnpf_conn.c237 if (!npf_iscached(npc, NPC_IP46) || !npf_iscached(npc, NPC_LAYER4)) { in npf_conn_trackable_p()
259 KASSERT(npf_iscached(npc, NPC_TCP)); in npf_conn_conkey()
265 KASSERT(npf_iscached(npc, NPC_UDP)); in npf_conn_conkey()
271 if (npf_iscached(npc, NPC_ICMP_ID)) { in npf_conn_conkey()
279 if (npf_iscached(npc, NPC_ICMP_ID)) { in npf_conn_conkey()
483 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_conn_establish()
H A Dnpf_ext_normalize.c157 if (npf_iscached(npc, NPC_IP4) && (np->n_random_id || np->n_minttl)) { in npf_normalize()
165 if (maxmss == 0 || !npf_iscached(npc, NPC_TCP) || in npf_normalize()
H A Dnpf_nat.c556 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_nat_create()
557 KASSERT(npf_iscached(npc, NPC_LAYER4)); in npf_nat_create()
624 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_nat_translate()
625 KASSERT(npf_iscached(npc, NPC_LAYER4)); in npf_nat_translate()
694 if (!npf_iscached(npc, NPC_IP46) || !npf_iscached(npc, NPC_LAYER4)) { in npf_do_nat()
H A Dnpf_handler.c99 if (npf_iscached(npc, NPC_IP4)) { in npf_reassembly()
102 } else if (npf_iscached(npc, NPC_IP6)) { in npf_reassembly()
H A Dnpf_bpf.c172 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_cop_table()
H A Dnpf.h173 npf_iscached(const npf_cache_t *npc, const int inf) in npf_iscached() function
H A Dnpf_state_tcp.c303 KASSERT(npf_iscached(npc, NPC_TCP)); in npf_tcp_inwindow()