network: add NetDevVTable::generate_mac flag

This commit is contained in:
Yu Watanabe
2019-05-28 22:45:35 +09:00
parent 6bf901a9b5
commit daf0f8ca87
16 changed files with 29 additions and 1 deletions
+1
View File
@@ -7,4 +7,5 @@ const NetDevVTable netdevsim_vtable = {
.object_size = sizeof(NetDevSim),
.sections = "Match\0NetDev\0",
.create_type = NETDEV_CREATE_INDEPENDENT,
.generate_mac = true,
};