Skip to content

Added ALDL link-layer type 297 #1143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion pcap-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,15 @@
*/
#define LINKTYPE_AUERSWALD_LOG 296

#define LINKTYPE_MATCHING_MAX 296 /* highest value in the "matching" range */
/*
* ALDL - Assembly Line Diagnostic Link (8192 baud)
* Used in most pre-OBDII GM vehicles.
*
* Requested by Jake Mannens <[email protected]>
*/
#define LINKTYPE_ALDL 297

#define LINKTYPE_MATCHING_MAX 297 /* highest value in the "matching" range */


/*
Expand Down
1 change: 1 addition & 0 deletions pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3330,6 +3330,7 @@ static struct dlt_choice dlt_choices[] = {
DLT_CHOICE(USB_2_0_LOW_SPEED, "Low-Speed USB 2.0/1.1/1.0 as transmitted over the cable"),
DLT_CHOICE(USB_2_0_FULL_SPEED, "Full-Speed USB 2.0/1.1/1.0 as transmitted over the cable"),
DLT_CHOICE(USB_2_0_HIGH_SPEED, "High-Speed USB 2.0 as transmitted over the cable"),
DLT_CHOICE(ALDL, "GM Assembly Line Diagnostic Link"),
DLT_CHOICE_SENTINEL
};

Expand Down
10 changes: 9 additions & 1 deletion pcap/dlt.h
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,14 @@
*/
#define DLT_AUERSWALD_LOG 296

/*
* ALDL - Assembly Line Diagnostic Link (8192 baud)
* Used in most pre-OBDII GM vehicles.
*
* Requested by Jake Mannens <[email protected]>
*/
#define DLT_ALDL 297

/*
* In case the code that includes this file (directly or indirectly)
* has also included OS files that happen to define DLT_MATCHING_MAX,
Expand All @@ -1607,6 +1615,6 @@
#undef DLT_MATCHING_MAX
#endif

#define DLT_MATCHING_MAX 296 /* highest value in the "matching" range */
#define DLT_MATCHING_MAX 297 /* highest value in the "matching" range */

#endif /* !defined(lib_pcap_dlt_h) */