minix/include/net/gen/eth_hdr.h
Ben Gras 6cf86998df <net/if_ether.h>
Change-Id: I7425aae72ab43e3fcec8373f7c589273d36f7fcb
2014-03-03 20:47:04 +01:00

18 lines
288 B
C

/*
server/ip/gen/eth_hdr.h
*/
#ifndef __SERVER__IP__GEN__ETH_HDR_H__
#define __SERVER__IP__GEN__ETH_HDR_H__
#include <net/if_ether.h>
typedef struct eth_hdr
{
ether_addr_t eh_dst;
ether_addr_t eh_src;
ether_type_t eh_proto;
} eth_hdr_t;
#endif /* __SERVER__IP__GEN__ETH_HDR_H__ */