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>
diff --git a/include/net.h b/include/net.h
index ff66073..730af4f 100644
--- a/include/net.h
+++ b/include/net.h
@@ -179,11 +179,11 @@
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 */