xref: /minix3/minix/include/net/gen/udp_hdr.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 /*
2 server/ip/gen/udp_hdr.h
3 */
4 
5 #ifndef __SERVER__IP__GEN__UDP_HDR_H__
6 #define __SERVER__IP__GEN__UDP_HDR_H__
7 
8 /*
9  * Included for compatibility with programs which assume udp_io_hdr_t to be
10  * defined in this header file
11  */
12 #include "udp_io_hdr.h"
13 
14 typedef struct udp_hdr
15 {
16 	udpport_t uh_src_port;
17 	udpport_t uh_dst_port;
18 	u16_t uh_length;
19 	u16_t uh_chksum;
20 } udp_hdr_t;
21 
22 #endif /* __SERVER__IP__GEN__UDP_HDR_H__ */
23