From: Vincent Jardin <vjar…@free.fr>
Describe the attributes of the LISP devices.
Signed-off-by: Vincent Jardin <vjar…@free.fr>
---
Documentation/netlink/specs/rt-link.yaml | 41 ++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index 81b58633911d..0db51fa49543 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -2368,6 +2368,44 @@ attribute-sets:
name: mode
type: u8
enum: ovpn-mode
+ -
+ name: linkinfo-lisp-attrs
+ name-prefix: ifla-lisp-
+ attributes:
+ -
+ name: id
+ type: u32
+ checks:
+ max: 16777215
+ doc: |
+ Instance ID of the packets that the device sends and receives,
+ 24 bits. Either this attribute or collect-metadata is required,
+ not both.
+ -
+ name: collect-metadata
+ type: flag
+ doc: |
+ The device takes the instance ID of the packets that it sends
+ from their tunnel metadata. It receives the instance IDs that
+ have no device, and provides the instance ID as tunnel metadata.
+ Either this attribute or id is required, not both.
+ -
+ name: local
+ type: u32
+ byte-order: big-endian
+ display-hint: ipv4
+ doc: |
+ Source address of the packets sent to an IPv4 RLOC, when the
+ tunnel metadata do not give it.
+ -
+ name: local6
+ type: binary
+ display-hint: ipv6
+ checks:
+ exact-len: 16
+ doc: |
+ Source address of the packets sent to an IPv6 RLOC, when the
+ tunnel metadata do not give it.
sub-messages:
-
@@ -2427,6 +2465,9 @@ sub-messages:
-
value: ovpn
attribute-set: linkinfo-ovpn-attrs
+ -
+ value: lisp
+ attribute-set: linkinfo-lisp-attrs
-
name: linkinfo-member-data-msg
formats:
--
2.43.0