Searched refs:NETDEV_VTABLE (Results 1 – 2 of 2) sorted by relevance
216 NETDEV_VTABLE(netdev) && in netdev_free()217 NETDEV_VTABLE(netdev)->done) in netdev_free()218 NETDEV_VTABLE(netdev)->done(netdev); in netdev_free()279 if (NETDEV_VTABLE(netdev)->post_create) in netdev_enter_ready()280 NETDEV_VTABLE(netdev)->post_create(netdev, NULL); in netdev_enter_ready()356 if (!NETDEV_VTABLE(netdev)->skip_netdev_kind_check) { in netdev_set_ifindex()427 if (!NETDEV_VTABLE(netdev)->generate_mac) in netdev_generate_hw_addr()430 if (!IN_SET(NETDEV_VTABLE(netdev)->iftype, ARPHRD_ETHER, ARPHRD_INFINIBAND)) in netdev_generate_hw_addr()440 a.length = arphrd_to_hw_addr_len(NETDEV_VTABLE(netdev)->iftype); in netdev_generate_hw_addr()442 switch (NETDEV_VTABLE(netdev)->iftype) { in netdev_generate_hw_addr()[all …]
179 #define NETDEV_VTABLE(n) ((n)->kind != _NETDEV_KIND_INVALID ? netdev_vtable[(n)->kind] : NULL) macro218 assert(NETDEV_VTABLE(netdev)); in netdev_get_create_type()220 return NETDEV_VTABLE(netdev)->create_type; in netdev_get_create_type()