summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:38:46 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:38:46 +0100
commitb26801568ed5aa75797d752b1de458cc4bcac152 (patch)
treea10f4d613305fd77d540283952111d9a2f893549 /lib
parent03ed8f17dc5c8399ed81bef22e34c62301a3cad1 (diff)
parent333ddd4f981b90d5d3dff166b6abf9bf40bede9f (diff)
Merge commit '333ddd4f' into wireguard-next-tmp7-1
Diffstat (limited to 'lib')
-rw-r--r--lib/ip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ip.h b/lib/ip.h
index 0e232f97..f2650d3f 100644
--- a/lib/ip.h
+++ b/lib/ip.h
@@ -385,6 +385,8 @@ static inline ip6_addr ip6_hton(ip6_addr a)
static inline ip6_addr ip6_ntoh(ip6_addr a)
{ return _MI6(ntohl(_I0(a)), ntohl(_I1(a)), ntohl(_I2(a)), ntohl(_I3(a))); }
+#define MPLS_MAX_LABEL 0x100000
+
#define MPLS_MAX_LABEL_STACK 8
typedef struct mpls_label_stack {
uint len;