#include <stdbool.h>
#include <stdint.h>
#include <linux/if_ether.h>
+#include <net/if.h>
#include "openvswitch/types.h"
/* Common attributes. */
int if_index; /* Index of network device. */
- const char *ifname; /* Name of network device. */
+ char ifname[IFNAMSIZ]; /* Name of network device. */
/* Network device link status. */
int master_ifindex; /* Ifindex of datapath master (0 if none). */