OpenBSD/src gHndfJrusr.sbin/tcpdump print-gre.c

   handle ERSPAN type I

   type I and II share their GRE protocol, but you tell them apart by
   checking if a sequence number is used. type I does not use a sequence
   number and contains a bare ethernet frame. type II contains a
   sequence number and a shim header that is already handled by the
   code.

   tested with a Dell S5048F-ON and an encapsulated remote port mirror setup.
VersionDeltaFile
1.26+10-4usr.sbin/tcpdump/print-gre.c
+10-41 files

UnifiedSplitRaw