summaryrefslogtreecommitdiff
path: root/ethertype.h
diff options
context:
space:
mode:
authorSteven H. Wang <wang.steven.h@gmail.com>2017-03-20 13:07:02 -0700
committerDenis Ovsienko <denis@ovsienko.info>2017-04-02 09:08:17 +0100
commit99f6d01b24d037f4d69ad098f085d98e3d1b73b4 (patch)
tree3678e5dcaddd072fa7eb3b712a4bb82ce9228a54 /ethertype.h
parent8cf42af454be32c3f41fd159ba41839fa2724fd5 (diff)
downloadtcpdump-99f6d01b24d037f4d69ad098f085d98e3d1b73b4.tar.gz
add NSH ethertype
https://tools.ietf.org/html/draft-ietf-sfc-nsh-12#section-12.1
Diffstat (limited to 'ethertype.h')
-rw-r--r--ethertype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethertype.h b/ethertype.h
index 2aa53a08..f38ec8e4 100644
--- a/ethertype.h
+++ b/ethertype.h
@@ -145,6 +145,9 @@
#ifndef ETHERTYPE_PPPOES
#define ETHERTYPE_PPPOES 0x8864
#endif
+#ifndef ETHERTYPE_NSH
+#define ETHERTYPE_NSH 0x894F
+#endif
#ifndef ETHERTYPE_PPPOED2
#define ETHERTYPE_PPPOED2 0x3c12
#endif