aboutsummaryrefslogtreecommitdiff
blob: 90cd5d42d784ff00170a04314fb294017f19155a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

/***
  This file is part of systemd.

  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;