Lines Matching refs:inpcb
66 CK_LIST_HEAD(inpcbhead, inpcb);
231 struct inpcb { struct
233 CK_LIST_ENTRY(inpcb) inp_hash; /* [w](h/i) [r](e/i) hash list */
234 CK_LIST_ENTRY(inpcb) inp_pcbgrouphash; /* (g/i) hash list */
238 #define inp_zero_size (sizeof(struct inpcb) - \ argument
239 offsetof(struct inpcb, inp_start_zero))
240 TAILQ_ENTRY(inpcb) inp_hpts; /* pacing out queue next lock(b) */
275 TAILQ_ENTRY(inpcb) inp_input; /* pacing in queue next lock(b) */ argument
278 CK_LIST_ENTRY(inpcb) inp_pcbgroup_wild; /* (g/i/h) group wildcard entry */
316 CK_LIST_ENTRY(inpcb) inp_portlist; /* (i/h) */ argument
325 CK_LIST_ENTRY(inpcb) inp_list; /* (p/l) list for all PCBs for proto */ argument
397 void in_pcbtoxinpcb(const struct inpcb *, struct xinpcb *);
412 struct inpcb *il_inp_list[0];
575 struct inpcb *il_inp[]; /* (h) */
601 void inp_wlock(struct inpcb *);
602 void inp_wunlock(struct inpcb *);
603 void inp_rlock(struct inpcb *);
604 void inp_runlock(struct inpcb *);
607 void inp_lock_assert(struct inpcb *);
608 void inp_unlock_assert(struct inpcb *);
614 void inp_apply_all(void (*func)(struct inpcb *, void *), void *arg);
615 int inp_ip_tos_get(const struct inpcb *inp);
616 void inp_ip_tos_set(struct inpcb *inp, int val);
618 inp_inpcbtosocket(struct inpcb *inp);
620 inp_inpcbtotcpcb(struct inpcb *inp);
621 void inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp,
623 int inp_so_options(const struct inpcb *inp);
768 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
814 int in_pcbbind_check_bindmulti(const struct inpcb *ni,
815 const struct inpcb *oi);
820 in_pcbgroup_byinpcb(struct inpcb *);
827 void in_pcbgroup_remove(struct inpcb *);
828 void in_pcbgroup_update(struct inpcb *);
829 void in_pcbgroup_update_mbuf(struct inpcb *, struct mbuf *);
833 int in_pcbbind(struct inpcb *, struct sockaddr *, struct ucred *);
834 int in_pcb_lport_dest(struct inpcb *inp, struct sockaddr *lsa,
837 int in_pcb_lport(struct inpcb *, struct in_addr *, u_short *,
839 int in_pcbbind_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
841 int in_pcbconnect(struct inpcb *, struct sockaddr *, struct ucred *);
842 int in_pcbconnect_mbuf(struct inpcb *, struct sockaddr *, struct ucred *,
844 int in_pcbconnect_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
845 u_short *, in_addr_t *, u_short *, struct inpcb **,
847 void in_pcbdetach(struct inpcb *);
848 void in_pcbdisconnect(struct inpcb *);
849 void in_pcbdrop(struct inpcb *);
850 void in_pcbfree(struct inpcb *);
851 int in_pcbinshash(struct inpcb *);
852 int in_pcbinshash_mbuf(struct inpcb *, struct mbuf *);
853 int in_pcbladdr(struct inpcb *, struct in_addr *, struct in_addr *,
855 int in_pcblbgroup_numa(struct inpcb *, int arg);
856 struct inpcb *
859 struct inpcb *
862 struct inpcb *
866 int, struct inpcb *(*)(struct inpcb *, int));
867 void in_pcbref(struct inpcb *);
868 void in_pcbrehash(struct inpcb *);
869 void in_pcbrehash_mbuf(struct inpcb *, struct mbuf *);
870 int in_pcbrele(struct inpcb *);
871 int in_pcbrele_rlocked(struct inpcb *);
872 int in_pcbrele_wlocked(struct inpcb *);
874 void in_losing(struct inpcb *);
883 in_pcboutput_txrtlmt_locked(struct inpcb *, struct ifnet *,
885 int in_pcbattach_txrtlmt(struct inpcb *, struct ifnet *, uint32_t, uint32_t,
887 void in_pcbdetach_txrtlmt(struct inpcb *);
889 int in_pcbmodify_txrtlmt(struct inpcb *, uint32_t);
890 int in_pcbquery_txrtlmt(struct inpcb *, uint32_t *);
891 int in_pcbquery_txrlevel(struct inpcb *, uint32_t *);
892 void in_pcboutput_txrtlmt(struct inpcb *, struct ifnet *, struct mbuf *);
893 void in_pcboutput_eagain(struct inpcb *);