Home
last modified time | relevance | path

Searched refs:MAXLEN (Results 1 – 4 of 4) sorted by relevance

/haiku/src/tests/system/network/
H A Dudp_echo.c20 #define MAXLEN 65535 macro
33 char buf[MAXLEN]; in udp_echo_client()
37 while (fgets(buf, MAXLEN, stdin) != NULL) { in udp_echo_client()
49 status = recvfrom(sockFD, buf, MAXLEN-1, 0, NULL, NULL); in udp_echo_client()
63 char buf[MAXLEN]; in udp_broadcast()
80 status = recvfrom(sockFD, buf, MAXLEN-1, 0, NULL, NULL); in udp_broadcast()
93 char buf[MAXLEN]; in udp_echo_server()
101 status = recvfrom(sockFD, buf, MAXLEN-1, 0, (struct sockaddr*)&clientAddr, &len); in udp_echo_server()
H A Dudp_server.c17 #define MAXLEN 65536 macro
23 char buf[MAXLEN]; in udp_server()
27 status = recvfrom(sockFD, buf, MAXLEN-1, 0, NULL, NULL); in udp_server()
H A Dudp_client.c17 #define MAXLEN 32768 macro
23 char sendbuf[MAXLEN]; in udp_client()
27 status = fread(sendbuf, 1, MAXLEN, stdin); in udp_client()
/haiku/src/tests/system/network/icmp/
H A Dicmp_dumper.cpp22 #define MAXLEN 4096 macro
36 char buf[MAXLEN]; in main()
39 while ((nbytes = recvfrom(sockfd, buf, MAXLEN, 0, in main()