summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:58:11 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:16 -0500
commitda5ebe2c9ad65a1534e61459d4ec0d80c41ddb0e (patch)
treee8e0dcaec930815da4053d048f959bd657620311 /include/net.h
parent206d07fd7cbe69c8086a9b68f28b36e7b5ab9f08 (diff)
downloadtalos-obmc-uboot-da5ebe2c9ad65a1534e61459d4ec0d80c41ddb0e.tar.gz
talos-obmc-uboot-da5ebe2c9ad65a1534e61459d4ec0d80c41ddb0e.zip
net: cosmetic: Add a more explicit comment about 802.2
Make the comment more accurate about the header including SNAP Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index ff66073e6e..730af4f165 100644
--- a/include/net.h
+++ b/include/net.h
@@ -179,11 +179,11 @@ struct e802_hdr {
ushort et_prot; /* 802 protocol */
};
-/* 802 ethernet header size */
+/* 802 + SNAP + ethernet header size */
#define E802_HDR_SIZE (sizeof(struct e802_hdr))
/*
- * Ethernet header
+ * Virtual LAN Ethernet header
*/
struct vlan_ethernet_hdr {
uchar vet_dest[6]; /* Destination node */
OpenPOWER on IntegriCloud