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
860 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
901 extern void in_losing(struct inpcb *);
902 extern void in_rtchange(struct inpcb *, int);
904 extern int in_pcbbind(struct inpcb *, struct sockaddr *, struct sockaddr *, struct proc *);
905 extern int in_pcbconnect(struct inpcb *, struct sockaddr *, struct proc *,
907 extern void in_pcbdetach(struct inpcb *);
908 extern void in_pcbdispose(struct inpcb *);
909 extern void in_pcbdisconnect(struct inpcb *);
910 extern int in_pcbinshash(struct inpcb *, struct sockaddr *, int);
911 extern int in_pcbladdr(struct inpcb *, struct sockaddr *, struct in_addr *,
913 extern struct inpcb *in_pcblookup_local(struct inpcbinfo *, struct in_addr,
915 extern struct inpcb *in_pcblookup_local_and_cleanup(struct inpcbinfo *,
917 extern struct inpcb *in_pcblookup_hash(struct inpcbinfo *, struct in_addr,
919 extern struct inpcb *in_pcblookup_hash_try(struct inpcbinfo *pcbinfo,
925 void (*)(struct inpcb *, int));
926 extern void in_pcbrehash(struct inpcb *);
930 extern int in_pcb_checkstate(struct inpcb *, int, int);
931 extern void in_pcbremlists(struct inpcb *);
932 extern void inpcb_to_compat(struct inpcb *, struct inpcb_compat *);
934 extern void inpcb_to_xinpcb64(struct inpcb *, struct xinpcb64 *);
946 extern void inp_route_copyout(struct inpcb *, struct route *);
947 extern void inp_route_copyin(struct inpcb *, struct route *);
948 extern int inp_bindif(struct inpcb *, unsigned int, struct ifnet **);
949 extern int inp_bindtodevice(struct inpcb *, const char *);
950 extern void inp_set_nocellular(struct inpcb *);
951 extern void inp_clear_nocellular(struct inpcb *);
952 extern void inp_set_noexpensive(struct inpcb *);
953 extern void inp_set_noconstrained(struct inpcb *);
954 extern void inp_set_awdl_unrestricted(struct inpcb *);
955 extern boolean_t inp_get_awdl_unrestricted(struct inpcb *);
956 extern void inp_clear_awdl_unrestricted(struct inpcb *);
957 extern void inp_set_intcoproc_allowed(struct inpcb *);
958 extern boolean_t inp_get_intcoproc_allowed(struct inpcb *);
959 extern void inp_clear_intcoproc_allowed(struct inpcb *);
960 extern void inp_set_management_allowed(struct inpcb *);
961 extern boolean_t inp_get_management_allowed(struct inpcb *);
962 extern void inp_clear_management_allowed(struct inpcb *);
963 extern void inp_set_ultra_constrained_allowed(struct inpcb *);
965 extern void inp_update_necp_policy(struct inpcb *, struct sockaddr *, struct sockaddr *, u_int);
966 extern void inp_set_want_app_policy(struct inpcb *);
967 extern void inp_clear_want_app_policy(struct inpcb *);
969 extern u_int32_t inp_calc_flowhash(struct inpcb *);
970 extern void inp_reset_fc_state(struct inpcb *);
971 extern int inp_set_fc_state(struct inpcb *, int advcode);
972 extern void inp_fc_unthrottle_tcp(struct inpcb *);
973 extern void inp_fc_throttle_tcp(struct inpcb *inp);
975 extern int inp_flush(struct inpcb *, int);
977 extern void inp_get_soprocinfo(struct inpcb *, struct so_procinfo *);
978 extern int inp_update_policy(struct inpcb *);
979 extern boolean_t inp_restricted_recv(struct inpcb *, struct ifnet *);
980 extern boolean_t inp_restricted_send(struct inpcb *, struct ifnet *);
983 extern void inp_count_sndbytes(struct inpcb *, u_int32_t);
988 extern void inp_get_activity_bitmap(struct inpcb *inp, activity_bitmap_t *b);
1003 extern void in_pcb_check_management_entitled(struct inpcb *inp);
1004 extern void in_pcb_check_ultra_constrained_entitled(struct inpcb *inp);
1005 extern char *inp_snprintf_tuple(struct inpcb *, char *__sized_by(buflen) buf, size_t buflen);
1006 extern int in_pcbsetport(struct in_addr, struct sockaddr *, struct inpcb *, struct proc *, int);