Lines Matching refs:lookupflags

142 			    int lookupflags, uint8_t numa_domain, int fib);
758 int lookupflags) in in_pcb_lport_dest() argument
847 faddr, fport, laddr, lport, lookupflags, in in_pcb_lport_dest()
854 faddr6, fport, laddr6, lport, lookupflags, in in_pcb_lport_dest()
863 lookupflags, cred); in in_pcb_lport_dest()
869 lookupflags, cred); in in_pcb_lport_dest()
878 lport, RT_ALL_FIBS, lookupflags, cred); in in_pcb_lport_dest()
893 struct ucred *cred, int lookupflags) in in_pcb_lport() argument
903 NULL, lportp, NULL, 0, cred, lookupflags)); in in_pcb_lport()
913 const u_short lport, const int fib, int sooptions, int lookupflags, in in_pcbbind_avail() argument
986 lookupflags, cred); in in_pcbbind_avail()
1017 int error, fib, lookupflags, sooptions; in in_pcbbind_setup() local
1029 lookupflags = 0; in in_pcbbind_setup()
1032 lookupflags = INPLOOKUP_WILDCARD; in in_pcbbind_setup()
1058 lookupflags, cred); in in_pcbbind_setup()
1065 error = in_pcb_lport(inp, &laddr, &lport, cred, lookupflags); in in_pcbbind_setup()
1983 u_short lport, int fib, int lookupflags, struct ucred *cred) in in_pcblookup_local() argument
1993 KASSERT((lookupflags & ~(INPLOOKUP_WILDCARD)) == 0, in in_pcblookup_local()
1994 ("%s: invalid lookup flags %d", __func__, lookupflags)); in in_pcblookup_local()
2000 if ((lookupflags & INPLOOKUP_WILDCARD) == 0) { in in_pcblookup_local()
2362 u_int fport_arg, struct in_addr laddr, u_int lport_arg, int lookupflags, in in_pcblookup_hash_locked() argument
2368 KASSERT((lookupflags & ~(INPLOOKUP_WILDCARD | INPLOOKUP_FIB)) == 0, in in_pcblookup_hash_locked()
2369 ("%s: invalid lookup flags %d", __func__, lookupflags)); in in_pcblookup_hash_locked()
2380 if ((lookupflags & INPLOOKUP_WILDCARD) != 0) { in in_pcblookup_hash_locked()
2394 u_int fport, struct in_addr laddr, u_int lport, int lookupflags, in in_pcblookup_hash() argument
2398 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_hash()
2400 KASSERT((lookupflags & (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)) != 0, in in_pcblookup_hash()
2405 lookupflags & ~INPLOOKUP_LOCKMASK, numa_domain, fib); in in_pcblookup_hash()
2421 u_int fport_arg, struct in_addr laddr, u_int lport_arg, int lookupflags, in in_pcblookup_hash_smr() argument
2425 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_hash_smr()
2428 KASSERT((lookupflags & ~INPLOOKUP_MASK) == 0, in in_pcblookup_hash_smr()
2429 ("%s: invalid lookup flags %d", __func__, lookupflags)); in in_pcblookup_hash_smr()
2430 KASSERT((lookupflags & (INPLOOKUP_RLOCKPCB | INPLOOKUP_WLOCKPCB)) != 0, in in_pcblookup_hash_smr()
2452 lookupflags, numa_domain, fib)); in in_pcblookup_hash_smr()
2455 if ((lookupflags & INPLOOKUP_WILDCARD) != 0) { in in_pcblookup_hash_smr()
2472 lport, lookupflags, numa_domain, fib)); in in_pcblookup_hash_smr()
2488 struct in_addr laddr, u_int lport, int lookupflags, in in_pcblookup() argument
2493 fib = (lookupflags & INPLOOKUP_FIB) ? if_getfib(ifp) : RT_ALL_FIBS; in in_pcblookup()
2495 lookupflags, M_NODOM, fib)); in in_pcblookup()
2500 u_int fport, struct in_addr laddr, u_int lport, int lookupflags, in in_pcblookup_mbuf() argument
2506 fib = (lookupflags & INPLOOKUP_FIB) ? M_GETFIB(m) : RT_ALL_FIBS; in in_pcblookup_mbuf()
2508 lookupflags, m->m_pkthdr.numa_domain, fib)); in in_pcblookup_mbuf()