Home
last modified time | relevance | path

Searched refs:sockopt (Results 1 – 25 of 54) sorted by relevance

123

/xnu-8020.140.41/bsd/net/
H A Dkext_net.h49 struct sockopt;
69 extern int sflt_setsockopt(struct socket *so, struct sockopt *sopt);
70 extern int sflt_getsockopt(struct socket *so, struct sockopt *sopt);
H A Dndrv.c93 static int ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt);
97 static int ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt);
98 static int ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt);
532 ndrv_ctloutput(struct socket *so, struct sockopt *sopt) in ndrv_ctloutput()
668 ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_setspec()
914 ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_do_add_multicast()
964 ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_do_remove_multicast()
/xnu-8020.140.41/bsd/netinet/
H A Dip_var.h269 struct sockopt;
313 extern int inp_getmoptions(struct inpcb *, struct sockopt *);
314 extern int inp_setmoptions(struct inpcb *, struct sockopt *);
322 extern int ip_ctloutput(struct socket *, struct sockopt *sopt);
344 extern int rip_ctloutput(struct socket *, struct sockopt *);
H A Dflow_divert.h96 errno_t flow_divert_token_set(struct socket *so, struct sockopt *sopt);
97 errno_t flow_divert_token_get(struct socket *so, struct sockopt *sopt);
H A Din_var.h527 extern int inp_join_group(struct inpcb *, struct sockopt *);
528 extern int inp_leave_group(struct inpcb *, struct sockopt *);
H A Din_mcast.c138 static int inp_get_source_filters(struct inpcb *, struct sockopt *);
142 static int inp_block_unblock_source(struct inpcb *, struct sockopt *);
143 static int inp_set_multicast_if(struct inpcb *, struct sockopt *);
144 static int inp_set_source_filters(struct inpcb *, struct sockopt *);
1451 inp_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in inp_block_unblock_source()
1713 inp_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in inp_get_source_filters()
1885 inp_getmoptions(struct inpcb *inp, struct sockopt *sopt) in inp_getmoptions()
2081 inp_join_group(struct inpcb *inp, struct sockopt *sopt) in inp_join_group()
2409 inp_leave_group(struct inpcb *inp, struct sockopt *sopt) in inp_leave_group()
2656 inp_set_multicast_if(struct inpcb *inp, struct sockopt *sopt) in inp_set_multicast_if()
[all …]
H A Dudp_var.h167 extern int udp_ctloutput(struct socket *, struct sockopt *);
H A Dmptcp_var.h583 extern int mptcp_ctloutput(struct socket *, struct sockopt *);
606 extern struct mptopt *mptcp_sopt_find(struct mptses *, struct sockopt *);
H A Din_proto.c111 extern int icmp_dgram_ctloutput(struct socket *, struct sockopt *);
H A Dmptcp_usrreq.c80 static int mptcp_usr_socheckopt(struct socket *, struct sockopt *);
1366 mptcp_usr_socheckopt(struct socket *mp_so, struct sockopt *sopt) in mptcp_usr_socheckopt()
1571 mptcp_setopt(struct mptses *mpte, struct sockopt *sopt) in mptcp_setopt()
2043 mptcp_getopt(struct mptses *mpte, struct sockopt *sopt) in mptcp_getopt()
2147 mptcp_ctloutput(struct socket *mp_so, struct sockopt *sopt) in mptcp_ctloutput()
/xnu-8020.140.41/bsd/sys/
H A Dun.h104 struct sockopt;
108 int uipc_ctloutput(struct socket *so, struct sockopt *sopt);
H A Dprotosw.h145 struct sockopt;
184 (struct socket *, struct sockopt *);
270 (struct socket *, struct sockopt *);
544 int (*pru_socheckopt)(struct socket *, struct sockopt *);
574 extern int pru_socheckopt_null(struct socket *, struct sockopt *);
H A Dsocketvar.h558 struct sockopt { struct
767 extern int sooptcopyin(struct sockopt *sopt, void *data, size_t len,
770 extern int sooptcopyout(struct sockopt *sopt, void *data, size_t len)
922 extern int sogetoptlock(struct socket *so, struct sockopt *sopt, int);
923 extern int sosetoptlock(struct socket *so, struct sockopt *sopt, int);
1021 extern int sogetopt_tcdbg(struct socket *, struct sockopt *);
1028 extern int soopt_getm(struct sockopt *sopt, struct mbuf **mp);
1029 extern int soopt_mcopyin(struct sockopt *sopt, struct mbuf *m);
1030 extern int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m);
H A Dkernel_types.h129 typedef struct sockopt* sockopt_t;
/xnu-8020.140.41/bsd/netinet6/
H A Dip6_var.h509 struct sockopt;
516 extern int icmp6_ctloutput(struct socket *, struct sockopt *);
517 extern int icmp6_dgram_ctloutput(struct socket *, struct sockopt *);
565 extern int ip6_ctloutput(struct socket *, struct sockopt *);
566 extern int ip6_raw_ctloutput(struct socket *, struct sockopt *);
584 extern int rip6_ctloutput(struct socket *so, struct sockopt *sopt);
H A Din6_mcast.c128 static int in6p_get_source_filters(struct inpcb *, struct sockopt *);
130 static int in6p_join_group(struct inpcb *, struct sockopt *);
131 static int in6p_leave_group(struct inpcb *, struct sockopt *);
135 static int in6p_block_unblock_source(struct inpcb *, struct sockopt *);
136 static int in6p_set_multicast_if(struct inpcb *, struct sockopt *);
137 static int in6p_set_source_filters(struct inpcb *, struct sockopt *);
1397 in6p_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in in6p_block_unblock_source()
1626 in6p_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in in6p_get_source_filters()
1806 ip6_getmoptions(struct inpcb *inp, struct sockopt *sopt) in ip6_getmoptions()
1967 in6p_join_group(struct inpcb *inp, struct sockopt *sopt) in in6p_join_group()
[all …]
H A Dip6protosw.h173 (struct socket *, struct sockopt *);
H A Din6_var.h1059 struct sockopt;
1151 extern int ip6_getmoptions(struct inpcb *, struct sockopt *);
1152 extern int ip6_setmoptions(struct inpcb *, struct sockopt *);
/xnu-8020.140.41/security/
H A Dmac_socket.c287 struct sockopt *sopt) in mac_socket_check_setsockopt()
305 struct sockopt *sopt) in mac_socket_check_getsockopt()
/xnu-8020.140.41/bsd/skywalk/nexus/
H A Dnexus.c56 static int nxctl_get_nexus_prov_list(struct nxctl *, struct sockopt *);
57 static int nxctl_get_nexus_prov_entry(struct nxctl *, struct sockopt *);
58 static int nxctl_get_nexus_list(struct nxctl *, struct sockopt *);
59 static int nxctl_nexus_bind(struct nxctl *, struct sockopt *);
60 static int nxctl_nexus_unbind(struct nxctl *, struct sockopt *);
61 static int nxctl_nexus_config(struct nxctl *, struct sockopt *);
62 static int nxctl_get_channel_list(struct nxctl *, struct sockopt *);
261 nxctl_set_opt(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_set_opt()
294 nxctl_get_opt(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_get_opt()
336 nxctl_get_nexus_prov_list(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_get_nexus_prov_list()
[all …]
H A Dnexus_syscalls.c398 struct sockopt sopt; in __nexus_get_opt()
461 struct sockopt sopt; in __nexus_set_opt()
H A Dnexus_kern.c1222 struct sockopt sopt; in kern_nexus_controller_bind_provider_instance()
1258 struct sockopt sopt; in kern_nexus_controller_unbind_provider_instance()
1289 struct sockopt sopt; in kern_nexus_controller_read_provider_attr()
1385 struct sockopt sopt; in _kern_nexus_ifattach()
1460 struct sockopt sopt; in kern_nexus_ifdetach()
1632 struct sockopt sopt; in kern_nexus_set_if_netem_params()
1663 struct sockopt sopt; in _kern_nexus_flow_config()
H A Dnexus_var.h496 extern int nxctl_get_opt(struct nxctl *, struct sockopt *);
497 extern int nxctl_set_opt(struct nxctl *, struct sockopt *);
/xnu-8020.140.41/bsd/skywalk/channel/
H A Dchannel.c92 struct sockopt *);
94 struct sockopt *);
98 struct sockopt *sopt);
2235 ch_set_opt(struct kern_channel *ch, struct sockopt *sopt) in ch_set_opt()
2266 ch_get_opt(struct kern_channel *ch, struct sockopt *sopt) in ch_get_opt()
2294 struct sockopt *sopt) in ch_configure_interface_advisory_event()
2370 struct sockopt *sopt) in ch_set_lowat_thresh()
2423 struct sockopt *sopt) in ch_get_lowat_thresh()
/xnu-8020.140.41/bsd/kern/
H A Dkpi_socket.c516 struct sockopt sopt; in sock_getsockopt()
545 struct sockopt sopt; in sock_setsockopt()
586 struct sockopt sopt; in sock_settclassopt()
671 struct sockopt sopt; in sock_gettclassopt()

123