Add a LINKTYPE_ value and a corresponding DLT_ value for raw InfiniBand.
Fix the capitalization of InfiniBand (at least according to the
InfiniBand Trade Association's Web site at www.infinibandta.org, it's
InterCapped).
#define LINKTYPE_NETANALYZER_TRANSPARENT 241
/*
- * IP-over-Infiniband, as specified by RFC 4391.
+ * IP-over-InfiniBand, as specified by RFC 4391.
*
*/
*/
#define LINKTYPE_PFSYNC 246
-#define LINKTYPE_MATCHING_MAX 246 /* highest value in the "matching" range */
+/*
+ * Raw InfiniBand packets, starting with the Local Routing Header.
+ *
+ */
+#define LINKTYPE_INFINIBAND 247
+
+#define LINKTYPE_MATCHING_MAX 247 /* highest value in the "matching" range */
static struct linktype_map {
int dlt;
#define DLT_NETANALYZER_TRANSPARENT 241
/*
- * IP-over-Infiniband, as specified by RFC 4391.
+ * IP-over-InfiniBand, as specified by RFC 4391.
*
*/
#define DLT_PFSYNC 246
#endif
-#define DLT_MATCHING_MAX 246 /* highest value in the "matching" range */
+/*
+ * Raw InfiniBand packets, starting with the Local Routing Header.
+ *
+ */
+#define DLT_INFINIBAND 247
+
+#define DLT_MATCHING_MAX 247 /* highest value in the "matching" range */
/*
* DLT and savefile link type values are split into a class and