diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-05-30 06:41:26 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-05-30 06:41:26 +0000 |
commit | 59ed76438047aa730b3a617abd873b84457fc4fd (patch) | |
tree | dcf9aa60c012e16ad8a4bb83641d382d572050f8 /pcap-common.c | |
parent | 3ca61f8b14e648b24f10072d662c12fb35fc4b44 (diff) |
Diffstat (limited to 'pcap-common.c')
-rw-r--r-- | pcap-common.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/pcap-common.c b/pcap-common.c index 31cf84defcc23..bd18c64acbec8 100644 --- a/pcap-common.c +++ b/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; |