summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/veth.h
blob: 643f737a885373cb5b6b24ba7f835e9d3ecb8623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

typedef struct Veth Veth;

#include "netdev.h"

struct Veth {
        NetDev meta;

        char *ifname_peer;
        struct ether_addr *mac_peer;
};

DEFINE_NETDEV_CAST(VETH, Veth);
extern const NetDevVTable veth_vtable;