Lines Matching refs:inpcb

166 static void inp_update_cellular_policy(struct inpcb *, boolean_t);
168 static void inp_update_necp_want_app_policy(struct inpcb *, boolean_t);
310 static int infc_cmp(const struct inpcb *, const struct inpcb *);
315 static struct inpcb *inp_fc_getinp(u_int32_t, u_int32_t);
317 static void inp_fc_feedback(struct inpcb *);
318 extern void tcp_remove_from_time_wait(struct inpcb *inp);
322 RB_HEAD(inp_fc_tree, inpcb) inp_fc_tree;
323 RB_PROTOTYPE(inp_fc_tree, inpcb, infc_link, infc_cmp);
324 RB_GENERATE(inp_fc_tree, inpcb, infc_link, infc_cmp);
330 struct inpcb key_inp;
603 inp_snprintf_tuple(struct inpcb *inp, char *__sized_by(buflen) buf, size_t buflen) in inp_snprintf_tuple()
634 in_pcb_check_management_entitled(struct inpcb *inp) in in_pcb_check_management_entitled()
671 in_pcb_check_ultra_constrained_entitled(struct inpcb *inp) in in_pcb_check_ultra_constrained_entitled()
697 struct inpcb *inp; in in_pcballoc()
713 inp = __unsafe_forge_single(struct inpcb *, addr); in in_pcballoc()
760 struct inpcb *
764 struct inpcb *inp; in in_pcblookup_local_and_cleanup()
828 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct sockaddr *remote, struct proc *p) in in_pcbbind()
986 struct inpcb *t; in in_pcbbind()
1532 in_pcbladdr(struct inpcb *inp, struct sockaddr *nam, struct in_addr *laddr, in in_pcbladdr()
1827 in_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct proc *p, in in_pcbconnect()
1832 struct inpcb *pcb; in in_pcbconnect()
1927 in_pcbdisconnect(struct inpcb *inp) in in_pcbdisconnect()
1964 in_pcbdetach(struct inpcb *inp) in in_pcbdetach()
2069 in_pcbdispose(struct inpcb *inp) in in_pcbdispose()
2154 struct inpcb *inp; in in_getsockaddr()
2180 struct inpcb *inp; in in_getsockaddr_s()
2200 struct inpcb *inp; in in_getpeeraddr()
2224 int errno, void (*notify)(struct inpcb *, int)) in in_pcbnotifyall() argument
2226 struct inpcb *inp; in in_pcbnotifyall()
2256 in_losing(struct inpcb *inp) in in_losing()
2301 in_rtchange(struct inpcb *inp, int errno) in in_rtchange()
2331 struct inpcb *
2335 struct inpcb *inp; in in_pcblookup_local()
2370 struct inpcb *match = NULL; in in_pcblookup_local()
2433 struct inpcb *inp; in in_pcblookup_hash_exists()
2436 struct inpcb *local_wild = NULL; in in_pcblookup_hash_exists()
2437 struct inpcb *local_wild_mapped = NULL; in in_pcblookup_hash_exists()
2557 static struct inpcb *
2563 struct inpcb *inp; in in_pcblookup_hash_locked()
2565 struct inpcb *local_wild = NULL; in in_pcblookup_hash_locked()
2566 struct inpcb *local_wild_mapped = NULL; in in_pcblookup_hash_locked()
2667 struct inpcb *
2672 struct inpcb *inp; in in_pcblookup_hash()
2685 struct inpcb *
2690 struct inpcb *inp; in in_pcblookup_hash_try()
2715 in_pcbinshash(struct inpcb *inp, struct sockaddr *remote, int locked) in in_pcbinshash()
2833 in_pcbrehash(struct inpcb *inp) in in_pcbrehash()
2905 in_pcbremlists(struct inpcb *inp) in in_pcbremlists()
2969 in_pcb_checkstate(struct inpcb *pcb, int mode, int locked) in in_pcb_checkstate()
3082 inpcb_to_compat(struct inpcb *inp, struct inpcb_compat *inp_compat) in inpcb_to_compat()
3108 inpcb_to_xinpcb64(struct inpcb *inp, struct xinpcb64 *xinp) in inpcb_to_xinpcb64()
3155 inp_route_copyout(struct inpcb *inp, struct route *dst) in inp_route_copyout()
3173 inp_route_copyin(struct inpcb *inp, struct route *src) in inp_route_copyin()
3191 inp_bindif_common(struct inpcb *inp, struct ifnet *ifp) in inp_bindif_common()
3215 inp_bindif(struct inpcb *inp, unsigned int ifscope, struct ifnet **pifp) in inp_bindif()
3239 inp_bindtodevice(struct inpcb *inp, const char *ifname) in inp_bindtodevice()
3263 inp_set_nocellular(struct inpcb *inp) in inp_set_nocellular()
3276 inp_clear_nocellular(struct inpcb *inp) in inp_clear_nocellular()
3294 inp_set_noexpensive(struct inpcb *inp) in inp_set_noexpensive()
3303 inp_set_noconstrained(struct inpcb *inp) in inp_set_noconstrained()
3312 inp_set_awdl_unrestricted(struct inpcb *inp) in inp_set_awdl_unrestricted()
3321 inp_get_awdl_unrestricted(struct inpcb *inp) in inp_get_awdl_unrestricted()
3327 inp_clear_awdl_unrestricted(struct inpcb *inp) in inp_clear_awdl_unrestricted()
3336 inp_set_intcoproc_allowed(struct inpcb *inp) in inp_set_intcoproc_allowed()
3345 inp_get_intcoproc_allowed(struct inpcb *inp) in inp_get_intcoproc_allowed()
3351 inp_clear_intcoproc_allowed(struct inpcb *inp) in inp_clear_intcoproc_allowed()
3360 inp_set_management_allowed(struct inpcb *inp) in inp_set_management_allowed()
3370 inp_get_management_allowed(struct inpcb *inp) in inp_get_management_allowed()
3376 inp_clear_management_allowed(struct inpcb *inp) in inp_clear_management_allowed()
3385 inp_set_ultra_constrained_allowed(struct inpcb *inp) in inp_set_ultra_constrained_allowed()
3399 inp_set_want_app_policy(struct inpcb *inp) in inp_set_want_app_policy()
3408 inp_clear_want_app_policy(struct inpcb *inp) in inp_clear_want_app_policy()
3420 inp_calc_flowhash(struct inpcb *inp) in inp_calc_flowhash()
3466 struct inpcb *tmp_inp = NULL; in inp_calc_flowhash()
3522 struct inpcb *inp; in inp_flowadv()
3536 infc_cmp(const struct inpcb *inp1, const struct inpcb *inp2) in infc_cmp()
3542 static struct inpcb *
3545 struct inpcb *inp = NULL; in inp_fc_getinp()
3581 inp_fc_feedback(struct inpcb *inp) in inp_fc_feedback()
3617 inp_reset_fc_timerstat(struct inpcb *inp) in inp_reset_fc_timerstat()
3635 inp_set_fc_timerstat(struct inpcb *inp) in inp_set_fc_timerstat()
3645 inp_reset_fc_state(struct inpcb *inp) in inp_reset_fc_state()
3667 inp_set_fc_state(struct inpcb *inp, int advcode) in inp_set_fc_state()
3670 struct inpcb *tmp_inp = NULL; in inp_set_fc_state()
3722 inp_flush(struct inpcb *inp, int optval) in inp_flush()
3758 struct inpcb *inp = NULL; in inp_clear_INP_INADDR_ANY()
3769 inp_get_soprocinfo(struct inpcb *inp, struct so_procinfo *soprocinfo) in inp_get_soprocinfo()
3796 struct inpcb *inp = NULL; in inp_findinpcb_procinfo()
3822 inp_update_cellular_policy(struct inpcb *inp, boolean_t set) in inp_update_cellular_policy()
3867 inp_update_necp_want_app_policy(struct inpcb *inp, boolean_t set) in inp_update_necp_want_app_policy()
3911 inp_update_necp_policy(struct inpcb *inp, struct sockaddr *override_local_addr, struct sockaddr *ov… in inp_update_necp_policy()
3926 inp_update_policy(struct inpcb *inp) in inp_update_policy()
4012 _inp_restricted_recv(struct inpcb *inp, struct ifnet *ifp) in _inp_restricted_recv()
4080 inp_restricted_recv(struct inpcb *inp, struct ifnet *ifp) in inp_restricted_recv()
4099 _inp_restricted_send(struct inpcb *inp, struct ifnet *ifp) in _inp_restricted_send()
4156 inp_restricted_send(struct inpcb *inp, struct ifnet *ifp) in inp_restricted_send()
4171 inp_count_sndbytes(struct inpcb *inp, u_int32_t th_ack) in inp_count_sndbytes()
4199 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_incr_sndbytes_total()
4211 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_decr_sndbytes_total()
4226 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_incr_sndbytes_unsent()
4242 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_decr_sndbytes_unsent()
4271 struct inpcb *inp; in inp_update_netns_flags()
4312 inp_get_activity_bitmap(struct inpcb *inp, activity_bitmap_t *ab) in inp_get_activity_bitmap()
4321 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_update_last_owner()
4345 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_copy_last_owner()
4346 struct inpcb *head_inp = (struct inpcb *)head->so_pcb; in inp_copy_last_owner()
4380 struct inpcb *inp; in in_check_management_interface_proc_callout()
4391 inp = (struct inpcb *)so->so_pcb; in in_check_management_interface_proc_callout()
4451 struct inpcb *inp = sotoinpcb(so); in inp_enter_bind_in_progress()
4484 struct inpcb *inp = sotoinpcb(so); in inp_exit_bind_in_progress()
4502 in_pcbsetport(struct in_addr laddr, struct sockaddr *remote, struct inpcb *inp, struct proc *p, in in_pcbsetport()