"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/datalink_wifi.cpp" between
tcpflow-1.5.0.tar.gz and tcpflow-1.6.1.tar.gz

About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.

datalink_wifi.cpp  (tcpflow-1.5.0):datalink_wifi.cpp  (tcpflow-1.6.1)
skipping to change at line 19 skipping to change at line 19
/** /**
* TFCB --- TCPFLOW callbacks for wifippcap * TFCB --- TCPFLOW callbacks for wifippcap
*/ */
void TFCB::Handle80211(const WifiPacket &p, u_int16_t fc, const MAC& sa, const M AC& da, const MAC& ra, const MAC& ta, const u_char *ptr, size_t len) void TFCB::Handle80211(const WifiPacket &p, u_int16_t fc, const MAC& sa, const M AC& da, const MAC& ra, const MAC& ta, const u_char *ptr, size_t len)
{ {
} }
void TFCB::HandleLLC(const WifiPacket &p, const struct llc_hdr_t *hdr, const u_c har *rest, size_t len) { void TFCB::HandleLLC(const WifiPacket &p, const struct llc_hdr_t *hdr, const u_c har *rest, size_t len) {
sbuf_t sb(pos0_t(),rest,len,len,0); sbuf_t sb(pos0_t(),rest,len,len,0,false,false,false);
struct timeval tv; struct timeval tv;
be13::packet_info pi(p.header_type,p.header,p.packet,tvshift(tv,p.header->ts ),rest,len); be13::packet_info pi(p.header_type,p.header,p.packet,tvshift(tv,p.header->ts ),rest,len);
be13::plugin::process_packet(pi); be13::plugin::process_packet(pi);
} }
void TFCB::Handle80211MgmtBeacon(const WifiPacket &p, const mgmt_header_t *hdr, const mgmt_body_t *body) void TFCB::Handle80211MgmtBeacon(const WifiPacket &p, const mgmt_header_t *hdr, const mgmt_body_t *body)
{ {
#ifdef DEBUG_WIFI #ifdef DEBUG_WIFI
std::cerr << " " << "802.11 mgmt: " << hdr->sa << " beacon " << body->ssid. ssid << "\""; std::cerr << " " << "802.11 mgmt: " << hdr->sa << " beacon " << body->ssid. ssid << "\"";
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)