mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 21:10:32 +01:00
libnm-util: add missing device types to NMDeviceType
Althoug we don't fully backport the new device types, at least add the types to the NMDeviceType enum. Based-on-patch-by: Jiří Klimeš <jklimes@redhat.com>
This commit is contained in:
parent
71962881a8
commit
8852b219a2
1 changed files with 4 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ typedef enum {
|
|||
* @NM_DEVICE_TYPE_TEAM: a team master interface
|
||||
* @NM_DEVICE_TYPE_TUN: a TUN/TAP interface
|
||||
* @NM_DEVICE_TYPE_IP_TUNNEL: an IP tunnel interface
|
||||
* @NM_DEVICE_TYPE_MACVLAN: a MACVLAN interface
|
||||
* @NM_DEVICE_TYPE_VXLAN: a VXLAN interface
|
||||
*
|
||||
* #NMDeviceType values indicate the type of hardware represented by
|
||||
* an #NMDevice.
|
||||
|
|
@ -178,6 +180,8 @@ typedef enum {
|
|||
NM_DEVICE_TYPE_TEAM = 15,
|
||||
NM_DEVICE_TYPE_TUN = 16,
|
||||
NM_DEVICE_TYPE_IP_TUNNEL = 17,
|
||||
NM_DEVICE_TYPE_MACVLAN = 18,
|
||||
NM_DEVICE_TYPE_VXLAN = 19,
|
||||
} NMDeviceType;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue