/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dummynet.c | 1359 size_t sopt_valsize; in get_aqm_parms() local 1362 sopt_valsize = sopt->sopt_valsize; in get_aqm_parms() 1364 if (sopt->sopt_valsize < l) { in get_aqm_parms() 1366 (int) sopt->sopt_valsize , l); in get_aqm_parms() 1379 sopt->sopt_valsize = sopt_valsize; in get_aqm_parms() 1414 size_t sopt_valsize; in get_sched_parms() local 1417 sopt_valsize = sopt->sopt_valsize; in get_sched_parms() 1419 if (sopt->sopt_valsize < l) { in get_sched_parms() 1421 (int) sopt->sopt_valsize , l); in get_sched_parms() 1434 sopt->sopt_valsize = sopt_valsize; in get_sched_parms() [all …]
|
H A D | ip_dn_glue.c | 792 int len = sopt->sopt_valsize; in ip_dummynet_compat() 840 int original_size = sopt->sopt_valsize; in ip_dummynet_compat() 846 size = sopt->sopt_valsize; in ip_dummynet_compat() 847 sopt->sopt_valsize = original_size; in ip_dummynet_compat()
|
H A D | ip_fw_sockopt.c | 3611 sopt->sopt_valsize = sd->ktotal; in ipfw_flush_sopt_data() 3692 valsize = sopt->sopt_valsize; in ipfw_ctl3() 3699 sopt->sopt_valsize = valsize; in ipfw_ctl3() 3792 sopt->sopt_valsize = sdata.ktotal; in ipfw_ctl3() 3850 if (size >= sopt->sopt_valsize) in ipfw_ctl() 3888 size = sopt->sopt_valsize; in ipfw_ctl() 3943 size = sopt->sopt_valsize; in ipfw_ctl() 4039 if (sopt->sopt_valsize < sizeof(*tbl)) { in ipfw_ctl() 4043 size = sopt->sopt_valsize; in ipfw_ctl()
|
/freebsd/sys/sys/ |
H A D | sockopt.h | 53 size_t sopt_valsize; /* (almost) fifth arg of [gs]etsockopt */ member
|
/freebsd/sys/netinet/ |
H A D | tcp_log_buf.c | 2154 if (sopt->sopt_valsize / (sizeof(struct tcp_log_buffer) + in tcp_log_getlogbuf() 2169 if ((sopt->sopt_valsize - outsize) < entrysize) in tcp_log_getlogbuf() 2175 KASSERT(outsize <= sopt->sopt_valsize, in tcp_log_getlogbuf() 2177 "space (%zu)", __func__, outsize, sopt->sopt_valsize)); in tcp_log_getlogbuf() 2195 if (sopt->sopt_valsize > outsize) in tcp_log_getlogbuf() 2196 sopt->sopt_valsize = outsize; in tcp_log_getlogbuf() 2271 sopt->sopt_valsize = (size_t)((caddr_t)out_entry - in tcp_log_getlogbuf() 2310 sopt.sopt_valsize = sizeof(struct tcp_log_header) + in tcp_log_expandlogbuf() 2313 hdr = malloc(sopt.sopt_valsize, M_TCPLOGDEV, M_NOWAIT); in tcp_log_expandlogbuf() 2321 sopt.sopt_valsize -= sizeof(struct tcp_log_header); in tcp_log_expandlogbuf()
|
H A D | tcp_usrreq.c | 1907 buf[sopt->sopt_valsize] = '\0'; in tcp_set_cc_mod() 2053 if (sopt->sopt_valsize > CC_ALGOOPT_LIMIT) in tcp_default_ctloutput() 2055 pbuf = malloc(sopt->sopt_valsize, M_TEMP, M_WAITOK | M_ZERO); in tcp_default_ctloutput() 2056 error = sooptcopyin(sopt, pbuf, sopt->sopt_valsize, in tcp_default_ctloutput() 2057 sopt->sopt_valsize); in tcp_default_ctloutput() 2069 error = sooptcopyout(sopt, pbuf, sopt->sopt_valsize); in tcp_default_ctloutput() 2391 if (sopt->sopt_valsize == in tcp_default_ctloutput() 2428 buf[sopt->sopt_valsize] = '\0'; in tcp_default_ctloutput() 2441 buf[sopt->sopt_valsize] = '\0'; in tcp_default_ctloutput() 2513 socklen_t outsbsz = sopt->sopt_valsize; in tcp_default_ctloutput() [all …]
|
H A D | in_mcast.c | 1781 if (sopt->sopt_valsize == sizeof(struct ip_mreqn)) { in inp_getmoptions() 1796 if (sopt->sopt_valsize == sizeof(u_char)) in inp_getmoptions() 1808 if (sopt->sopt_valsize == sizeof(u_char)) in inp_getmoptions() 1930 if (sopt->sopt_valsize == sizeof(struct ip_mreqn)) in inp_join_group() 1946 if (sopt->sopt_valsize == sizeof(struct ip_mreqn) && in inp_join_group() 2457 if (sopt->sopt_valsize == sizeof(struct ip_mreqn)) { in inp_set_multicast_if() 2746 if (sopt->sopt_valsize == sizeof(u_char)) { in inp_setmoptions() 2779 if (sopt->sopt_valsize == sizeof(u_char)) { in inp_setmoptions()
|
H A D | ip_output.c | 1115 if (sopt->sopt_valsize > MLEN) { in ip_ctloutput() 1124 m->m_len = sopt->sopt_valsize; in ip_ctloutput() 1361 sopt->sopt_valsize = 0; in ip_ctloutput()
|
H A D | ip_gre.c | 312 sopt.sopt_valsize = sizeof(value); in in_gre_setup_socket()
|
/freebsd/sys/nfs/ |
H A D | krpc_subr.c | 230 sopt.sopt_valsize = sizeof tv; in krpc_call() 242 sopt.sopt_valsize = sizeof on; in krpc_call()
|
H A D | bootp_subr.c | 506 sopt.sopt_valsize = sizeof tv; in bootpc_call() 518 sopt.sopt_valsize = sizeof on; in bootpc_call() 531 sopt.sopt_valsize = sizeof on; in bootpc_call()
|
/freebsd/sys/dev/iscsi/ |
H A D | icl_soft_proxy.c | 266 sopt.sopt_valsize = sizeof(one); in icl_listen_add_tcp()
|
/freebsd/sys/netgraph/ |
H A D | ng_ksocket.c | 829 sopt.sopt_valsize = NG_KSOCKET_MAX_OPTLEN; in ng_ksocket_rcvmsg() 839 + sopt.sopt_valsize; in ng_ksocket_rcvmsg() 861 sopt.sopt_valsize = valsize; in ng_ksocket_rcvmsg()
|
/freebsd/sys/rpc/ |
H A D | rpc_generic.c | 204 opt.sopt_valsize = sizeof type; in __rpc_socket2sockinfo() 829 opt.sopt_valsize = sizeof(old); in bindresvport()
|
H A D | svc_vc.c | 273 opt.sopt_valsize = sizeof(one); in svc_vc_create_conn() 285 opt.sopt_valsize = sizeof(one); in svc_vc_create_conn()
|
H A D | clnt_vc.c | 197 sopt.sopt_valsize = sizeof(one); in clnt_vc_create() 207 sopt.sopt_valsize = sizeof(one); in clnt_vc_create()
|
/freebsd/sys/kern/ |
H A D | uipc_socket.c | 3729 if ((valsize = sopt->sopt_valsize) < minlen) 3732 sopt->sopt_valsize = valsize = len; 3756 sopt.sopt_valsize = optlen; 4030 valsize = min(len, sopt->sopt_valsize); 4031 sopt->sopt_valsize = valsize; 4273 int sopt_size = sopt->sopt_valsize; 4324 while (m != NULL && sopt->sopt_valsize >= m->m_len) { 4336 sopt->sopt_valsize -= m->m_len; 4353 while (m != NULL && sopt->sopt_valsize >= m->m_len) { 4365 sopt->sopt_valsize -= m->m_len; [all …]
|
H A D | uipc_syscalls.c | 1236 sopt.sopt_valsize = valsize; in kern_setsockopt() 1303 sopt.sopt_valsize = (size_t)*valsize; /* checked non-negative above */ in kern_getsockopt() 1321 *valsize = sopt.sopt_valsize;
|
/freebsd/sys/netinet6/ |
H A D | ip6_output.c | 1633 optlen = sopt->sopt_valsize; in ip6_ctloutput() 2042 optlen = sopt->sopt_valsize; in ip6_ctloutput() 2133 sopt->sopt_valsize = 0; in ip6_ctloutput() 2377 optlen = sopt->sopt_valsize; in ip6_raw_ctloutput() 2533 optdata = malloc(sopt->sopt_valsize, M_TEMP, M_WAITOK); \ 2543 optdatalen = min(lenexpr, sopt->sopt_valsize); \
|
H A D | ip6_gre.c | 307 sopt.sopt_valsize = sizeof(value); in in6_gre_setup_socket()
|
/freebsd/sys/netipsec/ |
H A D | ipsec_pcb.c | 444 optlen = sopt->sopt_valsize; in ipsec_control_pcbpolicy()
|
/freebsd/sys/netinet/cc/ |
H A D | cc_newreno.c | 456 if (sopt->sopt_valsize != sizeof(struct cc_newreno_opts)) in newreno_ctl_output()
|
/freebsd/sys/net/ |
H A D | if_vxlan.c | 1014 sopt.sopt_valsize = sizeof(val); in vxlan_socket_init() 1171 sopt.sopt_valsize = sizeof(mreq); in vxlan_socket_mc_join_group() 1202 sopt.sopt_valsize = sizeof(mreq); in vxlan_socket_mc_join_group() 1237 sopt.sopt_valsize = sizeof(mreq); in vxlan_socket_mc_leave_group() 1249 sopt.sopt_valsize = sizeof(mreq); in vxlan_socket_mc_leave_group()
|
/freebsd/sys/netsmb/ |
H A D | smb_trantcp.c | 88 sopt.sopt_valsize = sizeof(val); in nb_setsockopt_int()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 829 sopt.sopt_valsize = sizeof on; in setiwsockopt() 1651 sopt.sopt_valsize = sizeof l; in send_abort() 2549 sopt.sopt_valsize = sizeof(on); in c4iw_sock_create() 2561 sopt.sopt_valsize = sizeof(on); in c4iw_sock_create()
|