Searched refs:HWSIM_IP_LEN (Results 1 – 2 of 2) sorted by relevance
1589 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) macro1608 ntohs(ip.tot_len) != HWSIM_IP_LEN) in hostapd_data_test_rx()1611 for (i = 0; i < HWSIM_IP_LEN - sizeof(ip); i++) { in hostapd_data_test_rx()1705 ip->tot_len = htons(HWSIM_IP_LEN); in hostapd_ctrl_iface_data_test_tx()1711 for (i = 0; i < HWSIM_IP_LEN - sizeof(*ip); i++) in hostapd_ctrl_iface_data_test_tx()
7765 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) macro7783 ntohs(ip.tot_len) != HWSIM_IP_LEN) in wpas_data_test_rx()7786 for (i = 0; i < HWSIM_IP_LEN - sizeof(ip); i++) { in wpas_data_test_rx()7879 ip->tot_len = htons(HWSIM_IP_LEN); in wpas_ctrl_iface_data_test_tx()7885 for (i = 0; i < HWSIM_IP_LEN - sizeof(*ip); i++) in wpas_ctrl_iface_data_test_tx()