/hostap-latest/wlantest/ |
D | rx_ip.c | 123 struct ip ip; in rx_data_ip() local 128 if (len < sizeof(ip)) in rx_data_ip() 130 os_memcpy(&ip, data, sizeof(ip)); in rx_data_ip() 132 if (ip.ip_v != 4) { in rx_data_ip() 139 " dst=" MACSTR ")", ip.ip_v, MAC2STR(bssid), in rx_data_ip() 143 if (ip.ip_hl * 4 < sizeof(ip)) { in rx_data_ip() 146 " dst=" MACSTR ")", ip.ip_hl, MAC2STR(bssid), in rx_data_ip() 150 if (ip.ip_hl * 4 > len) { in rx_data_ip() 153 " dst=" MACSTR ")", ip.ip_hl, (unsigned) len, in rx_data_ip() 160 frag_off = be_to_host16(ip.ip_off); in rx_data_ip() [all …]
|
D | wired.c | 234 const struct ip *ip; in process_ipv4() local 239 if (len < sizeof(*ip)) in process_ipv4() 242 ip = (const struct ip *) data; in process_ipv4() 243 if (ip->ip_v != 4) in process_ipv4() 245 if (ip->ip_hl < 5) in process_ipv4() 250 frag_off = be_to_host16(ip->ip_off); in process_ipv4() 257 ip_len = be_to_host16(ip->ip_len); in process_ipv4() 263 payload = data + 4 * ip->ip_hl; in process_ipv4() 264 plen = len - 4 * ip->ip_hl; in process_ipv4() 268 switch (ip->ip_p) { in process_ipv4() [all …]
|
/hostap-latest/src/common/ |
D | wpa_helpers.c | 214 char ip[30]; in wait_ip_addr() local 222 if (get_wpa_status(ifname, "ip_address", ip, sizeof(ip)) == 0 in wait_ip_addr() 223 && strlen(ip) > 0) { in wait_ip_addr() 224 printf("IP address found: '%s'\n", ip); in wait_ip_addr() 225 if (strncmp(ip, "169.254.", 8) != 0) in wait_ip_addr()
|
D | dhcp.h | 42 struct ip iph;
|
/hostap-latest/tests/hwsim/vm/ |
D | inside.sh | 85 IPv4 0800 ip ip4 90 ip 0 IP 106 ip link set lo up 140 ip link set eth0 up 141 ip addr add 172.16.0.15/24 dev eth0
|
/hostap-latest/hostapd/ |
D | ctrl_iface.c | 1883 struct ip ip; in hostapd_data_test_rx() local 1888 if (len < sizeof(*eth) + sizeof(ip) || len > HWSIM_PACKETLEN) { in hostapd_data_test_rx() 1896 os_memcpy(&ip, eth + 1, sizeof(ip)); in hostapd_data_test_rx() 1897 pos = &buf[sizeof(*eth) + sizeof(ip)]; in hostapd_data_test_rx() 1899 if (ip.ip_hl != 5 || ip.ip_v != 4 || in hostapd_data_test_rx() 1900 ntohs(ip.ip_len) > HWSIM_IP_LEN) { in hostapd_data_test_rx() 1906 for (i = 0; i < ntohs(ip.ip_len) - sizeof(ip); i++) { in hostapd_data_test_rx() 1916 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in hostapd_data_test_rx() 1917 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in hostapd_data_test_rx() 1975 struct ip *ip; in hostapd_ctrl_iface_data_test_tx() local [all …]
|
/hostap-latest/src/ap/ |
D | fils_hlp.c | 161 struct ip *iph; in fils_dhcp_handler() 482 const struct ip *iph; in fils_process_hlp_udp() 488 iph = (const struct ip *) pos; in fils_process_hlp_udp() 513 const struct ip *iph; in fils_process_hlp_ip() 518 iph = (const struct ip *) pos; in fils_process_hlp_ip()
|
D | hostapd.h | 303 const u8 *ip);
|
/hostap-latest/tests/hwsim/ |
D | test_nfc_p2p.py | 51 ip = dev[0].p2pdev_request("GET ip_addr_go") 52 if ip != "192.168.42.1": 53 raise Exception("Unexpected ip_addr_go returned: " + ip) 102 ip = dev[0].p2pdev_request("GET ip_addr_go") 103 if ip != "192.168.42.1": 104 raise Exception("Unexpected ip_addr_go returned: " + ip)
|
D | stop.sh | 18 sudo ip link set hwsim0 down
|
D | start.sh | 120 sudo ip link set hwsim0 up
|
D | test_fils.py | 848 ip = frame[0:20] 849 if ip_checksum(ip) != b'\x00\x00':
|
/hostap-latest/wpa_supplicant/ |
D | notify.c | 752 int client, const u8 *ip) in wpas_notify_p2p_group_started() argument 757 wpas_dbus_signal_p2p_group_started(wpa_s, client, persistent, ip); in wpas_notify_p2p_group_started() 790 const u8 *p2p_dev_addr, const u8 *ip) in wpas_notify_ap_sta_authorized() argument 834 const u8 *p2p_dev_addr, const u8 *ip) in wpas_notify_sta_authorized() argument 838 ip); in wpas_notify_sta_authorized()
|
D | notify.h | 99 const u8 *p2p_dev_addr, const u8 *ip); 128 int client, const u8 *ip);
|
D | ctrl_iface.c | 9996 struct ip ip; in wpas_data_test_rx() local 10001 if (len < sizeof(*eth) + sizeof(ip) || len > HWSIM_PACKETLEN) { in wpas_data_test_rx() 10009 os_memcpy(&ip, eth + 1, sizeof(ip)); in wpas_data_test_rx() 10010 pos = &buf[sizeof(*eth) + sizeof(ip)]; in wpas_data_test_rx() 10012 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) { in wpas_data_test_rx() 10018 for (i = 0; i < ntohs(ip.ip_len) - sizeof(ip); i++) { in wpas_data_test_rx() 10027 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in wpas_data_test_rx() 10028 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in wpas_data_test_rx() 10080 struct ip *ip; in wpas_ctrl_iface_data_test_tx() local 10110 if (i < sizeof(*ip) || i > HWSIM_IP_LEN) in wpas_ctrl_iface_data_test_tx() [all …]
|
D | p2p_supplicant.c | 7856 u8 ip[3 * 4], *ip_ptr = NULL; in wpas_p2p_completed() local 7893 if (wpa_sm_get_p2p_ip_addr(wpa_s->wpa, ip) == 0) { in wpas_p2p_completed() 7899 ip[0], ip[1], ip[2], ip[3], in wpas_p2p_completed() 7900 ip[4], ip[5], ip[6], ip[7], in wpas_p2p_completed() 7901 ip[8], ip[9], ip[10], ip[11]); in wpas_p2p_completed() 7904 ip_ptr = ip; in wpas_p2p_completed()
|
D | ap.c | 877 const u8 *ip) in ap_sta_authorized_cb() argument 879 wpas_notify_sta_authorized(ctx, mac_addr, authorized, p2p_dev_addr, ip); in ap_sta_authorized_cb()
|
/hostap-latest/tests/hwsim/auth_serv/ |
D | dh_param_3072.pem | 5 9ip+gHvO6FmRI4bUr5tosVfcVv2nWA0aRknEWFgUw5qKzi0XIejxHf+SKl+XlHGF
|
/hostap-latest/wpa_supplicant/examples/ |
D | p2p-action.sh | 54 sudo ip ro re default via "$goipaddr"
|
/hostap-latest/src/tls/ |
D | x509v3.h | 43 u8 *ip; /* iPAddress */ member
|
D | x509v3.c | 33 os_free(name->ip); in x509_free_name() 35 name->ip = NULL; in x509_free_name() 946 os_free(name->ip); in x509_parse_alt_name_ip() 947 name->ip = os_memdup(pos, len); in x509_parse_alt_name_ip() 948 if (name->ip == NULL) in x509_parse_alt_name_ip()
|
/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_new.h | 219 const u8 *ip); 463 const u8 *ip) in wpas_dbus_signal_p2p_group_started() argument
|
D | dbus_new.c | 1627 const u8 *ip) in wpas_dbus_signal_p2p_group_started() argument 1670 (ip && in wpas_dbus_signal_p2p_group_started() 1672 (char *) ip, 4) || in wpas_dbus_signal_p2p_group_started() 1674 (char *) ip + 4, 4) || in wpas_dbus_signal_p2p_group_started() 1676 (char *) ip + 8, 4))) || in wpas_dbus_signal_p2p_group_started()
|
/hostap-latest/tests/remote/ |
D | rutils.py | 330 def ping_run(host, ip, result, ifname=None, addr_type="ipv4", deadline="5", qos=None): argument 341 ping = ping + [ip]
|
/hostap-latest/src/l2_packet/ |
D | l2_packet_zephyr.c | 231 &l2->iface->config.ip.ipv4->unicast[0].ipv4.address.in_addr.s_addr, in l2_packet_get_ip_addr()
|