Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/libexec/tftpd/
H A Dtftp-options.c218 u_long maxdgram; in option_blksize() local
225 len = sizeof(maxdgram); in option_blksize()
227 &maxdgram, &len, NULL, 0) < 0) { in option_blksize()
249 if (size > (int)maxdgram) { in option_blksize()
254 "%ld bytes.\n", size, maxdgram); in option_blksize()
261 "%ld bytes.\n", size, maxdgram); in option_blksize()
262 size = maxdgram; in option_blksize()
280 u_long maxdgram; in option_blksize2() local
293 len = sizeof(maxdgram); in option_blksize2()
295 &maxdgram, &len, NULL, 0) < 0) { in option_blksize2()
[all …]
/freebsd-14.2/usr.bin/tftp/
H A Dmain.c987 u_long maxdgram; in setblocksize() local
989 max = sizeof(maxdgram); in setblocksize()
991 &maxdgram, &max, NULL, 0) < 0) { in setblocksize()
1000 } else if (size > (int)maxdgram - 4) { in setblocksize()
1003 maxdgram - 4); in setblocksize()
1025 u_long maxdgram; in setblocksize2() local
1032 max = sizeof(maxdgram); in setblocksize2()
1034 &maxdgram, &max, NULL, 0) < 0) { in setblocksize2()
1052 } else if (size > (int)maxdgram - 4) { in setblocksize2()
1055 maxdgram - 4); in setblocksize2()
[all …]
/freebsd-14.2/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-14.2/sys/netinet/
H A Draw_ip.c134 SYSCTL_ULONG(_net_inet_raw, OID_AUTO, maxdgram, CTLFLAG_RW,
H A Dudp_usrreq.c134 SYSCTL_ULONG(_net_inet_udp, UDPCTL_MAXDGRAM, maxdgram, CTLFLAG_RW,
/freebsd-14.2/sys/netgraph/
H A Dng_socket.c150 SYSCTL_ULONG(_net_graph, OID_AUTO, maxdgram, CTLFLAG_RW,
/freebsd-14.2/tools/tools/sysdoc/
H A Dtunables.mdoc1342 net.inet.raw.maxdgram
1565 net.inet.udp.maxdgram
/freebsd-14.2/sys/kern/
H A Duipc_usrreq.c177 SYSCTL_ULONG(_net_local_dgram, OID_AUTO, maxdgram, CTLFLAG_RW,