Add an encapsulation type for BACnet MS/TP, and map the newly-assigned
libpcap DLT_ value for BACnet MS/TP to it. svn path=/trunk/; revision=11126
This commit is contained in:
parent
17e512b059
commit
c16562407d
|
@ -1,6 +1,6 @@
|
|||
/* libpcap.c
|
||||
*
|
||||
* $Id: libpcap.c,v 1.119 2004/03/23 01:02:41 guy Exp $
|
||||
* $Id: libpcap.c,v 1.120 2004/06/07 20:28:50 guy Exp $
|
||||
*
|
||||
* Wiretap Library
|
||||
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
|
||||
|
@ -333,6 +333,8 @@ static const struct {
|
|||
* meta-information such as QoS profiles, etc..
|
||||
*/
|
||||
|
||||
{ 165, WTAP_ENCAP_BACNET_MS_TP },
|
||||
|
||||
/*
|
||||
* To repeat:
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* wtap.c
|
||||
*
|
||||
* $Id: wtap.c,v 1.93 2004/03/30 19:37:31 guy Exp $
|
||||
* $Id: wtap.c,v 1.94 2004/06/07 20:28:51 guy Exp $
|
||||
*
|
||||
* Wiretap Library
|
||||
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
|
||||
|
@ -248,6 +248,9 @@ static const struct encap_type_info {
|
|||
|
||||
/* WTAP_ENCAP_APPLE_IP_OVER_IEEE1394 */
|
||||
{ "Apple IP-over-IEEE 1394", "ap1394" },
|
||||
|
||||
/* WTAP_ENCAP_BACNET_MS_TP */
|
||||
{ "BACnet MS/TP", "bacnet-ms-tp" },
|
||||
};
|
||||
|
||||
/* Name that should be somewhat descriptive. */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* wtap.h
|
||||
*
|
||||
* $Id: wtap.h,v 1.154 2004/03/23 01:02:41 guy Exp $
|
||||
* $Id: wtap.h,v 1.155 2004/06/07 20:28:51 guy Exp $
|
||||
*
|
||||
* Wiretap Library
|
||||
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
|
||||
|
@ -152,9 +152,10 @@
|
|||
#define WTAP_ENCAP_USER15 60
|
||||
#define WTAP_ENCAP_SYMANTEC 61
|
||||
#define WTAP_ENCAP_APPLE_IP_OVER_IEEE1394 62
|
||||
#define WTAP_ENCAP_BACNET_MS_TP 63
|
||||
|
||||
/* last WTAP_ENCAP_ value + 1 */
|
||||
#define WTAP_NUM_ENCAP_TYPES 63
|
||||
#define WTAP_NUM_ENCAP_TYPES 64
|
||||
|
||||
/* File types that can be read by wiretap.
|
||||
We support writing some many of these file types, too, so we
|
||||
|
|
Loading…
Reference in New Issue