bce(4): Add more definition for the RX frame header
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 3 Jul 2011 08:10:07 +0000 (16:10 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 3 Jul 2011 08:10:07 +0000 (16:10 +0800)
Obtained-from: FreeBSD 218423

sys/dev/netif/bce/if_bcereg.h

index c08b4f8..9360109 100644 (file)
@@ -936,6 +936,7 @@ struct l2_fhdr {
 #define L2_FHDR_ERRORS_ALIGNMENT       (1<<19)
 #define L2_FHDR_ERRORS_TOO_SHORT       (1<<20)
 #define L2_FHDR_ERRORS_GIANT_FRAME     (1<<21)
+#define L2_FHDR_ERRORS_IPV4_BAD_LEN    (1<<22)
 #define L2_FHDR_ERRORS_TCP_XSUM                (1<<28)
 #define L2_FHDR_ERRORS_UDP_XSUM                (1<<31)