Home
last modified time | relevance | path

Searched refs:txtaddr (Results 1 – 17 of 17) sorted by relevance

/third_party/musl/libc-test/src/functional/
Dinet_pton.c33 char txtaddr[60]={0}; \
44 if (inet_ntop(AF_INET6,binaddr,txtaddr,sizeof txtaddr)!=txtaddr) \
46 if (inet_pton(AF_INET6,txtaddr,binaddr)!=1) \
47 …t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) got %s, it is rejected by inet_pton\n", txtaddr)…
50 …t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) got %s that is %s, want %s\n", txtaddr, hexaddr,…
51 if (strncmp(hex,"00000000000000000000ffff",24)==0 && !strchr(txtaddr,'.')) \
52 t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) got %s, should be ipv4 mapped\n", txtaddr); \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dctrl_iface_ap.h14 int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
16 int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
19 const char *txtaddr);
21 const char *txtaddr);
23 const char *txtaddr,
26 const char *txtaddr);
Dctrl_iface_ap.c399 int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, in hostapd_ctrl_iface_sta() argument
407 if (hwaddr_aton(txtaddr, addr)) { in hostapd_ctrl_iface_sta()
418 pos = os_strchr(txtaddr, ' '); in hostapd_ctrl_iface_sta()
441 int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, in hostapd_ctrl_iface_sta_next() argument
448 if (hwaddr_aton(txtaddr, addr) || in hostapd_ctrl_iface_sta_next()
518 const char *txtaddr) in hostapd_ctrl_iface_deauthenticate() argument
526 txtaddr); in hostapd_ctrl_iface_deauthenticate()
528 if (hwaddr_aton(txtaddr, addr)) in hostapd_ctrl_iface_deauthenticate()
531 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_deauthenticate()
535 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_deauthenticate()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dctrl_iface_ap.h14 int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
16 int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
19 const char *txtaddr);
21 const char *txtaddr);
23 const char *txtaddr,
26 const char *txtaddr);
Dctrl_iface_ap.c363 int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, in hostapd_ctrl_iface_sta() argument
371 if (hwaddr_aton(txtaddr, addr)) { in hostapd_ctrl_iface_sta()
382 pos = os_strchr(txtaddr, ' '); in hostapd_ctrl_iface_sta()
405 int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, in hostapd_ctrl_iface_sta_next() argument
412 if (hwaddr_aton(txtaddr, addr) || in hostapd_ctrl_iface_sta_next()
481 const char *txtaddr) in hostapd_ctrl_iface_deauthenticate() argument
489 txtaddr); in hostapd_ctrl_iface_deauthenticate()
491 if (hwaddr_aton(txtaddr, addr)) in hostapd_ctrl_iface_deauthenticate()
494 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_deauthenticate()
498 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_deauthenticate()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dap.h31 int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr,
33 int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr,
36 const char *txtaddr);
38 const char *txtaddr);
55 int ap_ctrl_iface_chanswitch(struct wpa_supplicant *wpa_s, const char *txtaddr);
Dap.c1493 int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr, in ap_ctrl_iface_sta() argument
1504 return hostapd_ctrl_iface_sta(hapd, txtaddr, buf, buflen); in ap_ctrl_iface_sta()
1508 int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr, in ap_ctrl_iface_sta_next() argument
1519 return hostapd_ctrl_iface_sta_next(hapd, txtaddr, buf, buflen); in ap_ctrl_iface_sta_next()
1524 const char *txtaddr) in ap_ctrl_iface_sta_disassociate() argument
1529 txtaddr); in ap_ctrl_iface_sta_disassociate()
1534 const char *txtaddr) in ap_ctrl_iface_sta_deauthenticate() argument
1539 txtaddr); in ap_ctrl_iface_sta_deauthenticate()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dap.h31 int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr,
33 int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr,
36 const char *txtaddr);
38 const char *txtaddr);
55 int ap_ctrl_iface_chanswitch(struct wpa_supplicant *wpa_s, const char *txtaddr);
Dap.c1256 int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr, in ap_ctrl_iface_sta() argument
1267 return hostapd_ctrl_iface_sta(hapd, txtaddr, buf, buflen); in ap_ctrl_iface_sta()
1271 int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr, in ap_ctrl_iface_sta_next() argument
1282 return hostapd_ctrl_iface_sta_next(hapd, txtaddr, buf, buflen); in ap_ctrl_iface_sta_next()
1287 const char *txtaddr) in ap_ctrl_iface_sta_disassociate() argument
1292 txtaddr); in ap_ctrl_iface_sta_disassociate()
1297 const char *txtaddr) in ap_ctrl_iface_sta_deauthenticate() argument
1302 txtaddr); in ap_ctrl_iface_sta_deauthenticate()
/third_party/node/deps/cares/src/lib/
Dares__readaddrinfo.c42 char *txtaddr, *txthost, *txtalias; in ares__readaddrinfo() local
95 txtaddr = p; in ares__readaddrinfo()
178 if (ares_inet_pton(AF_INET, txtaddr, &addr4) == 1) in ares__readaddrinfo()
190 if (ares_inet_pton(AF_INET6, txtaddr, &addr6) == 1) in ares__readaddrinfo()
Dares__get_hostent.c37 char *txtaddr, *txthost, *txtalias; in ares__get_hostent() local
79 txtaddr = p; in ares__get_hostent()
141 if (ares_inet_pton(AF_INET, txtaddr, &addr.addrV4) > 0) in ares__get_hostent()
150 if (ares_inet_pton(AF_INET6, txtaddr, &addr.addrV6) > 0) in ares__get_hostent()
Dares_init.c1845 char *p, *txtaddr; in config_nameserver() local
1859 txtaddr = p; in config_nameserver()
1872 if (ares_inet_pton(AF_INET, txtaddr, &host.addrV4) == 1) in config_nameserver()
1874 else if (ares_inet_pton(AF_INET6, txtaddr, &host.addrV6) == 1 in config_nameserver()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.h25 const char *txtaddr);
Dap_ctrl_iface.c112 const char *txtaddr) in hostapd_ctrl_iface_new_sta() argument
117 wpa_printf(MSG_DEBUG, "CTRL_IFACE NEW_STA %s", txtaddr); in hostapd_ctrl_iface_new_sta()
119 if (hwaddr_aton(txtaddr, addr)) in hostapd_ctrl_iface_new_sta()
139 const char *txtaddr) in hostapd_ctrl_iface_sa_query() argument
144 wpa_printf(MSG_DEBUG, "CTRL_IFACE SA_QUERY %s", txtaddr); in hostapd_ctrl_iface_sa_query()
146 if (hwaddr_aton(txtaddr, addr) || in hostapd_ctrl_iface_sa_query()
3386 const char *txtaddr) in hostapd_ctrl_iface_acl_del_mac() argument
3394 if (hwaddr_aton(txtaddr, addr)) in hostapd_ctrl_iface_acl_del_mac()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_ctrl_iface.h19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_ctrl_iface.h19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c108 const char *txtaddr) in hostapd_ctrl_iface_new_sta() argument
113 wpa_printf(MSG_DEBUG, "CTRL_IFACE NEW_STA %s", txtaddr); in hostapd_ctrl_iface_new_sta()
115 if (hwaddr_aton(txtaddr, addr)) in hostapd_ctrl_iface_new_sta()
136 const char *txtaddr) in hostapd_ctrl_iface_sa_query() argument
141 wpa_printf(MSG_DEBUG, "CTRL_IFACE SA_QUERY %s", txtaddr); in hostapd_ctrl_iface_sa_query()
143 if (hwaddr_aton(txtaddr, addr) || in hostapd_ctrl_iface_sa_query()
2836 const char *txtaddr) in hostapd_ctrl_iface_acl_del_mac() argument
2844 if (hwaddr_aton(txtaddr, addr)) in hostapd_ctrl_iface_acl_del_mac()