summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-03-26 22:13:11 -0400
committerTom Rini <trini@konsulko.com>2015-03-26 22:13:11 -0400
commit10af87817a3d924bfbfce0cc323f9785cccdb131 (patch)
tree2ca16e5060d3e6b968cfed645d0713bf5ab7734a /include/net.h
parentf643d9294f45487f22e8f33d6572530f17eff4e9 (diff)
parent6f1eba49a558421e3fcb06ab0addc12b9a3804c6 (diff)
downloadblackbird-obmc-uboot-10af87817a3d924bfbfce0cc323f9785cccdb131.tar.gz
blackbird-obmc-uboot-10af87817a3d924bfbfce0cc323f9785cccdb131.zip
Merge branch 'master' of git://git.denx.de/u-boot-x86
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 43e3d28729..237c932be3 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 */
OpenPOWER on IntegriCloud