Home
last modified time | relevance | path

Searched refs:HWSIM_IP_LEN (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1958 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) macro
1982 ntohs(ip.ip_len) > HWSIM_IP_LEN) { in hostapd_data_test_rx()
1998 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in hostapd_data_test_rx()
2055 size_t send_len = HWSIM_IP_LEN; in hostapd_ctrl_iface_data_test_tx()
2082 if (i < sizeof(*ip) || i > HWSIM_IP_LEN) in hostapd_ctrl_iface_data_test_tx()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c9394 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) macro
9417 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) { in wpas_data_test_rx()
9432 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in wpas_data_test_rx()
9488 size_t send_len = HWSIM_IP_LEN; in wpas_ctrl_iface_data_test_tx()
9515 if (i < sizeof(*ip) || i > HWSIM_IP_LEN) in wpas_ctrl_iface_data_test_tx()