Home
last modified time | relevance | path

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

1234

/freebsd/sys/sys/
H A Dsockopt.h48 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 Dprotosw.h43 struct sockopt;
62 typedef int pr_ctloutput_t(struct socket *, struct sockopt *);
63 typedef int pr_setsbopt_t(struct socket *, struct sockopt *);
H A Dktls.h180 struct sockopt;
221 int ktls_copyin_tls_enable(struct sockopt *sopt, struct tls_enable *tls);
H A Dsockbuf.h71 struct sockopt;
235 int sbsetopt(struct socket *so, struct sockopt *);
/freebsd/sys/netipsec/
H A Dipsec_support.h36 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 Dsubr_ipsec.c40 #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 Dipsec6.h74 int ip6_ipsec_pcbctl(struct inpcb *, struct sockopt *);
H A Dipsec_pcb.c40 #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 Dip_var.h192 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 Dip_mroute.h360 struct sockopt;
362 extern int (*ip_mrouter_set)(struct socket *, struct sockopt *);
363 extern int (*ip_mrouter_get)(struct socket *, struct sockopt *);
H A Din_mcast.c159 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 Draw_ip.c98 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 Dip6_var.h365 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 Dip6_mroute.h274 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 Din6_mcast.c157 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 Draw_ip6.c144 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 Din6_var.h835 struct sockopt;
854 int ip6_getmoptions(struct inpcb *, struct sockopt *);
855 int ip6_setmoptions(struct inpcb *, struct sockopt *);
/freebsd/contrib/sendmail/libmilter/
H A Dlistener.c129 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 Dip_dn_private.h439 struct sockopt;
440 int ip_dummynet_compat(struct sockopt *sopt);
441 int dummynet_get(struct sockopt *sopt, void **compat);
H A Dip_fw_private.h359 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 Duipc_accf.c165 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 Dng_btsocket_hci_raw.h78 int ng_btsocket_hci_raw_ctloutput (struct socket *, struct sockopt *);
H A Dng_btsocket_sco.h117 int ng_btsocket_sco_ctloutput (struct socket *, struct sockopt *);
H A Dng_btsocket_l2cap.h201 int ng_btsocket_l2cap_ctloutput (struct socket *, struct sockopt *);
/freebsd/sys/netinet/cc/
H A Dcc.h195 int (*ctl_output)(struct cc_var *, struct sockopt *, void *);

1234