| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "netdev.h" |
| 5 |
|
| 6 |
typedef struct Vrf { |
| 7 |
NetDev meta; |
| 8 |
|
| 9 |
uint32_t table; |
| 10 |
} Vrf; |
| 11 |
|
| 12 |
DEFINE_NETDEV_CAST(VRF, Vrf); |
| 13 |
extern const NetDevVTable vrf_vtable; |
| 14 |
|
| 15 |
CONFIG_PARSER_PROTOTYPE(config_parse_vrf_table); |