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

/***
  Copyright 2016 Andreas Rammhold <andreas@rammhold.de>
***/

typedef struct Vrf Vrf;

#include "netdev/netdev.h"

struct Vrf {
        NetDev meta;

        uint32_t table;
};

DEFINE_NETDEV_CAST(VRF, Vrf);
extern const NetDevVTable vrf_vtable;