Searched refs:HWSIM_IP_LEN (Results 1 – 2 of 2) sorted by relevance
1558 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) macro1577 ntohs(ip.tot_len) != HWSIM_IP_LEN) in hostapd_data_test_rx()1580 for (i = 0; i < HWSIM_IP_LEN - sizeof(ip); i++) { in hostapd_data_test_rx()1674 ip->tot_len = htons(HWSIM_IP_LEN); in hostapd_ctrl_iface_data_test_tx()1680 for (i = 0; i < HWSIM_IP_LEN - sizeof(*ip); i++) in hostapd_ctrl_iface_data_test_tx()
7496 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) macro7514 ntohs(ip.tot_len) != HWSIM_IP_LEN) in wpas_data_test_rx()7517 for (i = 0; i < HWSIM_IP_LEN - sizeof(ip); i++) { in wpas_data_test_rx()7602 ip->tot_len = htons(HWSIM_IP_LEN); in wpas_ctrl_iface_data_test_tx()7608 for (i = 0; i < HWSIM_IP_LEN - sizeof(*ip); i++) in wpas_ctrl_iface_data_test_tx()