X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Fethernet.h;h=8bf2b03e52eb704c4ba1407202c50a810b98fbf2;hp=eef5f42407b17b373d425a3b905f922b9302f6b4;hb=aa9d61b5cd0d6dd8b911cfd06f6bb50ec028d0d1;hpb=13739025e0b2d80e462a3bf78bb5823a4db3a47e diff --git a/lib/ethernet.h b/lib/ethernet.h index eef5f424..8bf2b03e 100644 --- a/lib/ethernet.h +++ b/lib/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];