From: Guy Harris Date: Tue, 21 May 2013 02:05:58 +0000 (-0700) Subject: Add {LINKTYPE,DLT}_RTAC_SERIAL. X-Git-Tag: libpcap-1.5.0~54 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/50eca0a5c88da15ee1d1c149a74c66914ce2785c Add {LINKTYPE,DLT}_RTAC_SERIAL. --- diff --git a/pcap-common.c b/pcap-common.c index 7d35e6f7..5f29c499 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -904,7 +904,15 @@ */ #define LINKTYPE_USBPCAP 249 -#define LINKTYPE_MATCHING_MAX 249 /* highest value in the "matching" range */ +/* + * Schweitzer Engineering Laboratories "RTAC" product serial-line + * packets. + * + * Requested by Chris Bontje . + */ +#define DLT_RTAC_SERIAL 250 + +#define LINKTYPE_MATCHING_MAX 250 /* highest value in the "matching" range */ static struct linktype_map { int dlt; diff --git a/pcap/bpf.h b/pcap/bpf.h index 04060e23..f8a898a4 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -1195,8 +1195,16 @@ struct bpf_program { * Requested by Tomasz Mon */ #define DLT_USBPCAP 249 - -#define DLT_MATCHING_MAX 249 /* highest value in the "matching" range */ + +/* + * Schweitzer Engineering Laboratories "RTAC" product serial-line + * packets. + * + * Requested by Chris Bontje . + */ +#define DLT_RTAC_SERIAL 250 + +#define DLT_MATCHING_MAX 250 /* highest value in the "matching" range */ /* * DLT and savefile link type values are split into a class and