Debian Codegraph @

src/network/netdev/ifb.c

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later
2 * Copyright © 2019 VMware, Inc. */
3
4 #include <linux/if_arp.h>
5
6 #include "ifb.h"
7
8 const NetDevVTable ifb_vtable = {
9 .object_size = sizeof(IntermediateFunctionalBlock),
10 .sections = NETDEV_COMMON_SECTIONS,
11 .create_type = NETDEV_CREATE_INDEPENDENT,
12 .iftype = ARPHRD_ETHER,
13 .generate_mac = true,
14 };