| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "shared-forward.h" |
| 5 |
#include "netdev.h" |
| 6 |
|
| 7 |
typedef struct Xfrm { |
| 8 |
NetDev meta; |
| 9 |
|
| 10 |
uint32_t if_id; |
| 11 |
bool independent; |
| 12 |
} Xfrm; |
| 13 |
|
| 14 |
DEFINE_NETDEV_CAST(XFRM, Xfrm); |
| 15 |
extern const NetDevVTable xfrm_vtable; |