path: root/wlantest/rx_ip.c
Commit message (Collapse)AuthorAgeFilesLines
* wlantest: Avoid unaligned iphdr pointersBrian Norris2021-02-131-17/+18
| | | | | | | | 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>
* wlantest: Comment out ICMP processing from OS X buildsJouni Malinen2020-04-051-0/+6
| | | | | | For now, allow this to be compiled without ICMP support. Signed-off-by: Jouni Malinen <j@w1.fi>
* BSD: Use struct ip rather than struct iphdrRoy Marples2020-01-021-20/+20
| | | | | | | 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>
* wlantest: Recognize hwsim_test packetsJouni Malinen2013-05-261-0/+20
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Use add_note() to annotate framesJouni Malinen2013-05-261-26/+26
| | | | | | | 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>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Determine ping matches properly for direct linkJouni Malinen2011-01-241-25/+36
| | | | | 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.
* wlantest: Add ping_ok_first_assoc STA counterJouni Malinen2011-01-031-0/+4
| | | | | This can be used to verify whether ping goes through between clearing of the STA counters and the first (re)association.
* wlantest: Parse ICMP echo packet and record STA ping successJouni Malinen2010-11-201-0/+148