network: netdev: add flag to skip kind check

It will be used in later commit.
This commit is contained in:
Yu Watanabe
2022-02-15 16:06:43 +09:00
parent 5d4a925af0
commit 1d4312d5f9
2 changed files with 29 additions and 23 deletions
+3
View File
@@ -173,6 +173,9 @@ typedef struct NetDevVTable {
/* Generate MAC address when MACAddress= is not specified. */
bool generate_mac;
/* When assigning ifindex to the netdev, skip to check if the netdev kind matches. */
bool skip_netdev_kind_check;
} NetDevVTable;
extern const NetDevVTable * const netdev_vtable[_NETDEV_KIND_MAX];