X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fethernet.h;h=a8b642033d7185ab35113cc71a24420877201117;hb=8d7a4c48cac3708dc8bc88b7d6ede01b80268b4d;hp=b759ab3feb867a27c59e3a7f7fb48f4b4c59548e;hpb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80;p=meshlink diff --git a/src/ethernet.h b/src/ethernet.h index b759ab3f..a8b64203 100644 --- a/src/ethernet.h +++ b/src/ethernet.h @@ -41,6 +41,10 @@ #define ETH_P_IPV6 0x86DD #endif +#ifndef ETH_P_8021Q +#define ETH_P_8021Q 0x8100 +#endif + #ifndef HAVE_STRUCT_ETHER_HEADER struct ether_header { uint8_t ether_dhost[ETH_ALEN];