X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/24c920dfa2374a582cb5b0d2615a70a09a6e6dd4..8e573a94ce8a7c9546cbe1aacc996970da42ae38:/interface.h diff --git a/interface.h b/interface.h index ed2ab847..bb794149 100644 --- a/interface.h +++ b/interface.h @@ -74,6 +74,8 @@ 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 */ +#define PT_PGM_ZMTP1 15 /* ZMTP/1.0 inside PGM (native or UDP-encapsulated) */ #ifndef min #define min(a,b) ((a)>(b)?(b):(a)) @@ -314,11 +316,12 @@ extern void mpls_print(const u_char *, u_int); extern void mpls_lsp_ping_print(const u_char *, u_int); extern void zephyr_print(const u_char *, int); extern void zmtp1_print(const u_char *, u_int); +extern void zmtp1_print_datagram(const u_char *, u_int); extern void hsrp_print(const u_char *, u_int); extern void bfd_print(const u_char *, u_int, u_int); extern void sip_print(const u_char *, u_int); extern void syslog_print(const u_char *, u_int); -extern int mptcp_print(const u_char *, u_int); +extern int mptcp_print(const u_char *, u_int, u_char); extern u_int bt_if_print(const struct pcap_pkthdr *, const u_char *); extern u_int usb_linux_48_byte_print(const struct pcap_pkthdr *, const u_char *); extern u_int usb_linux_64_byte_print(const struct pcap_pkthdr *, const u_char *);