minix/common/include/net/gen/udp_hdr.h
Tomas Hruby 77172e23f7 LWIP - udp_io_hdr.h
lwip server needs to include struct udp_io_hdr but must not include
struct udp-hdr as it conflicts with its internal type. So it is split
into to files now.
2011-04-07 07:43:03 +00:00

22 lines
416 B
C

/*
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__ */