]>
Commit | Line | Data |
---|---|---|
1 | /* SPDX-License-Identifier: LGPL-2.1+ */ | |
2 | #pragma once | |
3 | ||
4 | /*** | |
5 | Copyright © 2016 Andreas Rammhold <andreas@rammhold.de> | |
6 | ***/ | |
7 | ||
8 | typedef struct Vrf Vrf; | |
9 | ||
10 | #include "netdev/netdev.h" | |
11 | ||
12 | struct Vrf { | |
13 | NetDev meta; | |
14 | ||
15 | uint32_t table; | |
16 | }; | |
17 | ||
18 | DEFINE_NETDEV_CAST(VRF, Vrf); | |
19 | extern const NetDevVTable vrf_vtable; |