summaryrefslogtreecommitdiff
path: root/lib/ip.h
diff options
context:
space:
mode:
authorTrisha Biswas <tbiswas@fastly.com>2021-05-17 17:50:04 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-17 17:50:04 +0200
commite5468d16855600aeb8172e29936789c46ea58da0 (patch)
tree0480a2e2124bfe69a72cdaa6e82a6bb0a76d63af /lib/ip.h
parentd114959e3aeef872441dccea34552047380af742 (diff)
Filter: Add MPLS label route attribute
Add support to set or read outgoing MPLS labels using filters. Currently this supports the addition of one label per route for the first next hop. Minor changes by committer.
Diffstat (limited to 'lib/ip.h')
-rw-r--r--lib/ip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ip.h b/lib/ip.h
index f3b1cc31..5b179acb 100644
--- a/lib/ip.h
+++ b/lib/ip.h
@@ -47,6 +47,8 @@
#define IP6_HEADER_LENGTH 40
#define UDP_HEADER_LENGTH 8
+#define MPLS_NULL 3
+
/* IANA Address Family Numbers */
/* https://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml */