summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-11 03:16:23 +0000
committersam <sam@FreeBSD.org>2005-07-11 03:16:23 +0000
commitb82cb32ca387604bf66253f188f6400f9a04486a (patch)
tree762776494117a2dd0206e00bfad4fbb165c3255e /sys/net/bpf.h
parent097175bde24a7f26bdd9d670a346922a3b1f0b6e (diff)
downloadFreeBSD-src-b82cb32ca387604bf66253f188f6400f9a04486a.zip
FreeBSD-src-b82cb32ca387604bf66253f188f6400f9a04486a.tar.gz
additions from libpcap 0.9.1 release
Approved by: re (scottl)
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index 3eadb8c..7759b16 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -362,8 +362,13 @@ struct bpf_hdr {
#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 */
/*
* Reserved for DOCSIS.
@@ -508,6 +513,14 @@ struct bpf_hdr {
#define DLT_ERF_POS 176 /* Packet-over-SONET */
/*
+ * Requested by Daniele Orlandi <daniele@orlandi.com> for raw LAPD
+ * for vISDN (http://www.orlandi.com/visdn/). Its link-layer header
+ * includes additional information before the LAPD header, so it's
+ * not necessarily a generic LAPD header.
+ */
+#define DLT_LINUX_LAPD 177
+
+/*
* The instruction encodings.
*/
/* instruction classes */
OpenPOWER on IntegriCloud