Searched refs:udphdr (Results 1 - 24 of 24) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dudp.c196 struct udp_header *udphdr; local
214 udphdr = iob_push ( iobuf, sizeof ( *udphdr ) );
216 udphdr->dest = dest->st_port;
217 udphdr->src = src->st_port;
218 udphdr->len = htons ( len );
219 udphdr->chksum = 0;
220 udphdr->chksum = tcpip_chksum ( udphdr, len );
224 ntohs ( udphdr
274 struct udp_header *udphdr = iobuf->data; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dgdbudp.c65 struct udp_header *udphdr; local
123 if ( iob_len ( iob ) < sizeof ( *udphdr ) ) {
126 udphdr = iob->data;
127 if ( udphdr->dest != source_addr.sin_port ) {
134 dest_addr.sin_port = udphdr->src;
137 payload_len = ntohs ( udphdr->len );
138 if ( payload_len < sizeof ( *udphdr ) || payload_len > iob_len ( iob ) ) {
141 payload_len -= sizeof ( *udphdr );
142 iob_pull ( iob, sizeof ( *udphdr ) );
162 struct udp_header *udphdr; local
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dudp.h69 struct udphdr struct
76 AssertCompileSize(struct udphdr, 8);
84 struct udphdr ui_u; /* udp header */
H A Dbootp.h118 struct udphdr udp; /**< header: UDP header */
H A Dudp.c90 register struct udphdr *uh;
119 uh = (struct udphdr *)((caddr_t)ip + iphlen);
300 iphlen += sizeof(struct udphdr);
H A Dip_icmp.c168 struct udphdr *udp;
228 udp = (struct udphdr *)((char *)ip + (ip->ip_hl << 2));
H A Dbootp.c831 - sizeof(struct udphdr);
832 m->m_data += sizeof(struct udphdr)
H A Dslirp.h398 # define udp_next(udp) (void *)((uint8_t *)&((struct udphdr *)(udp))[1])
H A Dtftp.c88 struct udphdr UdpHdr;
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dudp.c88 struct udp_hdr *udphdr; local
114 udphdr = (struct udp_hdr *)p->payload;
118 src = ntohs(udphdr->src);
119 dest = ntohs(udphdr->dest);
121 udp_debug_print(udphdr);
128 ip4_addr3(&iphdr->dest), ip4_addr4(&iphdr->dest), ntohs(udphdr->dest),
130 ip4_addr3(&iphdr->src), ip4_addr4(&iphdr->src), ntohs(udphdr->src)));
183 IP_PROTO_UDPLITE, ntohs(udphdr->len)) != 0) {
195 if (udphdr->chksum != 0) {
297 struct udp_hdr *udphdr; local
648 udp_debug_print(struct udp_hdr *udphdr) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dudp.c165 struct udp_hdr *udphdr; local
189 udphdr = (struct udp_hdr *)p->payload;
201 src = ntohs(udphdr->src);
202 dest = ntohs(udphdr->dest);
204 udp_debug_print(udphdr);
209 LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F") <-- (", ntohs(udphdr->dest)));
211 LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", ntohs(udphdr->src)));
331 u16_t chklen = ntohs(udphdr->len);
351 if (udphdr->chksum != 0) {
505 struct udp_hdr *udphdr; local
862 struct udp_hdr *udphdr; local
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dudp.h100 void udp_debug_print(struct udp_hdr *udphdr);
102 #define udp_debug_print(udphdr)
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_cuseeme.c178 struct udphdr *ud = ip_next(pip);
180 if (ntohs(ud->uh_ulen) - sizeof(struct udphdr) >= sizeof(struct cu_header)) {
202 struct udphdr *ud;
H A Dalias_local.h364 udp_next(struct udphdr *udphdr) argument
366 return ((void *)(udphdr + 1));
H A Dalias.c351 struct udphdr *ud;
360 ud = (struct udphdr *)ip_next(ip);
534 struct udphdr *ud;
542 ud = (struct udphdr *)ip_next(ip);
734 struct udphdr *ud;
742 ud = (struct udphdr *)ip_next(pip);
799 struct udphdr *ud;
808 ud = (struct udphdr *)ip_next(pip);
1477 struct udphdr *ud;
1490 ud = (struct udphdr *)ip_nex
[all...]
H A Dalias_dns.c125 + sizeof(struct udphdr)
204 struct udphdr *udp = NULL;
208 udp = (struct udphdr *)ip_next(pIp);
H A Dalias_nbt.c427 struct udphdr *uh;
436 uh = (struct udphdr *)ip_next(pip);
866 struct udphdr *uh;
882 uh = (struct udphdr *)ip_next(pip);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dudp.h231 void udp_debug_print(struct udp_hdr *udphdr);
233 #define udp_debug_print(udphdr)
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/
H A Ddnsproxy.c141 struct udphdr *udp;
157 udp = (struct udphdr *)&ip[1]; /* ip attributes */
162 m->m_len += sizeof(struct udphdr);
220 struct udphdr *udp;
327 udp = (struct udphdr *)(m->m_data + iphlen);
335 iphlen += sizeof (struct udphdr);
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dbootp.h220 struct udphdr udp;
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dudptcpip.c130 opt -= sizeof(conn->seq) + sizeof(struct udphdr) + sizeof(struct ip6_hdr);
718 opt -= sizeof(conn->seq) + sizeof(struct udphdr) + sizeof(struct ip6_hdr);
/vbox/src/VBox/Devices/Network/lwip/src/core/snmp/
H A Dmsg_in.c801 struct udp_hdr *udphdr; local
807 udphdr = p->payload;
810 if ((pcb == snmp1_pcb) && (ntohs(udphdr->dest) == 161))
839 payload_len = ntohs(udphdr->len) - UDP_HLEN;
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dip4.c500 struct udp_hdr *udphdr = (struct udp_hdr *)((u8_t *)iphdr + iphdr_hlen); local
502 ntohs(udphdr->dest)));
503 if (IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(udphdr->dest)) {
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dapi_msg.c184 const struct udp_hdr* udphdr = ipX_next_header_ptr(); local
189 buf->toport_chksum = udphdr->dest;

Completed in 1015 milliseconds