Go to the source code of this file.
|
| VNET_DECLARE (uint32_t, in_pcbhashseed) |
|
bool | inp_smr_lock (struct inpcb *, const inp_lookup_t) |
|
int | in_pcb_lport (struct inpcb *, struct in_addr *, u_short *, struct ucred *, int) |
|
int | in_pcb_lport_dest (struct inpcb *inp, struct sockaddr *lsa, u_short *lportp, struct sockaddr *fsa, u_short fport, struct ucred *cred, int lookupflags) |
|
struct inpcb * | in_pcblookup_local (struct inpcbinfo *, struct in_addr, u_short, int, struct ucred *) |
|
◆ V_in_pcbhashseed
#define V_in_pcbhashseed VNET(in_pcbhashseed) |
◆ in_pcb_lport()
int in_pcb_lport |
( |
struct inpcb * |
, |
|
|
struct in_addr * |
, |
|
|
u_short * |
, |
|
|
struct ucred * |
, |
|
|
int |
|
|
) |
| |
◆ in_pcb_lport_dest()
int in_pcb_lport_dest |
( |
struct inpcb * |
inp, |
|
|
struct sockaddr * |
lsa, |
|
|
u_short * |
lportp, |
|
|
struct sockaddr * |
fsa, |
|
|
u_short |
fport, |
|
|
struct ucred * |
cred, |
|
|
int |
lookupflags |
|
) |
| |
◆ in_pcblookup_local()
struct inpcb * in_pcblookup_local |
( |
struct inpcbinfo * |
, |
|
|
struct in_addr |
, |
|
|
u_short |
, |
|
|
int |
, |
|
|
struct ucred * |
|
|
) |
| |
◆ inp_smr_lock()
bool inp_smr_lock |
( |
struct inpcb * |
inp, |
|
|
const |
inp_lookup_t |
|
) |
| |
Definition at line 1578 of file in_pcb.c.
References in_pcbrele(), inpcb::inp_flags, INP_FREED, inp_lock(), inpcb::inp_pcbinfo, inpcb::inp_refcount, inp_trylock(), inp_unlock(), INPLOOKUP_RLOCKPCB, INPLOOKUP_WLOCKPCB, and inpcbinfo::ipi_smr.
Referenced by inp_next().
◆ VNET_DECLARE()
VNET_DECLARE |
( |
uint32_t |
, |
|
|
in_pcbhashseed |
|
|
) |
| |