History

ovpn: add basic interface creation/destruction/management routines

Add basic infrastructure for handling ovpn interfaces.

Antonio Quartulli committed 1 year ago

Commit c2d950c1 parent b7a63398 files · +201 −2Browse files

Showing the changes to include/uapi (1 of 8 files). Show all

Unified · Split

include/uapi/linux/if_link.h+15−0
@@ -1986,4 +1986,19 @@ enum { · 1985 unmodified lines
19861986
19871987 #define IFLA_DSA_MAX (__IFLA_DSA_MAX - 1)
19881988
1989+/* OVPN section */
1990+
1991+enum ovpn_mode {
1992+ OVPN_MODE_P2P,
1993+ OVPN_MODE_MP,
1994+};
1995+
1996+enum {
1997+ IFLA_OVPN_UNSPEC,
1998+ IFLA_OVPN_MODE,
1999+ __IFLA_OVPN_MAX,
2000+};
2001+
2002+#define IFLA_OVPN_MAX (__IFLA_OVPN_MAX - 1)
2003+
19892004 #endif /* _UAPI_LINUX_IF_LINK_H */