Home
last modified time | relevance | path

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

123

/xnu-10063.141.1/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.c94 static int ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt);
98 static int ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt);
99 static int ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt);
531 ndrv_ctloutput(struct socket *so, struct sockopt *sopt) in ndrv_ctloutput()
665 ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_setspec()
926 ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_do_add_multicast()
1002 ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_do_remove_multicast()
H A Dnecp.h1379 extern errno_t necp_set_socket_attributes(struct inp_necp_attributes *attributes, struct sockopt *s…
1380 extern errno_t necp_get_socket_attributes(struct inp_necp_attributes *attributes, struct sockopt *s…
1382 extern int necp_set_socket_resolver_signature(struct inpcb *inp, struct sockopt *sopt);
1383 extern int necp_get_socket_resolver_signature(struct inpcb *inp, struct sockopt *sopt);
/xnu-10063.141.1/bsd/sys/
H A Dkernel_types.h114 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct __sockopt, sockopt);
167 typedef struct sockopt* sockopt_t;
179 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct sockopt, sockopt);
H A Dun.h104 struct sockopt;
108 int uipc_ctloutput(struct socket *so, struct sockopt *sopt);
H A Dprotosw.h147 struct sockopt;
186 (struct socket *, struct sockopt *);
272 (struct socket *, struct sockopt *);
544 int (*pru_socheckopt)(struct socket *, struct sockopt *);
575 extern int pru_socheckopt_null(struct socket *, struct sockopt *);
H A Dsocketvar.h587 struct sockopt { struct
801 extern int sooptcopyin(struct sockopt *sopt, void * __sized_by(len), size_t len,
804 extern int sooptcopyout(struct sockopt *sopt, void *data, size_t len)
961 extern int sogetoptlock(struct socket *so, struct sockopt *sopt, int);
962 extern int sosetoptlock(struct socket *so, struct sockopt *sopt, int);
1051 extern int sogetopt_tcdbg(struct socket *, struct sockopt *);
1058 extern int soopt_getm(struct sockopt *sopt, struct mbuf **mp);
1059 extern int soopt_mcopyin(struct sockopt *sopt, struct mbuf *m);
1060 extern int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m);
/xnu-10063.141.1/bsd/netinet/
H A Dip_var.h311 struct sockopt;
356 extern int inp_getmoptions(struct inpcb *, struct sockopt *);
357 extern int inp_setmoptions(struct inpcb *, struct sockopt *);
365 extern int ip_ctloutput(struct socket *, struct sockopt *sopt);
387 extern int rip_ctloutput(struct socket *, struct sockopt *);
H A Dflow_divert.h101 errno_t flow_divert_token_set(struct socket *so, struct sockopt *sopt);
102 errno_t flow_divert_token_get(struct socket *so, struct sockopt *sopt);
H A Din_var.h523 extern int inp_join_group(struct inpcb *, struct sockopt *);
524 extern int inp_leave_group(struct inpcb *, struct sockopt *);
H A Din_mcast.c140 static int inp_get_source_filters(struct inpcb *, struct sockopt *);
144 static int inp_block_unblock_source(struct inpcb *, struct sockopt *);
145 static int inp_set_multicast_if(struct inpcb *, struct sockopt *);
146 static int inp_set_source_filters(struct inpcb *, struct sockopt *);
1466 inp_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in inp_block_unblock_source()
1727 inp_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in inp_get_source_filters()
1899 inp_getmoptions(struct inpcb *inp, struct sockopt *sopt) in inp_getmoptions()
2095 inp_join_group(struct inpcb *inp, struct sockopt *sopt) in inp_join_group()
2424 inp_leave_group(struct inpcb *inp, struct sockopt *sopt) in inp_leave_group()
2681 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.h550 extern int mptcp_ctloutput(struct socket *, struct sockopt *);
573 extern struct mptopt *mptcp_sopt_find(struct mptses *, struct sockopt *);
H A Din_proto.c111 extern int icmp_dgram_ctloutput(struct socket *, struct sockopt *);
/xnu-10063.141.1/bsd/netinet6/
H A Dip6_var.h512 struct sockopt;
519 extern int icmp6_ctloutput(struct socket *, struct sockopt *);
520 extern int icmp6_dgram_ctloutput(struct socket *, struct sockopt *);
570 extern int ip6_ctloutput(struct socket *, struct sockopt *);
571 extern int ip6_raw_ctloutput(struct socket *, struct sockopt *);
589 extern int rip6_ctloutput(struct socket *so, struct sockopt *sopt);
H A Din6_mcast.c131 static int in6p_get_source_filters(struct inpcb *, struct sockopt *);
133 static int in6p_join_group(struct inpcb *, struct sockopt *);
134 static int in6p_leave_group(struct inpcb *, struct sockopt *);
138 static int in6p_block_unblock_source(struct inpcb *, struct sockopt *);
139 static int in6p_set_multicast_if(struct inpcb *, struct sockopt *);
140 static int in6p_set_source_filters(struct inpcb *, struct sockopt *);
1421 in6p_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in in6p_block_unblock_source()
1649 in6p_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in in6p_get_source_filters()
1829 ip6_getmoptions(struct inpcb *inp, struct sockopt *sopt) in ip6_getmoptions()
1990 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-10063.141.1/security/
H A Dmac_socket.c287 struct sockopt *sopt) in mac_socket_check_setsockopt()
305 struct sockopt *sopt) in mac_socket_check_getsockopt()
/xnu-10063.141.1/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 *);
272 nxctl_set_opt(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_set_opt()
305 nxctl_get_opt(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_get_opt()
347 nxctl_get_nexus_prov_list(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_get_nexus_prov_list()
[all …]
H A Dnexus_kern.c1220 struct sockopt sopt; in kern_nexus_controller_bind_provider_instance()
1256 struct sockopt sopt; in kern_nexus_controller_unbind_provider_instance()
1287 struct sockopt sopt; in kern_nexus_controller_read_provider_attr()
1383 struct sockopt sopt; in _kern_nexus_ifattach()
1458 struct sockopt sopt; in kern_nexus_ifdetach()
1630 struct sockopt sopt; in kern_nexus_set_if_netem_params()
1661 struct sockopt sopt; in _kern_nexus_flow_config()
H A Dnexus_syscalls.c412 struct sockopt sopt; in __nexus_get_opt()
475 struct sockopt sopt; in __nexus_set_opt()
H A Dnexus_var.h508 extern int nxctl_get_opt(struct nxctl *, struct sockopt *);
509 extern int nxctl_set_opt(struct nxctl *, struct sockopt *);
/xnu-10063.141.1/bsd/skywalk/channel/
H A Dchannel.c92 struct sockopt *);
94 struct sockopt *);
98 struct sockopt *sopt);
2232 ch_set_opt(struct kern_channel *ch, struct sockopt *sopt) in ch_set_opt()
2263 ch_get_opt(struct kern_channel *ch, struct sockopt *sopt) in ch_get_opt()
2291 struct sockopt *sopt) in ch_configure_interface_advisory_event()
2367 struct sockopt *sopt) in ch_set_lowat_thresh()
2420 struct sockopt *sopt) in ch_get_lowat_thresh()
/xnu-10063.141.1/bsd/kern/
H A Dkpi_socket.c518 struct sockopt sopt; in sock_getsockopt()
547 struct sockopt sopt; in sock_setsockopt()
588 struct sockopt sopt; in sock_settclassopt()
673 struct sockopt sopt; in sock_gettclassopt()

123