author | mjm <mjm> | 2002-12-04 19:51:24 (UTC) |
---|---|---|
committer | mjm <mjm> | 2002-12-04 19:51:24 (UTC) |
commit | ad62016e2d341876c068bead69a40ebd0370d822 (patch) (side-by-side diff) | |
tree | f974069739d25de1ffd4107b302234b7183d145a /noncore/net/wellenreiter/libwellenreiter/source/sniff.hh | |
parent | ba2de7d7233c0fbbd8ef31fae7aa5a9ded70225e (diff) | |
download | opie-ad62016e2d341876c068bead69a40ebd0370d822.zip opie-ad62016e2d341876c068bead69a40ebd0370d822.tar.gz opie-ad62016e2d341876c068bead69a40ebd0370d822.tar.bz2 |
implemented send_to_gui
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/sniff.hh') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/sniff.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh index fa8519b..60cdc43 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh @@ -29,6 +29,6 @@ struct packetinfo int channel; - char bssid[sizeof("00:00:00:00:00:00")]; - char desthwaddr[sizeof("00:00:00:00:00:00")]; - char sndhwaddr[sizeof("00:00:00:00:00:00")]; - char *ssid; + char bssid[sizeof("00:00:00:00:00:00") + 1]; + char desthwaddr[sizeof("00:00:00:00:00:00") + 1]; + char sndhwaddr[sizeof("00:00:00:00:00:00") + 1]; + char ssid[128]; int ssid_len; @@ -36,3 +36,3 @@ struct packetinfo -void process_packets(const struct pcap_pkthdr* pkthdr,const u_char* packet); +void process_packets(const struct pcap_pkthdr* pkthdr,const u_char* packet, char *, int); int decode_80211b_hdr(const u_char *p,struct packetinfo *ppinfo); |