xref: /minix3/minix/include/net/gen/eth_hdr.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc /*
2*433d6423SLionel Sambuc server/ip/gen/eth_hdr.h
3*433d6423SLionel Sambuc */
4*433d6423SLionel Sambuc 
5*433d6423SLionel Sambuc #ifndef __SERVER__IP__GEN__ETH_HDR_H__
6*433d6423SLionel Sambuc #define __SERVER__IP__GEN__ETH_HDR_H__
7*433d6423SLionel Sambuc 
8*433d6423SLionel Sambuc #include <net/if_ether.h>
9*433d6423SLionel Sambuc 
10*433d6423SLionel Sambuc typedef struct eth_hdr
11*433d6423SLionel Sambuc {
12*433d6423SLionel Sambuc 	ether_addr_t eh_dst;
13*433d6423SLionel Sambuc 	ether_addr_t eh_src;
14*433d6423SLionel Sambuc 	ether_type_t eh_proto;
15*433d6423SLionel Sambuc } eth_hdr_t;
16*433d6423SLionel Sambuc 
17*433d6423SLionel Sambuc #endif /* __SERVER__IP__GEN__ETH_HDR_H__ */
18