aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorguy <guy>2005-05-01 19:46:27 +0000
committerguy <guy>2005-05-01 19:46:27 +0000
commit8561645aa2cf797b33a3d262463e41eac46fdb15 (patch)
tree681cf2e684b54151ae9245c1a9e0d33c6fecfd4b /pcap-bpf.h
parent574c8c863cb49604aa601de324b8df8761dc19d5 (diff)
Add the SS7 encapsulations to pcap-bpf.h, replacing the unused "raw SS7"
encapsulation with an "MTP2 plus pseudo-header" encapsulation. Get rid of "rawss7.h", as the LINKTYPE_RAWSS7 it's mainly dedicated to explain was never implemented. Update savefile.c for the changes.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 7dc0b94..91c14b4 100644
--- a/pcap-bpf.h
+++ b/pcap-bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.36 2005-04-09 21:15:13 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.37 2005-05-01 19:46:27 guy Exp $ (LBL)
*/
/*
@@ -423,8 +423,13 @@ struct bpf_version {
#define DLT_APPLE_IP_OVER_IEEE1394 138
/*
- * 139 through 142 are reserved for SS7.
+ * Various SS7 encapsulations, as per a request from Jeff Morriss
+ * <jeff.morriss[AT]ulticom.com> and subsequent discussions.
*/
+#define DLT_MTP2_WITH_PHDR 139 /* pseudo-header with various info, followed by MTP2 */
+#define DLT_MTP2 140 /* MTP2, without pseudo-header */
+#define DLT_MTP3 141 /* MTP3, without pseudo-header or MTP2 */
+#define DLT_SCCP 142 /* SCCP, without pseudo-header or MTP2 or MTP3 */
/*
* DOCSIS MAC frames.