Searched refs:MAXLEN (Results 1 – 4 of 4) sorted by relevance
/haiku/src/tests/system/network/ |
H A D | udp_echo.c | 20 #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 D | udp_server.c | 17 #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 D | udp_client.c | 17 #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 D | icmp_dumper.cpp | 22 #define MAXLEN 4096 macro 36 char buf[MAXLEN]; in main() 39 while ((nbytes = recvfrom(sockfd, buf, MAXLEN, 0, in main()
|