]> The Tcpdump Group git mirrors - tcpdump/blobdiff - mpls.h
Makefile.in: don't remove configure and config.h.in in make distclean.
[tcpdump] / mpls.h
diff --git a/mpls.h b/mpls.h
index ae1c97e67ee0140547f7d3e8a38b48b39832d7f1..d7e8fc1449466481dabc6c5ca854b0c0e7d62864 100644 (file)
--- a/mpls.h
+++ b/mpls.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/mpls.h,v 1.1 2004-06-14 14:47:58 hannes Exp $ (LBL)
+/*
  * Copyright (C) 2001 WIDE Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 
 #define LABEL_MASK     0xfffff000
 #define LABEL_SHIFT    12
-#define        EXP_MASK        0x00000e00
-#define EXP_SHIFT      9
+#define        TC_MASK         0x00000e00
+#define TC_SHIFT       9
 #define        STACK_MASK      0x00000100
 #define STACK_SHIFT    8
 #define TTL_MASK       0x000000ff
 #define TTL_SHIFT      0
 
 #define MPLS_LABEL(x)  (((x) & LABEL_MASK) >> LABEL_SHIFT)
-#define MPLS_EXP(x)    (((x) & EXP_MASK) >> EXP_SHIFT)
+#define MPLS_TC(x)     (((x) & TC_MASK) >> TC_SHIFT)
 #define MPLS_STACK(x)  (((x) & STACK_MASK) >> STACK_SHIFT)
 #define MPLS_TTL(x)    (((x) & TTL_MASK) >> TTL_SHIFT)