summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2013-03-14 21:17:53 +0400
committerMichael Richardson <mcr@sandelman.ca>2013-04-14 18:20:26 -0400
commitb10f46c2d6e3755598340ba77895e6631953ccc0 (patch)
treee2b724ba0d3b6bdc48670633f903bfb583c5c643 /interface.h
parentfac122dea6d7ca6e7ae037abadfade3c5e7b1aca (diff)
downloadtcpdump-b10f46c2d6e3755598340ba77895e6631953ccc0.tar.gz
use existing PGM decoder for UDP-encapsulated PGM
The original PGM uses its own IP protocol number. "EPGM" or "PGM/UDP" stands for UDP-encapsulated PGM, which has no assigned UDP port number and can be decoded only by means of -T option, which now accepts "pgm" protocol type for this purpose. There is also a sample capture of EPGM now (similar to the one of native PGM, but produced using the "epgm://" protocol schema) and a respective test case.
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 5703f3d5..053d3051 100644
--- a/interface.h
+++ b/interface.h
@@ -74,6 +74,7 @@ extern char *strsep(char **, const char *);
#define PT_RADIUS 11 /* RADIUS authentication Protocol */
#define PT_ZMTP1 12 /* ZeroMQ Message Transport Protocol 1.0 */
#define PT_VXLAN 13 /* Virtual eXtensible Local Area Network */
+#define PT_PGM 14 /* [UDP-encapsulated] Pragmatic General Multicast */
#ifndef min
#define min(a,b) ((a)>(b)?(b):(a))