/freebsd/sys/sys/ |
H A D | sockopt.h | 48 struct sockopt { struct 58 int sosetopt(struct socket *so, struct sockopt *sopt); argument 59 int sogetopt(struct socket *so, struct sockopt *sopt); 60 int sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen); 61 int sooptcopyout(struct sockopt *sopt, const void *buf, size_t len); 62 int soopt_getm(struct sockopt *sopt, struct mbuf **mp); 63 int soopt_mcopyin(struct sockopt *sopt, struct mbuf *m); 64 int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m); 65 int accept_filt_getopt(struct socket *, struct sockopt *); 66 int accept_filt_setopt(struct socket *, struct sockopt *);
|
H A D | protosw.h | 43 struct sockopt; 62 typedef int pr_ctloutput_t(struct socket *, struct sockopt *); 63 typedef int pr_setsbopt_t(struct socket *, struct sockopt *);
|
H A D | ktls.h | 180 struct sockopt; 221 int ktls_copyin_tls_enable(struct sockopt *sopt, struct tls_enable *tls);
|
H A D | sockbuf.h | 71 struct sockopt; 235 int sbsetopt(struct socket *so, struct sockopt *);
|
/freebsd/sys/netipsec/ |
H A D | ipsec_support.h | 36 struct sockopt; 55 int udp_ipsec_pcbctl(struct inpcb *, struct sockopt *); 61 int ipsec4_pcbctl(struct inpcb *, struct sockopt *); 71 int ipsec6_pcbctl(struct inpcb *, struct sockopt *); 83 int (*pcbctl)(struct inpcb *, struct sockopt *); 89 int (*udp_pcbctl)(struct inpcb *, struct sockopt *); 97 int (*pcbctl)(struct inpcb *, struct sockopt *); 131 struct sockopt *); 195 struct sockopt *); 201 struct sockopt *); [all...] |
H A D | subr_ipsec.c | 40 #include <sys/sockopt.h> 298 struct sockopt *sopt), METHOD_ARGS(inp, sopt) in IPSEC_KMOD_METHOD() 348 struct sockopt *sopt), METHOD_ARGS(inp, sopt) 379 struct sockopt *sopt), METHOD_ARGS(inp, sopt) in IPSEC_KMOD_METHOD()
|
H A D | ipsec6.h | 74 int ip6_ipsec_pcbctl(struct inpcb *, struct sockopt *);
|
H A D | ipsec_pcb.c | 40 #include <sys/sockopt.h> 434 ipsec_control_pcbpolicy(struct inpcb *inp, struct sockopt *sopt) in ipsec_control_pcbpolicy() 477 ipsec4_pcbctl(struct inpcb *inp, struct sockopt *sopt) in ipsec6_pcbctl() 491 ipsec6_pcbctl(struct inpcb *inp, struct sockopt *sopt)
|
/freebsd/sys/netinet/ |
H A D | ip_var.h | 192 struct sockopt; 221 int inp_getmoptions(struct inpcb *, struct sockopt *); 222 int inp_setmoptions(struct inpcb *, struct sockopt *); 224 int ip_ctloutput(struct socket *, struct sockopt *sopt); 239 int rip_ctloutput(struct socket *, struct sockopt *); 245 extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); 329 typedef int (*ip_fw_ctl_ptr_t)(struct sockopt *); 337 extern int (*ip_dn_ctl_ptr)(struct sockopt *);
|
H A D | ip_mroute.h | 360 struct sockopt; 362 extern int (*ip_mrouter_set)(struct socket *, struct sockopt *); 363 extern int (*ip_mrouter_get)(struct socket *, struct sockopt *);
|
H A D | in_mcast.c | 159 static int inp_get_source_filters(struct inpcb *, struct sockopt *); 160 static int inp_join_group(struct inpcb *, struct sockopt *); 161 static int inp_leave_group(struct inpcb *, struct sockopt *); 165 static int inp_block_unblock_source(struct inpcb *, struct sockopt *); 166 static int inp_set_multicast_if(struct inpcb *, struct sockopt *); 167 static int inp_set_source_filters(struct inpcb *, struct sockopt *); 1368 inp_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in inp_block_unblock_source() 1615 inp_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in inp_get_source_filters() 1733 inp_getmoptions(struct inpcb *inp, struct sockopt *sopt) in inp_getmoptions() 1904 inp_join_group(struct inpcb *inp, struct sockopt *sopt) in inp_join_group() [all …]
|
H A D | raw_ip.c | 98 int (*ip_dn_ctl_ptr)(struct sockopt *); 117 int (*ip_mrouter_set)(struct socket *, struct sockopt *); 118 int (*ip_mrouter_get)(struct socket *, struct sockopt *); 127 int (*ip_rsvp_vif)(struct socket *, struct sockopt *); 632 rip_ctloutput(struct socket *so, struct sockopt *sopt) in rip_ctloutput()
|
/freebsd/sys/netinet6/ |
H A D | ip6_var.h | 365 struct sockopt; 370 int icmp6_ctloutput(struct socket *, struct sockopt *sopt); 400 int ip6_ctloutput(struct socket *, struct sockopt *); 401 int ip6_raw_ctloutput(struct socket *, struct sockopt *); 420 int rip6_ctloutput(struct socket *, struct sockopt *);
|
H A D | ip6_mroute.h | 274 extern int (*ip6_mrouter_set)(struct socket *so, struct sockopt *sopt); 275 extern int (*ip6_mrouter_get)(struct socket *so, struct sockopt *sopt);
|
H A D | in6_mcast.c | 157 static int in6p_get_source_filters(struct inpcb *, struct sockopt *); 158 static int in6p_join_group(struct inpcb *, struct sockopt *); 159 static int in6p_leave_group(struct inpcb *, struct sockopt *); 163 static int in6p_block_unblock_source(struct inpcb *, struct sockopt *); 164 static int in6p_set_multicast_if(struct inpcb *, struct sockopt *); 165 static int in6p_set_source_filters(struct inpcb *, struct sockopt *); 1424 in6p_block_unblock_source(struct inpcb *inp, struct sockopt *sopt) in in6p_block_unblock_source() 1658 in6p_get_source_filters(struct inpcb *inp, struct sockopt *sopt) in in6p_get_source_filters() 1788 ip6_getmoptions(struct inpcb *inp, struct sockopt *sopt) in ip6_getmoptions() 1895 in6p_join_group(struct inpcb *inp, struct sockopt *sopt) in in6p_join_group() [all …]
|
H A D | raw_ip6.c | 144 int (*ip6_mrouter_set)(struct socket *, struct sockopt *); 145 int (*ip6_mrouter_get)(struct socket *, struct sockopt *); 567 rip6_ctloutput(struct socket *so, struct sockopt *sopt) in rip6_ctloutput()
|
H A D | in6_var.h | 835 struct sockopt; 854 int ip6_getmoptions(struct inpcb *, struct sockopt *); 855 int ip6_setmoptions(struct inpcb *, struct sockopt *);
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | listener.c | 129 int sockopt = 1; local 469 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (void *) &sockopt, 470 sizeof(sockopt)) == -1) 723 int sockopt = 1; local 904 (void *) &sockopt, sizeof sockopt) < 0)
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_private.h | 439 struct sockopt; 440 int ip_dummynet_compat(struct sockopt *sopt); 441 int dummynet_get(struct sockopt *sopt, void **compat);
|
H A D | ip_fw_private.h | 359 struct sockopt; /* used by tcp_var.h */ 366 struct sockopt *sopt; /* socket data */ 660 int ipfw_ctl3(struct sockopt *sopt); 798 typedef int ipfw_nat_cfg_t(struct sockopt *);
|
/freebsd/sys/kern/ |
H A D | uipc_accf.c | 165 accept_filt_getopt(struct socket *so, struct sockopt *sopt) in accept_filt_getopt() 193 accept_filt_setopt(struct socket *so, struct sockopt *sopt) in accept_filt_setopt()
|
/freebsd/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_hci_raw.h | 78 int ng_btsocket_hci_raw_ctloutput (struct socket *, struct sockopt *);
|
H A D | ng_btsocket_sco.h | 117 int ng_btsocket_sco_ctloutput (struct socket *, struct sockopt *);
|
H A D | ng_btsocket_l2cap.h | 201 int ng_btsocket_l2cap_ctloutput (struct socket *, struct sockopt *);
|
/freebsd/sys/netinet/cc/ |
H A D | cc.h | 195 int (*ctl_output)(struct cc_var *, struct sockopt *, void *);
|