summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/veth.h
blob: e0d6fd435299a0a37cd139632c6b8324a177ec8e (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 hw_addr_data hw_addr_peer;
};

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