Home
last modified time | relevance | path

Searched refs:INPLOOKUP_RLOCKPCB (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/netinet/
H A Din_pcb.h594 INPLOOKUP_RLOCKPCB = 0x00000002, /* Return inpcb read-locked. */ enumerator
599 #define INPLOOKUP_MASK (INPLOOKUP_WILDCARD | INPLOOKUP_RLOCKPCB | \
601 #define INPLOOKUP_LOCKMASK (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)
H A Dsiftr.c603 dport, INPLOOKUP_RLOCKPCB, m->m_pkthdr.rcvif) in siftr_findinpcb()
608 &((struct ip6_hdr *)ip)->ip6_dst, dport, INPLOOKUP_RLOCKPCB, in siftr_findinpcb()
618 sport, INPLOOKUP_RLOCKPCB, m->m_pkthdr.rcvif) in siftr_findinpcb()
623 &((struct ip6_hdr *)ip)->ip6_src, sport, INPLOOKUP_RLOCKPCB, in siftr_findinpcb()
H A Dtoecore.c393 INPLOOKUP_RLOCKPCB, ifp); in toe_4tuple_check()
396 inc->inc_laddr, inc->inc_lport, INPLOOKUP_RLOCKPCB, ifp); in toe_4tuple_check()
H A Dudp_usrreq.c361 INPLOOKUP_RLOCKPCB, udp_multi_match, ip); in udp_multi_input()
594 lookupflags = INPLOOKUP_RLOCKPCB | in udp_input()
740 INPLOOKUP_WILDCARD | INPLOOKUP_RLOCKPCB, NULL); in udp_common_ctlinput()
773 INPLOOKUP_RLOCKPCB); in udp_pcblist()
858 INPLOOKUP_WILDCARD | INPLOOKUP_RLOCKPCB, NULL); in udp_getcred()
H A Din_pcb.c1470 lock == INPLOOKUP_RLOCKPCB ? in inp_lock()
1478 lock == INPLOOKUP_RLOCKPCB ? in inp_unlock()
1486 return (lock == INPLOOKUP_RLOCKPCB ? in inp_trylock()
1494 MPASS(lock == INPLOOKUP_RLOCKPCB || lock == INPLOOKUP_WLOCKPCB); in _inp_smr_lock()
1578 (lock) == INPLOOKUP_RLOCKPCB ? RA_RLOCKED : RA_WLOCKED )
1743 return (lock == INPLOOKUP_RLOCKPCB ? in in_pcbrele()
2383 KASSERT((lookupflags & (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)) != 0, in in_pcblookup_hash()
2413 KASSERT((lookupflags & (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)) != 0, in in_pcblookup_hash_smr()
H A Draw_ip.c305 INPLOOKUP_RLOCKPCB, rip_inp_match1, &ctx); in rip_input()
1030 INPLOOKUP_RLOCKPCB); in rip_pcblist()
H A Dtcp_subr.c2594 INPLOOKUP_RLOCKPCB); in tcp_pcblist()
2687 addrs[0].sin_addr, addrs[0].sin_port, INPLOOKUP_RLOCKPCB, NULL); in tcp_getcred()
2749 addrs[0].sin6_port, INPLOOKUP_RLOCKPCB, NULL); in tcp6_getcred()
2755 INPLOOKUP_RLOCKPCB, NULL); in tcp6_getcred()
H A Dtcp_input.c839 INPLOOKUP_RLOCKPCB : INPLOOKUP_WLOCKPCB) | in tcp_input_with_port()
1387 if ((lookupflag & INPLOOKUP_RLOCKPCB) && INP_TRY_UPGRADE(inp) == 0) in tcp_input_with_port()
/freebsd/sys/netinet6/
H A Dudp6_usrreq.c251 INPLOOKUP_RLOCKPCB, udp6_multi_match, &ctx); in udp6_multi_input()
458 lookupflags = INPLOOKUP_RLOCKPCB | in udp6_input()
580 &ip6->ip6_src, uh.uh_sport, INPLOOKUP_WILDCARD | INPLOOKUP_RLOCKPCB, in udp6_common_ctlinput()
640 INPLOOKUP_WILDCARD | INPLOOKUP_RLOCKPCB, NULL); in udp6_getcred()
H A Din6_pcb.c829 struct inpcb_iterator inpi = INP_ITERATOR(pcbinfo, INPLOOKUP_RLOCKPCB, in in6_pcbpurgeif0()
1182 KASSERT((lookupflags & (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)) != 0, in in6_pcblookup_hash()
1212 KASSERT((lookupflags & (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)) != 0, in in6_pcblookup_hash_smr()
H A Draw_ip6.c194 INPLOOKUP_RLOCKPCB, rip6_inp_match, &ctx); in rip6_input()
H A Dicmp6.c1935 INPLOOKUP_RLOCKPCB, icmp6_rip6_match, ip6); in icmp6_rip6_input()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c1158 lookupflags |= INPLOOKUP_RLOCKPCB; in check_uidgid()
2806 INPLOOKUP_RLOCKPCB, NULL); in ipfw_chk()
2816 INPLOOKUP_RLOCKPCB, NULL); in ipfw_chk()
/freebsd/sys/netpfil/pf/
H A Dpf.c4938 dport, INPLOOKUP_RLOCKPCB, NULL, pd->m); in pf_socket_lookup()
4942 INPLOOKUP_RLOCKPCB, NULL, pd->m); in pf_socket_lookup()
4951 dport, INPLOOKUP_RLOCKPCB, NULL, pd->m); in pf_socket_lookup()
4955 INPLOOKUP_RLOCKPCB, NULL, pd->m); in pf_socket_lookup()