Home
last modified time | relevance | path

Searched refs:sendspace (Results 1 – 15 of 15) sorted by relevance

/freebsd/tests/sys/kern/
H A Dunix_stream.c56 u_long sendspace; in getsendspace() local
58 ATF_REQUIRE_MSG(sysctlbyname("net.local.stream.sendspace", &sendspace, in getsendspace()
62 return (sendspace); in getsendspace()
142 u_long sendspace; in ATF_TC_BODY() local
145 sendspace = getsendspace(); in ATF_TC_BODY()
146 ATF_REQUIRE((buf = malloc(sendspace)) != NULL); in ATF_TC_BODY()
149 do {} while (send(sv[0], buf, sendspace, 0) == (ssize_t)sendspace); in ATF_TC_BODY()
156 ATF_REQUIRE(read(sv[1], buf, sendspace / 2) == (ssize_t)sendspace / 2); in ATF_TC_BODY()
H A Dunix_passfd_test.c282 u_long sendspace; in getsendspace() local
284 ATF_REQUIRE_MSG(sysctlbyname(LOCAL_SENDSPACE_SYSCTL, &sendspace, in getsendspace()
288 return (sendspace); in getsendspace()
309 u_long sendspace; in fill() local
312 sendspace = getsendspace(); in fill()
313 ATF_REQUIRE((buf = malloc(sendspace)) != NULL); in fill()
319 do {} while (send(fd, buf, sendspace, 0) == (ssize_t)sendspace); in fill()
324 sent + sendspace + sizeof(struct sockaddr) < recvspace; in fill()
325 sent += sendspace + sizeof(struct sockaddr)) in fill()
326 ATF_REQUIRE(send(fd, buf, sendspace, 0) == (ssize_t)sendspace); in fill()
[all …]
/freebsd/tests/sys/netlink/
H A Dnetlink_socket.c76 int fd, sendspace, recvspace, sendavail, recvavail, rsize; in fullsocket() local
80 ATF_REQUIRE(getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &sendspace, in fullsocket()
109 ATF_REQUIRE(sizeof(hdr) * cnt > sendspace); in fullsocket()
114 sendavail <= sendspace - sizeof(hdr)); in fullsocket()
/freebsd/sys/dev/qlxgb/
H A DREADME.txt74 net.inet.tcp.sendspace=65536
87 sysctl net.inet.tcp.sendspace=65536
/freebsd/sys/dev/qlxge/
H A DREADME.txt73 net.inet.tcp.sendspace=65536
85 sysctl net.inet.tcp.sendspace=65536
/freebsd/sys/dev/qlxgbe/
H A DREADME.txt77 net.inet.tcp.sendspace=65536
90 sysctl net.inet.tcp.sendspace=65536
/freebsd/sys/dev/iscsi/
H A Dicl_soft.c113 static int sendspace = 1536 * 1024; variable
114 SYSCTL_INT(_kern_icl_soft, OID_AUTO, sendspace, CTLFLAG_RWTUN,
115 &sendspace, 0, "Default send socket buffer size");
1422 if (sendspace < minspace) { in icl_conn_start()
1425 sendspace = minspace; in icl_conn_start()
1436 error = soreserve(ic->ic_socket, sendspace, recvspace); in icl_conn_start()
/freebsd/sys/netipsec/
H A Dkeysock.c253 SYSCTL_ULONG(_net_key, OID_AUTO, sendspace, CTLFLAG_RW, &key_sendspace, 0,
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c123 static int sendspace = 1048576; variable
124 SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, sendspace, CTLFLAG_RWTUN,
125 &sendspace, 0, "Default send socket buffer size");
950 ss = max(sendspace, sspace); in icl_cxgbei_setsockopt()
/freebsd/sys/kern/
H A Duipc_usrreq.c175 SYSCTL_ULONG(_net_local_stream, OID_AUTO, sendspace, CTLFLAG_RW,
442 u_long sendspace, recvspace; in uipc_attach() local
450 sendspace = unpst_sendspace; in uipc_attach()
463 sendspace = recvspace = unpdg_recvspace; in uipc_attach()
467 sendspace = unpsp_sendspace; in uipc_attach()
474 error = soreserve(so, sendspace, recvspace); in uipc_attach()
/freebsd/sys/netlink/
H A Dnetlink_domain.c77 SYSCTL_ULONG(_net_netlink, OID_AUTO, sendspace, CTLFLAG_RW, &nl_sendspace, 0,
/freebsd/sys/netinet/
H A Dsctp_sysctl.c909 SCTP_UINT_SYSCTL(sendspace, sctp_sendspace, SCTPCTL_MAXDGRAM);
H A Dtcp_output.c116 SYSCTL_INT(_net_inet_tcp, TCPCTL_SENDSPACE, sendspace, CTLFLAG_VNET | CTLFLAG_RW,
/freebsd/sys/net/
H A Drtsock.c385 SYSCTL_ULONG(_net_rtsock, OID_AUTO, sendspace, CTLFLAG_RW, &rts_sendspace, 0,
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc1499 net.inet.tcp.sendspace