more stack for boot
[minix.git] / include / net / gen / udp_hdr.h
blob1c7caf5d95377158f4fa0771f5c6477569ca26b8
1 /*
2 server/ip/gen/udp_hdr.h
3 */
5 #ifndef __SERVER__IP__GEN__UDP_HDR_H__
6 #define __SERVER__IP__GEN__UDP_HDR_H__
8 typedef struct udp_hdr
10 udpport_t uh_src_port;
11 udpport_t uh_dst_port;
12 u16_t uh_length;
13 u16_t uh_chksum;
14 } udp_hdr_t;
16 typedef struct udp_io_hdr
18 ipaddr_t uih_src_addr;
19 ipaddr_t uih_dst_addr;
20 udpport_t uih_src_port;
21 udpport_t uih_dst_port;
22 u16_t uih_ip_opt_len;
23 u16_t uih_data_len;
24 } udp_io_hdr_t;
26 #endif /* __SERVER__IP__GEN__UDP_HDR_H__ */