mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-01 23:20:40 +02:00
platform: fix build failures due to missing VTI definitions
Older kernel headers don't ship definitions for IFLA_VTI_*, redefine them. Fixes:1cf8df2f35('platform: support VTI tunnels') Fixes:b669a3ae46('platform: support VTI6 tunnels')
This commit is contained in:
parent
f2974b1c61
commit
115102efe9
1 changed files with 10 additions and 0 deletions
|
|
@ -222,6 +222,16 @@ G_STATIC_ASSERT(RTA_MAX == (__RTA_MAX - 1));
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#define IFLA_VTI_UNSPEC 0
|
||||
#define IFLA_VTI_LINK 1
|
||||
#define IFLA_VTI_IKEY 2
|
||||
#define IFLA_VTI_OKEY 3
|
||||
#define IFLA_VTI_LOCAL 4
|
||||
#define IFLA_VTI_REMOTE 5
|
||||
#define IFLA_VTI_FWMARK 6
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#define WG_CMD_GET_DEVICE 0
|
||||
#define WG_CMD_SET_DEVICE 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue