diff mbox series

[iproute2-next,1/3] uapi: tunsrc support

Message ID 20240809131419.30732-2-justin.iurman@uliege.be (mailing list archive)
State Rejected
Delegated to: David Ahern
Headers show
Series add support for tunsrc | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Justin Iurman Aug. 9, 2024, 1:14 p.m. UTC
Add support for "tunsrc" in the api.

Note: either include this commit or pull uapi from net-next.

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
---
 include/uapi/linux/ioam6_iptunnel.h | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/include/uapi/linux/ioam6_iptunnel.h b/include/uapi/linux/ioam6_iptunnel.h
index 750357b7..9c6171ea 100644
--- a/include/uapi/linux/ioam6_iptunnel.h
+++ b/include/uapi/linux/ioam6_iptunnel.h
@@ -50,6 +50,13 @@  enum {
 	IOAM6_IPTUNNEL_FREQ_K,		/* u32 */
 	IOAM6_IPTUNNEL_FREQ_N,		/* u32 */
 
+	/* Tunnel src address.
+	 * For encap,auto modes.
+	 * Optional (automatic if
+	 * not provided).
+	 */
+	IOAM6_IPTUNNEL_SRC,             /* struct in6_addr */
+
 	__IOAM6_IPTUNNEL_MAX,
 };