VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/Etherboot-src/include/udp.h@ 545

Last change on this file since 545 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 407 bytes
Line 
1#ifndef _UDP_H
2#define _UDP_H
3
4#include "etherboot.h"
5#include "ip.h"
6
7struct udp_pseudo_hdr {
8 in_addr src;
9 in_addr dest;
10 uint8_t unused;
11 uint8_t protocol;
12 uint16_t len;
13} PACKED;
14struct udphdr {
15 uint16_t src;
16 uint16_t dest;
17 uint16_t len;
18 uint16_t chksum;
19 struct {} payload;
20} PACKED;
21struct udppacket {
22 struct iphdr ip;
23 struct udphdr udp;
24 struct {} payload;
25} PACKED;
26
27#endif /* _UDP_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette