datapath: Convert odp_flow_key to use Netlink attributes instead.
[openvswitch] / lib / packets.h
index 39e88f1f571b35c28c5e2de5cba02388eda50ac3..96e23e18ab6a12db12ab38717d55d59f07b99f3c 100644 (file)
@@ -155,6 +155,10 @@ void compose_benign_packet(struct ofpbuf *, const char *tag,
 #define ETH_TYPE_VLAN          0x8100
 #define ETH_TYPE_CFM           0x8902
 
+/* Minimum value for an Ethernet type.  Values below this are IEEE 802.2 frame
+ * lengths. */
+#define ETH_TYPE_MIN           0x600
+
 #define ETH_HEADER_LEN 14
 #define ETH_PAYLOAD_MIN 46
 #define ETH_PAYLOAD_MAX 1500