summaryrefslogtreecommitdiff
path: root/src/network/netdev/veth.h
blob: 71684a7b4f33cd41049e30fb702dc59c16b8c8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

/***
  Copyright © 2014 Tom Gundersen <teg@jklm.no>
***/

typedef struct Veth Veth;

#include "netdev/netdev.h"

struct Veth {
        NetDev meta;

        char *ifname_peer;
        struct ether_addr *mac_peer;
};

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