Home
last modified time | relevance | path

Searched refs:datagram (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/system/network/icmp/
H A Dbig_datagram.cpp90 char* datagram = (char*)malloc(size); in main() local
91 if (datagram == NULL) { in main()
96 memset(datagram, 0, size); in main()
98 struct ip* iph = (struct ip*)datagram; in main()
111 iph->ip_sum = cksum((unsigned short*)datagram, iph->ip_len >> 1); in main()
115 struct udphdr* udp = (struct udphdr*)(datagram + sizeof(struct ip)); in main()
130 free(datagram); in main()
139 free(datagram); in main()
143 int bytesSent = sendto(sockfd, datagram, size, 0, ai->ai_addr, in main()
148 free(datagram); in main()
/haiku/docs/user/net/
H A DDatagramSocket.dox17 \brief BAbstractSocket implementation for datagram connections.
23 \brief BAbstractSocket implementation for datagram connections.
28 may not even make it to the peer. The most well known datagram protocol
31 The main uses for datagram sockets are when performance is more important
33 datagram packets at once, whereas TCP is limited by its sliding window
58 \brief Create and connect a datagram socket.
111 The maximum size for datagram sockets is 32768 bytes.
119 \brief Send a single datagram to the given address
124 \param address the host to send the datagram to
125 \param buffer datagram contents
[all …]
/haiku/data/system/data/network/
H A Dprotocols12 st2 5 ST ST2 # ST2 datagram mode
24 udp 17 UDP # user datagram protocol
34 rdp 27 RDP # "reliable datagram" protocol