wit::importer::hooks Struct Reference

Parse a 802.11 frame and retrieve some fields that wit::importer needs. More...

#include </tmp/wipal-release/src/wit-import/wit_importer.hh>

Inheritance diagram for wit::importer::hooks:
wpl::wifi::dissector_default_hooks

List of all members.

Public Types

typedef dissector_status::status status

Public Member Functions

 hooks (wpl::wifi::addr_mapping &m)
std::string addrs () const
std::string beacon_timestamp () const
std::string fragnum () const
std::string seqnum () const
std::string error () const

Protected Member Functions

void invalid_type_or_subtype_hook (const void *, size_t, status)
void truncated_frame_hook (const void *, size_t, status)
void addr_hook (const void *, size_t, unsigned, const wpl::wifi::addr &)
void seq_ctl_hook (const void *, size_t, unsigned, unsigned)
void beacon_hook (const wpl::wifi::mgt::header *, size_t)
void end_of_frame_hook (const void *, size_t, status)
Invalid frame hooks

void invalid_type_hook (const void *, size_t)
void invalid_subtype_hook (const void *, size_t, status)
void invalid_management_subtype_hook (const mgt::header *, size_t)
void invalid_control_subtype_hook (const void *, size_t)
void invalid_data_subtype_hook (const void *, size_t, status)
Basic hooks

void frame_hook (const void *, size_t)
void qos_ctl_hook (const void *, size_t, unsigned tid, bool eosp, unsigned ackpolicy, unsigned lastfield)
void end_of_frame_headers_hook (const void *, size_t, const void *)
void management_hook (const mgt::header *, size_t)
void control_hook (const void *, size_t)
void data_hook (const void *, size_t)
Truncation hook

void truncated_unknown_frame_hook (const void *, size_t)
void truncated_management_frame_hook (const mgt::header *, size_t, status)
void truncated_ps_poll_frame_hook (const ctl::ps_poll::header *, size_t, status)
void truncated_rts_frame_hook (const ctl::rts::header *, size_t, status)
void truncated_cf_end_frame_hook (const ctl::cf_end::header *, size_t, status)
void truncated_cf_end_cf_ack_frame_hook (const ctl::cf_end_cf_ack::header *, size_t, status)
void truncated_cts_frame_hook (const ctl::cts::header *, size_t)
void truncated_ack_frame_hook (const ctl::ack::header *, size_t)
void truncated_data_frame_hook (const void *, size_t, status)
Management frame hooks

void management_addr1_hook (const mgt::header *, size_t)
void management_addr2_hook (const mgt::header *, size_t)
void management_addr3_hook (const mgt::header *, size_t)
void management_seq_ctl_hook (const mgt::header *, size_t, unsigned, unsigned)
void assoc_req_hook (const mgt::header *, size_t)
void assoc_resp_hook (const mgt::header *, size_t)
void reassoc_req_hook (const mgt::header *, size_t)
void reassoc_resp_hook (const mgt::header *, size_t)
void probe_req_hook (const mgt::header *, size_t)
void probe_resp_hook (const mgt::header *, size_t)
void atim_hook (const mgt::header *, size_t)
void disassoc_hook (const mgt::header *, size_t)
void auth_hook (const mgt::header *, size_t)
void deauth_hook (const mgt::header *, size_t)
Control frame hooks

void ps_poll_hook (const ctl::ps_poll::header *, size_t)
void rts_hook (const ctl::rts::header *, size_t)
void cf_end_hook (const ctl::cf_end::header *, size_t)
void cf_end_cf_ack_hook (const ctl::cf_end_cf_ack::header *, size_t)
void cts_hook (const ctl::cts::header *, size_t)
void ack_hook (const ctl::ack::header *, size_t)
void ps_poll_addr1_hook (const ctl::ps_poll::header *, size_t)
void ps_poll_addr2_hook (const ctl::ps_poll::header *, size_t)
void rts_addr1_hook (const ctl::rts::header *, size_t)
void rts_addr2_hook (const ctl::rts::header *, size_t)
void cf_end_addr1_hook (const ctl::cf_end::header *, size_t)
void cf_end_addr2_hook (const ctl::cf_end::header *, size_t)
void cf_end_cf_ack_addr1_hook (const ctl::cf_end_cf_ack::header *, size_t)
void cf_end_cf_ack_addr2_hook (const ctl::cf_end_cf_ack::header *, size_t)
void cts_addr1_hook (const ctl::cts::header *, size_t)
void ack_addr1_hook (const ctl::ack::header *, size_t)
Data frame hooks

void data_addr1_hook (const void *, size_t)
void data_addr2_hook (const void *, size_t)
void data_addr3_hook (const void *, size_t)
void data_addr4_hook (const void *, size_t)
void data_seq_ctl_hook (const void *, size_t, unsigned, unsigned)
void data_only_hook (const void *, size_t, status)
void data_cf_ack_hook (const void *, size_t, status)
void data_cf_poll_hook (const void *, size_t, status)
void data_cf_ack_cf_poll_hook (const void *, size_t, status)
void null_hook (const void *, size_t, status)
void cf_ack_hook (const void *, size_t, status)
void cf_poll_hook (const void *, size_t, status)
void cf_ack_cf_poll_hook (const void *, size_t, status)
void within_ibss_hook (const data::within_ibss::header *, size_t)
void from_ds_hook (const data::from_ds::header *, size_t)
void to_ds_hook (const data::to_ds::header *, size_t)
void ap_to_ap_hook (const data::ap_to_ap::header *, size_t)

Detailed Description

Parse a 802.11 frame and retrieve some fields that wit::importer needs.


Member Function Documentation

void wit::importer::hooks::addr_hook ( const void *  ,
size_t  ,
unsigned  ,
const wpl::wifi::addr  
) [inline, protected]

An address field has just been parsed.

The third argument is the address' position (i.e. 1, 2, 3, or 4) and the last argument is the address itself.

Reimplemented from wpl::wifi::dissector_default_hooks.

void wit::importer::hooks::seq_ctl_hook ( const void *  ,
size_t  ,
unsigned  frag,
unsigned  seqno 
) [inline, protected]

The sequence control field has just been parsed.

The third argument is the fragment number. The fourth one is the sequence number.

Reimplemented from wpl::wifi::dissector_default_hooks.


The documentation for this struct was generated from the following files:

Generated by  doxygen 1.6.2