summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/ifb.c
blob: d7ff44cb9ea683fab3a4154511619b1608d125cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: LGPL-2.1-or-later
 * Copyright © 2019 VMware, Inc. */

#include <linux/if_arp.h>

#include "ifb.h"

const NetDevVTable ifb_vtable = {
        .object_size = sizeof(IntermediateFunctionalBlock),
        .sections = NETDEV_COMMON_SECTIONS,
        .create_type = NETDEV_CREATE_INDEPENDENT,
        .iftype = ARPHRD_ETHER,
        .generate_mac = true,
};