diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-04-20 11:53:31 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-04-20 11:53:31 +0000 |
commit | 7925fd5f2a01f918847cab3eb6e0839755def2be (patch) | |
tree | c4b86e49f7f328a1b30911a4f6d42d8a0318dce6 /wiretap/wtap.h | |
parent | da44c1d08495ae19388c42a508ba9ca2f50b1741 (diff) |
From Rolf Fiedler (bug 2408):
This extends the EyeSDN wiretap module to be able to support:
- DSS1/Q.931
- PPP
- LAPB/X.25
- ATM raw cells
- SS7 MTP2
svn path=/trunk/; revision=25123
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 97b8e5e446..0856e716fa 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -204,6 +204,7 @@ extern "C" { #define WTAP_ENCAP_LIN 107 #define WTAP_ENCAP_MOST 108 #define WTAP_ENCAP_CAN20B 109 +#define WTAP_ENCAP_LAYER1_EVENT 110 #define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types() @@ -730,6 +731,11 @@ struct bthci_phdr { #define BTHCI_CHANNEL_SCO 3 #define BTHCI_CHANNEL_EVENT 4 +/* pseudo header for WTAP_ENCAP_LAYER1_EVENT */ +struct l1event_phdr { + gboolean uton; +}; + union wtap_pseudo_header { struct eth_phdr eth; struct x25_phdr x25; @@ -749,6 +755,7 @@ union wtap_pseudo_header { struct erf_mc_phdr erf; struct sita_phdr sita; struct bthci_phdr bthci; + struct l1event_phdr l1event; }; struct wtap_nstime { |