/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | udp.c | 196 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 D | gdbudp.c | 65 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 D | udp.h | 69 struct udphdr struct 76 AssertCompileSize(struct udphdr, 8); 84 struct udphdr ui_u; /* udp header */
|
H A D | bootp.h | 118 struct udphdr udp; /**< header: UDP header */
|
H A D | udp.c | 90 register struct udphdr *uh; 119 uh = (struct udphdr *)((caddr_t)ip + iphlen); 300 iphlen += sizeof(struct udphdr);
|
H A D | ip_icmp.c | 168 struct udphdr *udp; 228 udp = (struct udphdr *)((char *)ip + (ip->ip_hl << 2));
|
H A D | bootp.c | 831 - sizeof(struct udphdr); 832 m->m_data += sizeof(struct udphdr)
|
H A D | slirp.h | 398 # define udp_next(udp) (void *)((uint8_t *)&((struct udphdr *)(udp))[1])
|
H A D | tftp.c | 88 struct udphdr UdpHdr;
|
/vbox/src/VBox/Devices/Network/lwip/src/core/ |
H A D | udp.c | 88 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 D | udp.c | 165 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 D | udp.h | 100 void udp_debug_print(struct udp_hdr *udphdr); 102 #define udp_debug_print(udphdr)
|
/vbox/src/VBox/Devices/Network/slirp/libalias/ |
H A D | alias_cuseeme.c | 178 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 D | alias_local.h | 364 udp_next(struct udphdr *udphdr) argument 366 return ((void *)(udphdr + 1));
|
H A D | alias.c | 351 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 D | alias_dns.c | 125 + sizeof(struct udphdr) 204 struct udphdr *udp = NULL; 208 udp = (struct udphdr *)ip_next(pIp);
|
H A D | alias_nbt.c | 427 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 D | udp.h | 231 void udp_debug_print(struct udp_hdr *udphdr); 233 #define udp_debug_print(udphdr)
|
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/ |
H A D | dnsproxy.c | 141 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 D | bootp.h | 220 struct udphdr udp;
|
/vbox/src/VBox/GuestHost/OpenGL/util/ |
H A D | udptcpip.c | 130 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 D | msg_in.c | 801 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 D | ip4.c | 500 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 D | api_msg.c | 184 const struct udp_hdr* udphdr = ipX_next_header_ptr(); local 189 buf->toport_chksum = udphdr->dest;
|