diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-05-19 06:26:02 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-05-19 06:26:02 +0000 |
commit | 485dca153508bc1e774bfe40deb71f73293dd2d8 (patch) | |
tree | 9f66aff87b5ac36912638ebf0688bd0c92acd92e /epan/dissectors/packet-btrfcomm.h | |
parent | 9bd8195d0ed37cb7e73fc0d9aef0489471f09c08 (diff) | |
download | wireshark-485dca153508bc1e774bfe40deb71f73293dd2d8.tar.gz wireshark-485dca153508bc1e774bfe40deb71f73293dd2d8.tar.bz2 wireshark-485dca153508bc1e774bfe40deb71f73293dd2d8.zip |
Pass along btrfcomm_data_t to higher layer protocols
svn path=/trunk/; revision=32888
Diffstat (limited to 'epan/dissectors/packet-btrfcomm.h')
-rw-r--r-- | epan/dissectors/packet-btrfcomm.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btrfcomm.h b/epan/dissectors/packet-btrfcomm.h new file mode 100644 index 0000000000..52e153e855 --- /dev/null +++ b/epan/dissectors/packet-btrfcomm.h @@ -0,0 +1,37 @@ +/* packet-btrfcomm.h
+ *
+ * $Id: packet-btrfcomm.h 32887 2010-05-19 06:01:29Z krj $
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __PACKET_BTRFCOMM_H__
+#define __PACKET_BTRFCOMM_H__
+
+/* This structure is passed to higher layer protocols through
+ * pinfo->private_data so that they can track "conversations" based on
+ * chandle, cid, dlci and direction
+ */
+typedef struct _btrfcomm_data_t {
+ guint16 chandle; /* only low 12 bits used */
+ guint16 cid;
+ guint8 dlci;
+} btrfcomm_data_t;
+
+#endif
|