Home
last modified time | relevance | path

Searched refs:sopt_name (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/sys/netlink/
H A Dnetlink_domain.c826 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 Din_mcast.c1389 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 Dtcp_usrreq.c1687 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 Dtcp_offload.c178 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 Dip_output.c1100 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 Draw_ip.c655 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 Dip_mroute.c427 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 Dudp_usrreq.c915 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 Dtoecore.c179 int sopt_dir __unused, int sopt_name __unused) in toedev_ctloutput()
/freebsd/sys/netinet6/
H A Din6_mcast.c1448 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 Draw_ip6.c591 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 Dip6_mroute.c381 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 Dsockopt.h51 int sopt_name; /* third arg of [gs]etsockopt */ member
/freebsd/sys/nfs/
H A Dkrpc_subr.c228 sopt.sopt_name = SO_RCVTIMEO; in krpc_call()
240 sopt.sopt_name = SO_BROADCAST; in krpc_call()
H A Dbootp_subr.c504 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 Dipsec_pcb.c480 if (sopt->sopt_name != IP_IPSEC_POLICY)
494 if (sopt->sopt_name != IPV6_IPSEC_POLICY)
H A Dxform_tcp.c82 if (sopt->sopt_name != TCP_MD5SIG) { in tcp_ipsec_pcbctl()
H A Dudpencap.c76 if (sopt->sopt_name != UDP_ENCAP) { in udp_ipsec_pcbctl()
/freebsd/sys/dev/iscsi/
H A Dicl_soft_proxy.c264 sopt.sopt_name = SO_REUSEADDR; in icl_listen_add_tcp()
/freebsd/sys/rpc/
H A Drpc_generic.c202 opt.sopt_name = SO_TYPE; in __rpc_socket2sockinfo()
827 opt.sopt_name = portrange; in bindresvport()
H A Dsvc_vc.c271 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 Dip_dn_glue.c804 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 Duipc_sockbuf.c723 switch (sopt->sopt_name) { in sbsetopt()
738 switch (sopt->sopt_name) { in sbsetopt()
757 switch (sopt->sopt_name) { in sbsetopt()
H A Duipc_socket.c3784 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 Dsdp_main.c1615 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()

123