Lines Matching refs:inpcb
112 LIST_HEAD(inpcbhead, inpcb);
160 struct inpcb { struct
162 LIST_ENTRY(inpcb) inp_hash; /* hash list */
163 LIST_ENTRY(inpcb) inp_list; /* list for all PCBs of this proto */
167 LIST_ENTRY(inpcb) inp_portlist; /* list for this PCB's local port */ argument
168 RB_ENTRY(inpcb) infc_link; /* link for flowhash RB tree */
404 struct inpcb {
406 _INPCB_LIST_ENTRY(inpcb) inp_hash; /* hash list */
411 _INPCB_LIST_ENTRY(inpcb) inp_list; /* list for all peer PCBs */
417 _INPCB_LIST_ENTRY(inpcb) inp_portlist; /* this PCB's local port list */
481 struct inpcb xi_inp;
617 #define in6pcb inpcb
879 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
920 extern void in_losing(struct inpcb *);
921 extern void in_rtchange(struct inpcb *, int);
923 extern int in_pcbbind(struct inpcb *, struct sockaddr *, struct sockaddr *, struct proc *);
924 extern int in_pcbconnect(struct inpcb *, struct sockaddr *, struct proc *,
926 extern void in_pcbdetach(struct inpcb *);
927 extern void in_pcbdispose(struct inpcb *);
928 extern void in_pcbdisconnect(struct inpcb *);
929 extern int in_pcbinshash(struct inpcb *, struct sockaddr *, int);
930 extern int in_pcbladdr(struct inpcb *, struct sockaddr *, struct in_addr *,
932 extern struct inpcb *in_pcblookup_local(struct inpcbinfo *, struct in_addr,
934 extern struct inpcb *in_pcblookup_local_and_cleanup(struct inpcbinfo *,
936 extern struct inpcb *in_pcblookup_hash(struct inpcbinfo *, struct in_addr,
938 extern struct inpcb *in_pcblookup_hash_try(struct inpcbinfo *pcbinfo,
944 void (*)(struct inpcb *, int));
945 extern void in_pcbrehash(struct inpcb *);
949 extern int in_pcb_checkstate(struct inpcb *, int, int);
950 extern void in_pcbremlists(struct inpcb *);
951 extern void inpcb_to_compat(struct inpcb *, struct inpcb_compat *);
953 extern void inpcb_to_xinpcb64(struct inpcb *, struct xinpcb64 *);
965 extern void inp_route_copyout(struct inpcb *, struct route *);
966 extern void inp_route_copyin(struct inpcb *, struct route *);
967 extern int inp_bindif(struct inpcb *, unsigned int, struct ifnet **);
968 extern int inp_bindtodevice(struct inpcb *, const char *);
969 extern void inp_set_nocellular(struct inpcb *);
970 extern void inp_clear_nocellular(struct inpcb *);
971 extern void inp_set_noexpensive(struct inpcb *);
972 extern void inp_set_noconstrained(struct inpcb *);
973 extern void inp_set_awdl_unrestricted(struct inpcb *);
974 extern boolean_t inp_get_awdl_unrestricted(struct inpcb *);
975 extern void inp_clear_awdl_unrestricted(struct inpcb *);
976 extern void inp_set_intcoproc_allowed(struct inpcb *);
977 extern boolean_t inp_get_intcoproc_allowed(struct inpcb *);
978 extern void inp_clear_intcoproc_allowed(struct inpcb *);
979 extern void inp_set_management_allowed(struct inpcb *);
980 extern boolean_t inp_get_management_allowed(struct inpcb *);
981 extern void inp_clear_management_allowed(struct inpcb *);
982 extern void inp_set_ultra_constrained_allowed(struct inpcb *);
984 extern void inp_update_necp_policy(struct inpcb *, struct sockaddr *, struct sockaddr *, u_int);
985 extern void inp_set_want_app_policy(struct inpcb *);
986 extern void inp_clear_want_app_policy(struct inpcb *);
988 extern u_int32_t inp_calc_flowhash(struct inpcb *);
989 extern void inp_reset_fc_state(struct inpcb *);
990 extern int inp_set_fc_state(struct inpcb *, int advcode);
991 extern void inp_fc_unthrottle_tcp(struct inpcb *);
992 extern void inp_fc_throttle_tcp(struct inpcb *inp);
994 extern int inp_flush(struct inpcb *, int);
996 extern void inp_get_soprocinfo(struct inpcb *, struct so_procinfo *);
997 extern int inp_update_policy(struct inpcb *);
998 extern boolean_t inp_restricted_recv(struct inpcb *, struct ifnet *);
999 extern boolean_t inp_restricted_send(struct inpcb *, struct ifnet *);
1002 extern void inp_count_sndbytes(struct inpcb *, u_int32_t);
1007 extern void inp_get_activity_bitmap(struct inpcb *inp, activity_bitmap_t *b);
1022 extern void in_pcb_check_management_entitled(struct inpcb *inp);
1023 extern void in_pcb_check_ultra_constrained_entitled(struct inpcb *inp);
1024 extern char *inp_snprintf_tuple(struct inpcb *, char *__sized_by(buflen) buf, size_t buflen);
1025 extern int in_pcbsetport(struct in_addr, struct sockaddr *, struct inpcb *, struct proc *, int);