Home
last modified time | relevance | path

Searched refs:maxdgram (Results 1 – 9 of 9) sorted by relevance

/freebsd/tests/sys/kern/
H A Dunix_dgram.c92 unsigned long maxdgram; in ATF_TC_BODY() local
104 buf = malloc(maxdgram + 1); in ATF_TC_BODY()
119 ATF_REQUIRE(send(fd[0], buf, maxdgram, 0) == (ssize_t)maxdgram); in ATF_TC_BODY()
122 ATF_REQUIRE(recv(fd[1], buf, maxdgram, MSG_PEEK) == (ssize_t)maxdgram); in ATF_TC_BODY()
128 iov[0].iov_len = maxdgram; in ATF_TC_BODY()
133 ATF_REQUIRE(send(fd[0], buf, maxdgram, 0) == (ssize_t)maxdgram); in ATF_TC_BODY()
134 iov[0].iov_len = maxdgram / 2; in ATF_TC_BODY()
142 ATF_REQUIRE(recv(fd[1], buf, maxdgram, 0) == -1); in ATF_TC_BODY()
152 ATF_REQUIRE(recv(fd[1], buf, maxdgram, 0) == -1); in ATF_TC_BODY()
156 fill(fd[0], buf, maxdgram); in ATF_TC_BODY()
[all …]
/freebsd/libexec/tftpd/
H A Dtftp-options.c217 u_long maxdgram; in option_blksize() local
224 len = sizeof(maxdgram); in option_blksize()
226 &maxdgram, &len, NULL, 0) < 0) { in option_blksize()
248 if (size > (int)maxdgram) { in option_blksize()
253 "%ld bytes.\n", size, maxdgram); in option_blksize()
260 "%ld bytes.\n", size, maxdgram); in option_blksize()
261 size = maxdgram; in option_blksize()
279 u_long maxdgram; in option_blksize2() local
292 len = sizeof(maxdgram); in option_blksize2()
294 &maxdgram, &len, NULL, 0) < 0) { in option_blksize2()
[all …]
/freebsd/usr.bin/tftp/
H A Dmain.c974 u_long maxdgram; in setblocksize() local
976 max = sizeof(maxdgram); in setblocksize()
978 &maxdgram, &max, NULL, 0) < 0) { in setblocksize()
987 } else if (size > (int)maxdgram - 4) { in setblocksize()
990 maxdgram - 4); in setblocksize()
1012 u_long maxdgram; in setblocksize2() local
1019 max = sizeof(maxdgram); in setblocksize2()
1021 &maxdgram, &max, NULL, 0) < 0) { in setblocksize2()
1039 } else if (size > (int)maxdgram - 4) { in setblocksize2()
1042 maxdgram - 4); in setblocksize2()
[all …]
/freebsd/lib/libnv/tests/
H A Dnvlist_send_recv_test.c479 u_long maxdgram, recvspace, temp_maxdgram, temp_recvspace; in ATF_TC_BODY() local
487 len = sizeof(maxdgram); in ATF_TC_BODY()
488 error = sysctlbyname("net.local.dgram.maxdgram", &maxdgram, in ATF_TC_BODY()
507 error = sysctlbyname("net.local.dgram.maxdgram", NULL, NULL, &maxdgram, sizeof(maxdgram)); in ATF_TC_BODY()
/freebsd/sys/netinet/
H A Draw_ip.c132 SYSCTL_ULONG(_net_inet_raw, OID_AUTO, maxdgram, CTLFLAG_RW,
H A Dudp_usrreq.c132 SYSCTL_ULONG(_net_inet_udp, UDPCTL_MAXDGRAM, maxdgram, CTLFLAG_RW,
/freebsd/sys/netgraph/
H A Dng_socket.c150 SYSCTL_ULONG(_net_graph, OID_AUTO, maxdgram, CTLFLAG_RW,
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc1342 net.inet.raw.maxdgram
1565 net.inet.udp.maxdgram
/freebsd/sys/kern/
H A Duipc_usrreq.c178 SYSCTL_ULONG(_net_local_dgram, OID_AUTO, maxdgram, CTLFLAG_RW,