Improve comment.
authorBen Pfaff <blp@nicira.com>
Fri, 28 Mar 2008 00:46:35 +0000 (17:46 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Mar 2008 00:50:33 +0000 (17:50 -0700)
include/packets.h

index a9dfe88b88f2b8f492ee4db5034087aa56c1afc6..fc753815e6fb424090862abe8c44338001986ff4 100644 (file)
@@ -75,7 +75,7 @@ BUILD_ASSERT_DECL(VLAN_HEADER_LEN == sizeof(struct vlan_header));
 struct vlan_eth_header {
     uint8_t veth_dst[ETH_ADDR_LEN];
     uint8_t veth_src[ETH_ADDR_LEN];
-    uint16_t veth_type;
+    uint16_t veth_type;         /* Always htons(ETH_TYPE_VLAN). */
     uint16_t veth_tci;          /* Lowest 12 bits are VLAN ID. */
     uint16_t veth_next_type;
 };