Home
last modified time | relevance | path

Searched refs:inpcb (Results 1 – 25 of 73) sorted by relevance

123

/xnu-11215/bsd/netinet/
H A Din_pcb.h111 LIST_HEAD(inpcbhead, inpcb);
164 struct inpcb { struct
352 struct inpcb {
429 struct inpcb xi_inp;
565 #define in6pcb inpcb
847 extern void in_losing(struct inpcb *);
853 extern void in_pcbdetach(struct inpcb *);
854 extern void in_pcbdispose(struct inpcb *);
868 void (*)(struct inpcb *, int));
869 extern void in_pcbrehash(struct inpcb *);
[all …]
H A Din_pcb.c306 static int infc_cmp(const struct inpcb *, const struct inpcb *);
800 struct inpcb *
2373 struct inpcb *
2599 struct inpcb *
4219 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_incr_sndbytes_total()
4231 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_decr_sndbytes_total()
4246 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_incr_sndbytes_unsent()
4262 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_decr_sndbytes_unsent()
4346 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_update_last_owner()
4369 struct inpcb *inp = (struct inpcb *)so->so_pcb; in inp_copy_last_owner()
[all …]
H A Dudp_log.h64 extern void udp_log_bind(struct inpcb *inp, int error);
65 extern void udp_log_connect(struct inpcb *inp, int error);
66 extern void udp_log_connection_summary(struct inpcb *inp);
67 extern void udp_log_message(const char *func_name, int line_no, struct inpcb *inp, const char *form…
70 udp_is_log_enabled(struct inpcb *inp, uint32_t req_flags) in udp_is_log_enabled()
H A Draw_ip.c261 struct inpcb *inp; in rip_input_inner()
262 struct inpcb *last = NULL; in rip_input_inner()
390 struct inpcb *inp = sotoinpcb(so); in rip_output()
969 struct inpcb *inp; in rip_attach()
991 inp = (struct inpcb *)so->so_pcb; in rip_attach()
1002 struct inpcb *inp; in rip_detach()
1032 struct inpcb *inp = sotoinpcb(so); in rip_bind()
1082 struct inpcb *inp = sotoinpcb(so); in rip_connect()
1126 struct inpcb *inp = sotoinpcb(so); in rip_send()
1211 struct inpcb *inp, **inp_list;
[all …]
H A Dudp_log.c185 udp_log_port_allowed(struct inpcb *inp) in udp_log_port_allowed()
206 udp_log_common(struct inpcb *inp, const char *event, int error) in udp_log_common()
258 udp_log_bind(struct inpcb *inp, int error) in udp_log_bind()
281 udp_log_connect(struct inpcb *inp, int error) in udp_log_connect()
299 udp_log_connection_summary(struct inpcb *inp) in udp_log_connection_summary()
398 udp_log_message(const char *func_name, int line_no, struct inpcb *inp, const char *format, ...) in udp_log_message()
H A Dtcp_usrreq.c158 struct inpcb *inp = sotoinpcb(so); in tcp_usr_attach()
194 struct inpcb *inp = sotoinpcb(so); in tcp_usr_detach()
255 struct inpcb *inp = sotoinpcb(so); in tcp_usr_bind()
1099 struct inpcb *inp = tp->t_inpcb; in mpkl_tcp_send()
1937 struct inpcb *inp = NULL; in tcp_fill_info_for_info_tuple()
2142 struct inpcb *inp = (struct inpcb*)so->so_pcb; in tcp_lookup_peer_pid_locked()
2148 struct inpcb *finp = NULL; in tcp_lookup_peer_pid_locked()
2186 struct inpcb *inp; in tcp_clear_keep_alive_offload()
2221 struct inpcb *inp; in tcp_set_keep_alive_offload()
2278 struct inpcb *inp; in tcp_ctloutput()
[all …]
H A Dudp_usrreq.c290 struct inpcb *inp; in udp_input()
1021 struct inpcb *inp; in udp_ctloutput()
2251 struct inpcb *inp; in udp_abort()
2267 struct inpcb *inp; in udp_attach()
2295 struct inpcb *inp; in udp_bind()
2333 struct inpcb *inp; in udp_connect()
2497 struct inpcb *inp; in udp_detach()
2525 struct inpcb *inp; in udp_disconnect()
2572 struct inpcb *inp; in udp_send()
2614 struct inpcb *inp; in udp_shutdown()
[all …]
H A Dtcp_log.c220 struct inpcb *inp = tp->t_inpcb; in tcp_log_rtt_info()
254 struct inpcb *inp = tp->t_inpcb; in tcp_log_rt_rtt()
335 struct inpcb *inp = tp->t_inpcb; in tcp_log_keepalive()
376 struct inpcb *inp; in tcp_log_connection()
460 struct inpcb *inp = tp->t_inpcb; in tcp_log_listen()
565 struct inpcb *inp; in tcp_log_connection_summary()
755 struct inpcb *inp; in tcp_log_drop_pcb()
997 struct inpcb *inp; in tcp_log_message()
1055 struct inpcb *inp; in tcp_log_fsw_flow()
1112 struct inpcb *inp; in tcp_log_state_change()
[all …]
H A Din_pcblist.c206 inpcb_to_xinpcb_n(struct inpcb *inp, struct xinpcb_n *xinp) in inpcb_to_xinpcb_n()
297 struct inpcb *inp, **inp_list = NULL; in get_pcblist_n()
379 inp_list = kalloc_type(struct inpcb *, sz, Z_WAITOK); in get_pcblist_n()
479 kfree_type(struct inpcb *, sz, inp_list); in get_pcblist_n()
490 struct inpcb *inp; in inpcb_get_if_ports_used()
774 struct inpcb *inp; in inpcb_count_opportunistic()
822 struct inpcb *inp; in inpcb_find_anypcb_byaddr()
881 struct inpcb *inp; in shutdown_sockets_on_interface_proc_callout()
894 inp = (struct inpcb *)so->so_pcb; in shutdown_sockets_on_interface_proc_callout()
950 struct inpcb *inp; in inp_limit_companion_link()
[all …]
H A Dtcp_subr.c288 struct inpcb inp;
1326 struct inpcb *inp; in tcp_create_ifnet_stats_per_flow()
1779 struct inpcb *inp; in tcp_drain()
1869 struct inpcb *inp; in get_tcp_inp_list()
2022 struct inpcb *inp;
2206 struct inpcb *inp;
2429 struct inpcb *inp; in tcp_ctlinput()
2563 struct inpcb *inp; in tcp6_ctlinput()
3208 struct inpcb *inp; in ipsec_hdrsiz_tcp()
3470 struct inpcb *inp; in tcp_set_tso()
[all …]
H A Dip_var.h313 struct inpcb;
360 extern int inp_getmoptions(struct inpcb *, struct sockopt *);
361 extern int inp_setmoptions(struct inpcb *, struct sockopt *);
379 extern int ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
H A Din_var.h534 struct inpcb;
558 extern int imo_clone(struct inpcb *, struct inpcb *);
588 extern int inp_join_group(struct inpcb *, struct sockopt *);
589 extern int inp_leave_group(struct inpcb *, struct sockopt *);
H A Dtcp_log.h108 extern void tcp_log_bind(struct inpcb *inp, const char *event, int error);
113 struct inpcb *inp; in tcp_is_log_enabled()
160 struct inpcb *inp; in tcp_log_summary_needed()
H A Dinp_log.h38 void inp_log_addresses(struct inpcb *inp, char *__sized_by(lbuflen) lbuf,
H A Dtcp_ccdbg.c87 struct inpcb *__single inp = tp->t_inpcb; in tcp_ccdbg_trace()
145 DTRACE_TCP5(cc, void, NULL, struct inpcb *, inp, in tcp_ccdbg_trace()
/xnu-11215/bsd/netinet6/
H A Din6_pcb.h98 extern void in6_losing(struct inpcb *);
100 extern int in6_pcbconnect(struct inpcb *, struct sockaddr *, struct proc *);
101 extern void in6_pcbdetach(struct inpcb *);
102 extern void in6_pcbdisconnect(struct inpcb *);
103 extern int in6_pcbladdr(struct inpcb *, struct sockaddr *,
105 extern struct inpcb *in6_pcblookup_local(struct inpcbinfo *, struct in6_addr *,
107 extern struct inpcb *in6_pcblookup_hash(struct inpcbinfo *, struct in6_addr *,
113 extern void in6_rtchange(struct inpcb *, int);
122 extern int in6_pcbsetport(struct in6_addr *, struct sockaddr *, struct inpcb *,
125 extern void in6p_route_copyout(struct inpcb *, struct route_in6 *);
[all …]
H A Dipsec6.h63 struct inpcb;
66 extern int ipsec6_delete_pcbpolicy(struct inpcb *);
67 extern int ipsec6_set_policy(struct inpcb *inp, int optname,
69 extern int ipsec6_in_reject(struct mbuf *, struct inpcb *);
73 extern size_t ipsec6_hdrsiz(struct mbuf *, u_int8_t, struct inpcb *);
H A Din6_pcb.c154 static struct inpcb *
158 struct inpcb *__single inp; in in6_pcblookup_local_and_cleanup()
368 struct inpcb *__single t; in in6_pcbbind()
729 struct inpcb *__single pcb; in in6_pcbconnect()
1010 struct inpcb *__single inp; in in6_getsockaddr()
1031 struct inpcb *__single inp; in in6_getsockaddr_s()
1052 struct inpcb *__single inp; in in6_getpeeraddr()
1231 struct inpcb *
1235 struct inpcb *__single inp; in in6_pcblookup_local()
1377 struct inpcb *__single inp; in in6_pcblookup_hash_exists()
[all …]
H A Dip6_var.h522 struct inpcb;
567 extern struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *,
569 extern int ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **);
571 extern void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t *);
585 extern int ip6_optlen(struct inpcb *);
613 struct ip6_pktopts *, struct inpcb *, struct route_in6 *,
H A Dipsec.h378 struct inpcb;
383 extern int ipsec4_set_policy(struct inpcb *inp, int optname,
385 extern int ipsec4_delete_pcbpolicy(struct inpcb *);
387 extern int ipsec4_in_reject(struct mbuf *, struct inpcb *);
394 extern size_t ipsec4_hdrsiz(struct mbuf *, u_int8_t, struct inpcb *);
H A Dudp6_usrreq.c247 struct inpcb *__single in6p; in udp6_input()
690 struct inpcb *__single in6p; in udp6_ctlinput()
794 struct inpcb *__single inp; in udp6_abort()
810 struct inpcb *__single inp; in udp6_attach()
830 inp = (struct inpcb *)so->so_pcb; in udp6_attach()
853 struct inpcb *__single inp; in udp6_bind()
905 struct inpcb *__single inp; in udp6_connect()
1071 struct inpcb *__single inp; in udp6_detach()
1087 struct inpcb *__single inp; in udp6_disconnect()
1144 struct inpcb *__single inp; in udp6_send()
[all …]
H A Draw_ip6.c158 struct inpcb *__single in6p; in rip6_input()
159 struct inpcb *__single last = 0; in rip6_input()
318 void (*notify)(struct inpcb *, int) = in6_rtchange; in rip6_ctlinput()
370 struct inpcb *__single in6p; in rip6_output()
998 struct inpcb *__single inp; in rip6_attach()
1017 inp = (struct inpcb *)so->so_pcb; in rip6_attach()
1031 struct inpcb *__single inp; in rip6_detach()
1056 struct inpcb *__single inp = sotoinpcb(so); in rip6_disconnect()
1070 struct inpcb *__single inp = sotoinpcb(so); in rip6_bind()
1134 struct inpcb *__single inp = sotoinpcb(so); in rip6_connect()
[all …]
H A Dtcp6_var.h111 struct rtentry *tcp_rtlookup6(struct inpcb *, unsigned int);
/xnu-11215/bsd/net/
H A Dnecp.h1434 extern int necp_set_socket_resolver_signature(struct inpcb *inp, struct sockopt *sopt);
1435 extern int necp_get_socket_resolver_signature(struct inpcb *inp, struct sockopt *sopt);
1436 extern bool necp_socket_has_resolver_signature(struct inpcb *inp);
1438 extern void necp_inpcb_remove_cb(struct inpcb *inp);
1439 extern void necp_inpcb_dispose(struct inpcb *inp);
1444 extern bool necp_socket_should_use_flow_divert(struct inpcb *inp);
1447 extern bool necp_socket_should_rescope(struct inpcb *inp);
1448 extern u_int necp_socket_get_rescope_if_index(struct inpcb *inp);
1449 extern u_int32_t necp_socket_get_effective_mtu(struct inpcb *inp, u_int32_t current_mtu);
1457 extern bool necp_socket_is_allowed_to_send_recv_v4(struct inpcb *inp, u_int16_t local_port,
[all …]
H A Dkext_net.h50 struct inpcb;
53 extern int sflt_permission_check(struct inpcb *inp);

123