wireshark: add Option for different link types

This commit is contained in:
Bastian Bloessl
2013-06-16 07:06:00 +02:00
parent 0256fe7e77
commit b60a133ac8
4 changed files with 30 additions and 12 deletions
+2 -5
View File
@@ -29,8 +29,9 @@ namespace foo {
int d_msg_offset;
int d_msg_len;
char d_msg[256];
LinkType d_link;
public:
wireshark_connector_impl(bool debug);
wireshark_connector_impl(LinkType type, bool debug);
virtual ~wireshark_connector_impl();
int general_work(int noutput, gr_vector_int& ninput_items,
gr_vector_const_void_star& input_items,
@@ -38,10 +39,6 @@ namespace foo {
void copy_message(const char *buf, int len);
};
enum LINK_LAYER_PROTOCOL {
ZIGBEE = 195
};
struct pcap_global {
uint32_t magic_number; /* magic number */
uint16_t version_major; /* major version number */