aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-08-12 04:44:35 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-08-12 04:44:35 +0000
commit3eadb385c3280a23cd277d8dbc57a33e4f6aecc3 (patch)
tree6d6b85f9c2dd3a8f248f104e4d79dd0b8c8f6769 /wiretap/wtap.h
parent5906f69b880d1959763d10490da91bc2ae2b3fb7 (diff)
From Alexey Neyman:
Implement dissector for IPMB (DLT_IPMB_LINUX, 209). svn path=/trunk/; revision=25986
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 58047fc8c0..20416e719f 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -206,6 +206,7 @@ extern "C" {
#define WTAP_ENCAP_CAN20B 109
#define WTAP_ENCAP_LAYER1_EVENT 110
#define WTAP_ENCAP_X2E_SERIAL 111
+#define WTAP_ENCAP_I2C 112
#define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types()
@@ -736,6 +737,13 @@ struct bthci_phdr {
struct l1event_phdr {
gboolean uton;
};
+
+/* * I2C pseudo header */
+struct i2c_phdr {
+ guint8 is_event;
+ guint8 bus;
+ guint32 flags;
+};
union wtap_pseudo_header {
struct eth_phdr eth;
@@ -757,6 +765,7 @@ union wtap_pseudo_header {
struct sita_phdr sita;
struct bthci_phdr bthci;
struct l1event_phdr l1event;
+ struct i2c_phdr i2c;
};
struct wtap_nstime {