summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2015-04-10 14:22:23 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2015-04-10 14:22:23 +0200
commitb491d9757d14415edcb1468ed896a704d0f0cfe7 (patch)
tree477707170048989accc9ea69cd6ac5edae7b1aec /include/net.h
parent79d75d752717fb4106ec49abaddbd7744c775a35 (diff)
parent385a08a60f042061b004642d6b9bb6cfb794ad5a (diff)
downloadu-boot-imx-b491d9757d14415edcb1468ed896a704d0f0cfe7.zip
u-boot-imx-b491d9757d14415edcb1468ed896a704d0f0cfe7.tar.gz
u-boot-imx-b491d9757d14415edcb1468ed896a704d0f0cfe7.tar.bz2
Merge branch 'u-boot/master'
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 43e3d28..237c932 100644
--- a/include/net.h
+++ b/include/net.h
@@ -191,6 +191,8 @@ struct ethernet_hdr {
/* Ethernet header size */
#define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr))
+#define ETH_FCS_LEN 4 /* Octets in the FCS */
+
struct e802_hdr {
uchar et_dest[6]; /* Destination node */
uchar et_src[6]; /* Source node */