/freebsd/sys/netinet/ |
H A D | in_pcb.h | 594 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 D | siftr.c | 603 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 D | toecore.c | 393 INPLOOKUP_RLOCKPCB, ifp); in toe_4tuple_check() 396 inc->inc_laddr, inc->inc_lport, INPLOOKUP_RLOCKPCB, ifp); in toe_4tuple_check()
|
H A D | udp_usrreq.c | 361 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 D | in_pcb.c | 1470 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 D | raw_ip.c | 305 INPLOOKUP_RLOCKPCB, rip_inp_match1, &ctx); in rip_input() 1030 INPLOOKUP_RLOCKPCB); in rip_pcblist()
|
H A D | tcp_subr.c | 2594 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 D | tcp_input.c | 839 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 D | udp6_usrreq.c | 251 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 D | in6_pcb.c | 829 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 D | raw_ip6.c | 194 INPLOOKUP_RLOCKPCB, rip6_inp_match, &ctx); in rip6_input()
|
H A D | icmp6.c | 1935 INPLOOKUP_RLOCKPCB, icmp6_rip6_match, ip6); in icmp6_rip6_input()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 1158 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 D | pf.c | 4938 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()
|