The Windows kernel datapath needs the definition of 'IFNAMSIZ' for specifying attribute sizes in netlink policies. Adding the definition of 'IFNAMSIZ' to be part of OvsDpInterface.h similar to ETH_ADDR_LEN.
Signed-off-by: Nithin Raju <nit...@vmware.com> Acked-by: Samuel Ghinet <sghi...@cloudbasesolutions.com> --- build-aux/extract-odp-netlink-windows-dp-h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/build-aux/extract-odp-netlink-windows-dp-h b/build-aux/extract-odp-netlink-windows-dp-h index f2d9f07..70514cb 100755 --- a/build-aux/extract-odp-netlink-windows-dp-h +++ b/build-aux/extract-odp-netlink-windows-dp-h @@ -18,7 +18,8 @@ s,<linux/types\.h>,"Types.h", # Add ETH_ADDR_LEN macro to avoid including userspace packet.h s,#include <linux/if_ether\.h>,\n#ifndef ETH_ADDR_LEN \ -#define ETH_ADDR_LEN 6 \n#endif, +#define ETH_ADDR_LEN 6 \n#endif \ +\n#ifndef IFNAMSIZ \n#define IFNAMSIZ 16 \n#endif, # Use OVS's own ETH_ADDR_LEN instead of Linux-specific ETH_ALEN. s/ETH_ALEN/ETH_ADDR_LEN/ -- 1.7.4.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev