X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-linux.c;h=e756d88a9458648eec7de4d5abe911ef9639de62;hb=0f0b5401fe0fb7526da142e9e425afa08dd519f3;hp=9c1a36db181e97736ad95f17ae685f9f1f7e3496;hpb=b73c85181df9cc38231a42d6f8095dcb604d230a;p=sliver-openvswitch.git diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 9c1a36db1..e756d88a9 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011, 2012, 2013 Nicira, Inc. + * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,11 +20,11 @@ #include #include +#include #include #include #include #include -#include #include #include #include @@ -37,8 +37,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -116,6 +118,9 @@ COVERAGE_DEFINE(netdev_set_ethtool); * With all this churn it's easiest to unconditionally define a replacement * structure that has everything we want. */ +#ifndef PACKET_AUXDATA +#define PACKET_AUXDATA 8 +#endif #ifndef TP_STATUS_VLAN_VALID #define TP_STATUS_VLAN_VALID (1 << 4) #endif