/freebsd/sys/netlink/ |
H A D | netlink_domain.c | 826 nl_getoptflag(int sopt_name) in nl_getoptflag() argument 828 switch (sopt_name) { in nl_getoptflag() 851 so, sopt->sopt_name); in nl_ctloutput() 855 switch (sopt->sopt_name) { in nl_ctloutput() 868 if (sopt->sopt_name == NETLINK_ADD_MEMBERSHIP) in nl_ctloutput() 882 flag = nl_getoptflag(sopt->sopt_name); in nl_ctloutput() 901 switch (sopt->sopt_name) { in nl_ctloutput() 913 optval = (nlp->nl_flags & nl_getoptflag(sopt->sopt_name)) != 0; in nl_ctloutput() 950 if (sopt->sopt_name != SO_RCVBUF) in nl_setsbopt()
|
/freebsd/sys/netinet/ |
H A D | in_mcast.c | 1389 switch (sopt->sopt_name) { in inp_block_unblock_source() 1414 if (sopt->sopt_name == IP_BLOCK_SOURCE) in inp_block_unblock_source() 1444 if (sopt->sopt_name == MCAST_BLOCK_SOURCE) in inp_block_unblock_source() 1450 __func__, sopt->sopt_name); in inp_block_unblock_source() 1752 switch (sopt->sopt_name) { in inp_getmoptions() 1926 switch (sopt->sopt_name) { in inp_join_group() 1984 if (sopt->sopt_name == MCAST_JOIN_GROUP) { in inp_join_group() 1988 } else if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) { in inp_join_group() 2005 if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) { in inp_join_group() 2024 __func__, sopt->sopt_name); in inp_join_group() [all …]
|
H A D | tcp_usrreq.c | 1687 switch (sopt->sopt_name) { in tcp_ctloutput_set() 1701 switch (sopt->sopt_name) { in tcp_ctloutput_set() 1717 } else if (sopt->sopt_name == TCP_FUNCTION_BLK) { in tcp_ctloutput_set() 1807 sopt->sopt_name); in tcp_ctloutput_set() 1847 if (((sopt->sopt_name == TCP_FUNCTION_BLK) || in tcp_ctloutput_get() 1848 (sopt->sopt_name == TCP_FUNCTION_ALIAS))) { in tcp_ctloutput_get() 1851 if (sopt->sopt_name == TCP_FUNCTION_ALIAS) { in tcp_ctloutput_get() 2041 switch (sopt->sopt_name) { in tcp_default_ctloutput() 2060 switch (sopt->sopt_name) { in tcp_default_ctloutput() 2086 switch (sopt->sopt_name) { in tcp_default_ctloutput() [all …]
|
H A D | tcp_offload.c | 178 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) in tcp_offload_ctloutput() argument 185 tod->tod_ctloutput(tod, tp, sopt_dir, sopt_name); in tcp_offload_ctloutput()
|
H A D | ip_output.c | 1100 switch (sopt->sopt_name) { in ip_ctloutput() 1138 switch (sopt->sopt_name) { in ip_ctloutput() 1162 error = ip_pcbopts(inp, sopt->sopt_name, m); in ip_ctloutput() 1197 switch (sopt->sopt_name) { in ip_ctloutput() 1372 switch (sopt->sopt_name) { in ip_ctloutput() 1417 switch (sopt->sopt_name) { in ip_ctloutput()
|
H A D | raw_ip.c | 655 sopt->sopt_name == SO_SETFIB) in rip_ctloutput() 663 switch (sopt->sopt_name) { in rip_ctloutput() 718 switch (sopt->sopt_name) { in rip_ctloutput()
|
H A D | ip_mroute.c | 427 if (so != V_ip_mrouter && sopt->sopt_name != MRT_INIT) in X_ip_mrouter_set() 431 switch (sopt->sopt_name) { in X_ip_mrouter_set() 458 if (sopt->sopt_name == MRT_ADD_MFC && in X_ip_mrouter_set() 470 if (sopt->sopt_name == MRT_ADD_MFC) in X_ip_mrouter_set() 497 if (sopt->sopt_name == MRT_ADD_BW_UPCALL) in X_ip_mrouter_set() 518 switch (sopt->sopt_name) { in X_ip_mrouter_get()
|
H A D | udp_usrreq.c | 915 switch (sopt->sopt_name) { in udp_ctloutput() 966 if (sopt->sopt_name == UDPLITE_SEND_CSCOV) in udp_ctloutput() 979 switch (sopt->sopt_name) { in udp_ctloutput() 1017 if (sopt->sopt_name == UDPLITE_SEND_CSCOV) in udp_ctloutput()
|
H A D | toecore.c | 179 int sopt_dir __unused, int sopt_name __unused) in toedev_ctloutput()
|
/freebsd/sys/netinet6/ |
H A D | in6_mcast.c | 1448 switch (sopt->sopt_name) { in in6p_block_unblock_source() 1476 if (sopt->sopt_name == MCAST_BLOCK_SOURCE) in in6p_block_unblock_source() 1482 __func__, sopt->sopt_name); in in6p_block_unblock_source() 1804 switch (sopt->sopt_name) { in ip6_getmoptions() 1925 switch (sopt->sopt_name) { in in6p_join_group() 1953 if (sopt->sopt_name == MCAST_JOIN_GROUP) { in in6p_join_group() 1957 } else if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) { in in6p_join_group() 1969 if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) { in in6p_join_group() 1993 __func__, sopt->sopt_name); in in6p_join_group() 2239 switch (sopt->sopt_name) { in in6p_leave_group() [all …]
|
H A D | raw_ip6.c | 591 sopt->sopt_name == SO_SETFIB) in rip6_ctloutput() 600 switch (sopt->sopt_name) { in rip6_ctloutput() 623 switch (sopt->sopt_name) { in rip6_ctloutput()
|
H A D | ip6_mroute.c | 381 if (so != V_ip6_mrouter && sopt->sopt_name != MRT6_INIT) in X_ip6_mrouter_set() 384 switch (sopt->sopt_name) { in X_ip6_mrouter_set() 393 error = ip6_mrouter_init(so, optval, sopt->sopt_name); in X_ip6_mrouter_set() 448 switch (sopt->sopt_name) { in X_ip6_mrouter_get()
|
/freebsd/sys/sys/ |
H A D | sockopt.h | 51 int sopt_name; /* third arg of [gs]etsockopt */ member
|
/freebsd/sys/nfs/ |
H A D | krpc_subr.c | 228 sopt.sopt_name = SO_RCVTIMEO; in krpc_call() 240 sopt.sopt_name = SO_BROADCAST; in krpc_call()
|
H A D | bootp_subr.c | 504 sopt.sopt_name = SO_RCVTIMEO; in bootpc_call() 516 sopt.sopt_name = SO_BROADCAST; in bootpc_call() 529 sopt.sopt_name = SO_DONTROUTE; in bootpc_call()
|
/freebsd/sys/netipsec/ |
H A D | ipsec_pcb.c | 480 if (sopt->sopt_name != IP_IPSEC_POLICY) 494 if (sopt->sopt_name != IPV6_IPSEC_POLICY)
|
H A D | xform_tcp.c | 82 if (sopt->sopt_name != TCP_MD5SIG) { in tcp_ipsec_pcbctl()
|
H A D | udpencap.c | 76 if (sopt->sopt_name != UDP_ENCAP) { in udp_ipsec_pcbctl()
|
/freebsd/sys/dev/iscsi/ |
H A D | icl_soft_proxy.c | 264 sopt.sopt_name = SO_REUSEADDR; in icl_listen_add_tcp()
|
/freebsd/sys/rpc/ |
H A D | rpc_generic.c | 202 opt.sopt_name = SO_TYPE; in __rpc_socket2sockinfo() 827 opt.sopt_name = portrange; in bindresvport()
|
H A D | svc_vc.c | 271 opt.sopt_name = SO_KEEPALIVE; in svc_vc_create_conn() 283 opt.sopt_name = TCP_NODELAY; in svc_vc_create_conn()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_glue.c | 804 switch (sopt->sopt_name) { in ip_dummynet_compat() 806 printf("dummynet: -- unknown option %d", sopt->sopt_name); in ip_dummynet_compat()
|
/freebsd/sys/kern/ |
H A D | uipc_sockbuf.c | 723 switch (sopt->sopt_name) { in sbsetopt() 738 switch (sopt->sopt_name) { in sbsetopt() 757 switch (sopt->sopt_name) { in sbsetopt()
|
H A D | uipc_socket.c | 3784 sopt.sopt_name = optname; 3812 switch (sopt->sopt_name) { 3859 so->so_options |= sopt->sopt_name; 3861 so->so_options &= ~sopt->sopt_name; 3912 valp = sopt->sopt_name == SO_SNDTIMEO ? 4078 switch (sopt->sopt_name) { 4107 optval = so->so_options & sopt->sopt_name; 4173 tv = sbttotv(sopt->sopt_name == SO_SNDTIMEO ?
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_main.c | 1615 if (sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_KEEPALIVE) { in sdp_ctloutput() 1634 switch (sopt->sopt_name) { in sdp_ctloutput() 1660 switch (sopt->sopt_name) { in sdp_ctloutput()
|