forked from osmocom/wireshark
From Hannes Kalber:
This patch adds some new ENCAP and FILE types for wiretap. It also adds new entries to pcap_to_wtap_map[] to provide a mapping of the new types to some pcap DLTs. svn path=/trunk/; revision=24622
This commit is contained in:
parent
106968d7e8
commit
335927f46f
4
AUTHORS
4
AUTHORS
|
@ -2727,6 +2727,10 @@ Hariharan Ananthakrishnan <hariharan.a [AT] gmail.com> {
|
|||
ISIS LSP-ID and hostname enhancements
|
||||
}
|
||||
|
||||
Hannes Kälber <hannes.kaelber--wireshark [AT] x2e.de> {
|
||||
Automotive DLTs
|
||||
}
|
||||
|
||||
and by:
|
||||
|
||||
Pavel Roskin <proski [AT] gnu.org>
|
||||
|
|
|
@ -442,6 +442,8 @@ static const struct {
|
|||
{ 188, WTAP_ENCAP_IEEE802_16_MAC_CPS },
|
||||
/* USB packets with Linux-specified header */
|
||||
{ 189, WTAP_ENCAP_USB_LINUX },
|
||||
/* CAN 2.0b frame */
|
||||
{ 190, WTAP_ENCAP_CAN20B },
|
||||
/* Per-Packet Information header */
|
||||
{ 192, WTAP_ENCAP_PPI },
|
||||
/* IEEE 802.15.4 Wireless PAN */
|
||||
|
@ -453,6 +455,12 @@ static const struct {
|
|||
{ 199, WTAP_ENCAP_IPMB },
|
||||
/* Bluetooth HCI UART transport (part H:4) frames, like hcidump */
|
||||
{ 201, WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR },
|
||||
/* FlexRay frame */
|
||||
{ 210, WTAP_ENCAP_FLEXRAY },
|
||||
/* MOST frame */
|
||||
{ 211, WTAP_ENCAP_MOST },
|
||||
/* LIN frame */
|
||||
{ 212, WTAP_ENCAP_LIN },
|
||||
|
||||
/*
|
||||
* To repeat:
|
||||
|
|
|
@ -199,7 +199,11 @@ extern "C" {
|
|||
#define WTAP_ENCAP_BLUETOOTH_HCI 102 /*raw packets without a transport layer header e.g. H4*/
|
||||
#define WTAP_ENCAP_IPMB 103
|
||||
#define WTAP_ENCAP_IEEE802_15_4 104
|
||||
|
||||
#define WTAP_ENCAP_X2E_XORAYA 105
|
||||
#define WTAP_ENCAP_FLEXRAY 106
|
||||
#define WTAP_ENCAP_LIN 107
|
||||
#define WTAP_ENCAP_MOST 108
|
||||
#define WTAP_ENCAP_CAN20B 109
|
||||
|
||||
#define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types()
|
||||
|
||||
|
@ -258,6 +262,7 @@ extern "C" {
|
|||
#define WTAP_FILE_COMMVIEW 49
|
||||
#define WTAP_FILE_PCAPNG 50
|
||||
#define WTAP_FILE_BTSNOOP 51
|
||||
#define WTAP_FILE_X2E_XORAYA 52
|
||||
|
||||
#define WTAP_NUM_FILE_TYPES wtap_get_num_file_types()
|
||||
|
||||
|
|
Loading…
Reference in New Issue