summaryrefslogtreecommitdiff
path: root/minix/include/net/gen/udp_hdr.h
blob: 671f93e9d06f628469b427a0e3f97b431511f104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
server/ip/gen/udp_hdr.h
*/

#ifndef __SERVER__IP__GEN__UDP_HDR_H__
#define __SERVER__IP__GEN__UDP_HDR_H__

/*
 * Included for compatibility with programs which assume udp_io_hdr_t to be
 * defined in this header file
 */
#include "udp_io_hdr.h"

typedef struct udp_hdr
{
	udpport_t uh_src_port;
	udpport_t uh_dst_port;
	u16_t uh_length;
	u16_t uh_chksum;
} udp_hdr_t;

#endif /* __SERVER__IP__GEN__UDP_HDR_H__ */