Brian Norris
1e537a2756
wlantest: Avoid unaligned iphdr pointers
...
Buffers passed to rx_data_ip() may not be naturally-aligned, and so we
get unpredictable behavior when we cast that to an IP header. In
particular, this code may crash on ARM.
Signed-off-by: Brian Norris <briannorris@chromium.org>
3 years ago
Jouni Malinen
e13f836dde
wlantest: Comment out ICMP processing from OS X builds
...
For now, allow this to be compiled without ICMP support.
Signed-off-by: Jouni Malinen <j@w1.fi>
4 years ago
Roy Marples
a8b00423ea
BSD: Use struct ip rather than struct iphdr
...
As we define __FAVOR_BSD use the BSD IP header.
Compile tested on NetBSD, DragonFlyBSD, and Linux.
Signed-off-by: Roy Marples <roy@marples.name>
4 years ago
Jouni Malinen
3b5a1a7769
wlantest: Recognize hwsim_test packets
...
Signed-hostap: Jouni Malinen <j@w1.fi>
11 years ago
Jouni Malinen
e4d99217f7
wlantest: Use add_note() to annotate frames
...
This adds debug information from wlantest into pcapng frame comments to
make the information more convenient to use, e.g., in Wireshark.
Signed-hostap: Jouni Malinen <j@w1.fi>
11 years ago
Jouni Malinen
0f3d578efc
Remove the GPL notification from files contributed by Jouni Malinen
...
Remove the GPL notification text from the files that were
initially contributed by myself.
Signed-hostap: Jouni Malinen <j@w1.fi>
12 years ago
Jouni Malinen
244c9303cb
wlantest: Determine ping matches properly for direct link
...
Check ICMP echo request/response matches for both STAs to get proper
counter values for a ping from a one STA to another one using TDLS.
14 years ago
Jouni Malinen
1da4da6f76
wlantest: Add ping_ok_first_assoc STA counter
...
This can be used to verify whether ping goes through between
clearing of the STA counters and the first (re)association.
14 years ago
Jouni Malinen
ee3b84beb3
wlantest: Parse ICMP echo packet and record STA ping success
14 years ago