| /xnu-12377.41.6/bsd/net/ |
| H A D | kext_net.h | 49 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 D | ndrv.c | 98 static int ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt); 102 static int ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt); 103 static int ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt); 561 ndrv_ctloutput(struct socket *so, struct sockopt *sopt) in ndrv_ctloutput() 696 ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_setspec() 953 ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_do_add_multicast() 1038 ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt) in ndrv_do_remove_multicast()
|
| H A D | necp.h | 1456 extern errno_t necp_set_socket_attributes(struct inp_necp_attributes *attributes, struct sockopt *s… 1457 extern errno_t necp_get_socket_attributes(struct inp_necp_attributes *attributes, struct sockopt *s… 1459 extern int necp_set_socket_resolver_signature(struct inpcb *inp, struct sockopt *sopt); 1460 extern int necp_get_socket_resolver_signature(struct inpcb *inp, struct sockopt *sopt);
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | kernel_types.h | 114 __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 D | un.h | 104 struct sockopt; 108 int uipc_ctloutput(struct socket *so, struct sockopt *sopt);
|
| H A D | protosw.h | 147 struct sockopt; 186 (struct socket *, struct sockopt *); 272 (struct socket *, struct sockopt *); 546 int (*pru_socheckopt)(struct socket *, struct sockopt *); 570 extern int pru_socheckopt_null(struct socket *, struct sockopt *);
|
| H A D | socketvar.h | 585 struct sockopt { struct 798 extern int sooptcopyin(struct sockopt *sopt, void * __sized_by(len), size_t len, 801 extern int sooptcopyout(struct sockopt *sopt, void *__sized_by(len) data, size_t len) 803 extern int sooptcopyin_bindtodevice(struct sockopt *sopt, char * __sized_by(bufsize) buf, size_t bu… 976 extern int sogetoptlock(struct socket *so, struct sockopt *sopt, int); 977 extern int sosetoptlock(struct socket *so, struct sockopt *sopt, int); 1076 extern int sogetopt_tcdbg(struct socket *, struct sockopt *); 1083 extern int soopt_getm(struct sockopt *sopt, struct mbuf **mp); 1084 extern int soopt_mcopyin(struct sockopt *sopt, struct mbuf *m); 1085 extern int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m);
|
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | ip_var.h | 315 struct sockopt; 361 extern int inp_getmoptions(struct inpcb *, struct sockopt *); 362 extern int inp_setmoptions(struct inpcb *, struct sockopt *); 370 extern int ip_ctloutput(struct socket *, struct sockopt *sopt); 393 extern int rip_ctloutput(struct socket *, struct sockopt *);
|
| H A D | flow_divert.h | 110 errno_t flow_divert_token_set(struct socket *so, struct sockopt *sopt); 111 errno_t flow_divert_token_get(struct socket *so, struct sockopt *sopt);
|
| H A D | in_mcast.c | 140 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 *); 1472 inp_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in inp_block_unblock_source() 1734 inp_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in inp_get_source_filters() 1906 inp_getmoptions(struct inpcb *inp, struct sockopt *sopt) in inp_getmoptions() 2102 inp_join_group(struct inpcb *inp, struct sockopt *sopt) in inp_join_group() 2431 inp_leave_group(struct inpcb *inp, struct sockopt *sopt) in inp_leave_group() 2688 inp_set_multicast_if(struct inpcb *inp, struct sockopt *sopt) in inp_set_multicast_if() [all …]
|
| H A D | in_var.h | 587 extern int inp_join_group(struct inpcb *, struct sockopt *); 588 extern int inp_leave_group(struct inpcb *, struct sockopt *);
|
| H A D | udp_var.h | 186 extern int udp_ctloutput(struct socket *, struct sockopt *);
|
| H A D | mptcp_var.h | 553 extern int mptcp_ctloutput(struct socket *, struct sockopt *); 576 extern struct mptopt *mptcp_sopt_find(struct mptses *, struct sockopt *);
|
| H A D | in_proto.c | 110 extern int icmp_dgram_ctloutput(struct socket *, struct sockopt *);
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | ip6_var.h | 516 struct sockopt; 523 extern int icmp6_ctloutput(struct socket *, struct sockopt *); 524 extern int icmp6_dgram_ctloutput(struct socket *, struct sockopt *); 574 extern int ip6_ctloutput(struct socket *, struct sockopt *); 575 extern int ip6_raw_ctloutput(struct socket *, struct sockopt *); 593 extern int rip6_ctloutput(struct socket *so, struct sockopt *sopt);
|
| H A D | in6_mcast.c | 131 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 *); 1427 in6p_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in in6p_block_unblock_source() 1656 in6p_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in in6p_get_source_filters() 1836 ip6_getmoptions(struct inpcb *inp, struct sockopt *sopt) in ip6_getmoptions() 1999 in6p_join_group(struct inpcb *inp, struct sockopt *sopt) in in6p_join_group() [all …]
|
| H A D | ip6protosw.h | 173 (struct socket *, struct sockopt *);
|
| H A D | in6_var.h | 1079 struct sockopt; 1171 extern int ip6_getmoptions(struct inpcb *, struct sockopt *); 1172 extern int ip6_setmoptions(struct inpcb *, struct sockopt *);
|
| /xnu-12377.41.6/security/ |
| H A D | mac_socket.c | 287 struct sockopt *sopt) in mac_socket_check_setsockopt() 305 struct sockopt *sopt) in mac_socket_check_getsockopt()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/ |
| H A D | nexus.c | 58 static int nxctl_get_nexus_prov_list(struct nxctl *, struct sockopt *); 59 static int nxctl_get_nexus_prov_entry(struct nxctl *, struct sockopt *); 60 static int nxctl_get_nexus_list(struct nxctl *, struct sockopt *); 61 static int nxctl_nexus_bind(struct nxctl *, struct sockopt *); 62 static int nxctl_nexus_unbind(struct nxctl *, struct sockopt *); 63 static int nxctl_nexus_config(struct nxctl *, struct sockopt *); 64 static int nxctl_get_channel_list(struct nxctl *, struct sockopt *); 285 nxctl_set_opt(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_set_opt() 318 nxctl_get_opt(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_get_opt() 360 nxctl_get_nexus_prov_list(struct nxctl *nxctl, struct sockopt *sopt) in nxctl_get_nexus_prov_list() [all …]
|
| H A D | nexus_kern.c | 1199 struct sockopt sopt; in kern_nexus_controller_bind_provider_instance() 1235 struct sockopt sopt; in kern_nexus_controller_unbind_provider_instance() 1266 struct sockopt sopt; in kern_nexus_controller_read_provider_attr() 1362 struct sockopt sopt; in _kern_nexus_ifattach() 1437 struct sockopt sopt; in kern_nexus_ifdetach() 1609 struct sockopt sopt; in kern_nexus_set_if_netem_params() 1640 struct sockopt sopt; in _kern_nexus_flow_config()
|
| H A D | nexus_var.h | 519 extern int nxctl_get_opt(struct nxctl *, struct sockopt *); 520 extern int nxctl_set_opt(struct nxctl *, struct sockopt *);
|
| H A D | nexus_syscalls.c | 412 struct sockopt sopt; in __nexus_get_opt() 475 struct sockopt sopt; in __nexus_set_opt()
|
| /xnu-12377.41.6/bsd/skywalk/channel/ |
| H A D | channel.c | 94 struct sockopt *); 96 struct sockopt *); 100 struct sockopt *sopt); 2234 ch_set_opt(struct kern_channel *ch, struct sockopt *sopt) in ch_set_opt() 2265 ch_get_opt(struct kern_channel *ch, struct sockopt *sopt) in ch_get_opt() 2293 struct sockopt *sopt) in ch_configure_interface_advisory_event() 2369 struct sockopt *sopt) in ch_set_lowat_thresh() 2422 struct sockopt *sopt) in ch_get_lowat_thresh()
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | kpi_socket.c | 510 struct sockopt sopt; in sock_getsockopt() 539 struct sockopt sopt; in sock_setsockopt() 580 struct sockopt sopt; in sock_settclassopt() 665 struct sockopt sopt; in sock_gettclassopt()
|