netdev: Add netdev struct definition

This commit is contained in:
Denis Kenzior 2016-06-01 15:26:02 -05:00
parent 8113f4c64e
commit 7c359ee2c2
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@
#include "src/wiphy.h"
#include "src/netdev.h"
struct netdev {
uint32_t index;
char name[IFNAMSIZ];
uint32_t type;
uint8_t addr[ETH_ALEN];
};
static struct l_netlink *rtnl = NULL;
static struct l_genl_family *nl80211;