summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libpcap/pcap-common.c')
-rw-r--r--contrib/libpcap/pcap-common.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/contrib/libpcap/pcap-common.c b/contrib/libpcap/pcap-common.c
index 31cf84d..bd18c64 100644
--- a/contrib/libpcap/pcap-common.c
+++ b/contrib/libpcap/pcap-common.c
@@ -841,7 +841,7 @@
#define LINKTYPE_NETANALYZER_TRANSPARENT 241
/*
- * IP-over-Infiniband, as specified by RFC 4391.
+ * IP-over-InfiniBand, as specified by RFC 4391.
*
* Requested by Petr Sumbera <petr.sumbera@oracle.com>.
*/
@@ -883,7 +883,21 @@
*/
#define LINKTYPE_PFSYNC 246
-#define LINKTYPE_MATCHING_MAX 246 /* highest value in the "matching" range */
+/*
+ * Raw InfiniBand packets, starting with the Local Routing Header.
+ *
+ * Requested by Oren Kladnitsky <orenk@mellanox.com>.
+ */
+#define LINKTYPE_INFINIBAND 247
+
+/*
+ * SCTP, with no lower-level protocols (i.e., no IPv4 or IPv6).
+ *
+ * Requested by Michael Tuexen <Michael.Tuexen@lurchi.franken.de>.
+ */
+#define LINKTYPE_SCTP 248
+
+#define LINKTYPE_MATCHING_MAX 248 /* highest value in the "matching" range */
static struct linktype_map {
int dlt;
OpenPOWER on IntegriCloud