Lines Matching refs:inpcb

66 CK_LIST_HEAD(inpcbhead, inpcb);
167 struct inpcb { struct
170 CK_LIST_ENTRY(inpcb) inp_hash_exact; /* hash table linkage */ argument
171 LIST_ENTRY(inpcb) inp_lbgroup_list; /* lb group list */
173 CK_LIST_ENTRY(inpcb) inp_hash_wild; /* hash table linkage */
177 #define inp_zero_size (sizeof(struct inpcb) - \ argument
178 offsetof(struct inpcb, inp_start_zero))
222 CK_LIST_ENTRY(inpcb) inp_portlist; /* (r:e/w:h) port list */ argument
230 CK_LIST_ENTRY(inpcb) inp_list; /* (r:e/w:p) all PCBs for proto */ argument
332 int (*ctloutput_set)(struct inpcb *, struct sockopt *));
333 void in_pcbtoxinpcb(const struct inpcb *, struct xinpcb *);
428 struct inpcb *inp = mem; \
466 void inp_wlock(struct inpcb *);
467 void inp_wunlock(struct inpcb *);
468 void inp_rlock(struct inpcb *);
469 void inp_runlock(struct inpcb *);
472 void inp_lock_assert(struct inpcb *);
473 void inp_unlock_assert(struct inpcb *);
479 void inp_apply_all(struct inpcbinfo *, void (*func)(struct inpcb *, void *),
482 inp_inpcbtosocket(struct inpcb *inp);
483 void inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp,
627 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
663 int in_pcbbind(struct inpcb *, struct sockaddr_in *, int, struct ucred *);
664 int in_pcbbind_setup(struct inpcb *, struct sockaddr_in *, in_addr_t *,
666 int in_pcbconnect(struct inpcb *, struct sockaddr_in *, struct ucred *);
667 void in_pcbdisconnect(struct inpcb *);
668 void in_pcbdrop(struct inpcb *);
669 void in_pcbfree(struct inpcb *);
670 int in_pcbladdr(const struct inpcb *, struct in_addr *, struct in_addr *,
672 int in_pcblbgroup_numa(struct inpcb *, int arg);
673 void in_pcblisten(struct inpcb *);
674 struct inpcb *
677 struct inpcb *
680 void in_pcbref(struct inpcb *);
681 bool in_pcbrele(struct inpcb *, inp_lookup_t);
682 bool in_pcbrele_rlocked(struct inpcb *);
683 bool in_pcbrele_wlocked(struct inpcb *);
684 bool in_pcbrele_rlock(struct inpcb *inp);
686 typedef bool inp_match_t(const struct inpcb *, void *);
689 struct inpcb *inp;
713 struct inpcb *inp_next(struct inpcb_iterator *);
714 void in_losing(struct inpcb *);
721 in_pcboutput_txrtlmt_locked(struct inpcb *, struct ifnet *,
723 int in_pcbattach_txrtlmt(struct inpcb *, struct ifnet *, uint32_t, uint32_t,
725 void in_pcbdetach_txrtlmt(struct inpcb *);
727 int in_pcbmodify_txrtlmt(struct inpcb *, uint32_t);
728 int in_pcbquery_txrtlmt(struct inpcb *, uint32_t *);
729 int in_pcbquery_txrlevel(struct inpcb *, uint32_t *);
730 void in_pcboutput_txrtlmt(struct inpcb *, struct ifnet *, struct mbuf *);
731 void in_pcboutput_eagain(struct inpcb *);