40#ifndef _NETINET_IN_PCB_VAR_H_
41#define _NETINET_IN_PCB_VAR_H_
48#define V_in_pcbhashseed VNET(in_pcbhashseed)
54 u_short *lportp,
struct sockaddr *fsa, u_short fport,
55 struct ucred *cred,
int lookupflags);
int in_pcb_lport(struct inpcb *, struct in_addr *, u_short *, struct ucred *, int)
VNET_DECLARE(uint32_t, in_pcbhashseed)
struct inpcb * in_pcblookup_local(struct inpcbinfo *, struct in_addr, u_short, int, struct ucred *)
bool inp_smr_lock(struct inpcb *, const inp_lookup_t)
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)
CK_LIST_ENTRY(inpcbport) phd_hash
struct inpcbhead phd_pcblist