Home
last modified time | relevance | path

Searched refs:addr_buf (Results 1 – 11 of 11) sorted by relevance

/third_party/ltp/utils/sctp/func_tests/
Dtest_basic.c94 void *addr_buf; in main() local
357 addr_buf = (void *)laddrs; in main()
359 sa_addr = (struct sockaddr *)addr_buf; in main()
365 addr_buf += sizeof(struct sockaddr_in); in main()
372 addr_buf += sizeof(struct sockaddr_in6); in main()
387 addr_buf = (void *)paddrs; in main()
389 sa_addr = (struct sockaddr *)addr_buf; in main()
395 addr_buf += sizeof(struct sockaddr_in); in main()
402 addr_buf += sizeof(struct sockaddr_in6); in main()
/third_party/selinux/libsepol/src/
Dnodes.c21 char *addr_buf = NULL, *mask_buf = NULL; in node_from_record() local
30 if (sepol_node_get_addr_bytes(handle, data, &addr_buf, &addr_bsize) < 0) in node_from_record()
39 memcpy(&tmp_node->u.node.addr, addr_buf, addr_bsize); in node_from_record()
43 memcpy(tmp_node->u.node6.addr, addr_buf, addr_bsize); in node_from_record()
50 free(addr_buf); in node_from_record()
52 addr_buf = NULL; in node_from_record()
77 free(addr_buf); in node_from_record()
/third_party/node/deps/cares/src/tools/
Dahost.c190 char addr_buf[46] = "??"; in callback() local
192 ares_inet_ntop(host->h_addrtype, *p, addr_buf, sizeof(addr_buf)); in callback()
193 printf("%-32s\t%s", host->h_name, addr_buf); in callback()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c2778 u8 addr_buf[ETH_ALEN], *addr; in wpas_dbus_handler_p2p_service_sd_req() local
2818 if (parse_peer_object_path(peer_object_path, addr_buf) < 0 || in wpas_dbus_handler_p2p_service_sd_req()
2819 !p2p_peer_known(wpa_s->global->p2p, addr_buf)) in wpas_dbus_handler_p2p_service_sd_req()
2822 addr = addr_buf; in wpas_dbus_handler_p2p_service_sd_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c2847 u8 addr_buf[ETH_ALEN], *addr; in wpas_dbus_handler_p2p_service_sd_req() local
2887 if (parse_peer_object_path(peer_object_path, addr_buf) < 0 || in wpas_dbus_handler_p2p_service_sd_req()
2888 !p2p_peer_known(wpa_s->global->p2p, addr_buf)) in wpas_dbus_handler_p2p_service_sd_req()
2891 addr = addr_buf; in wpas_dbus_handler_p2p_service_sd_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.c1958 u8 addr_buf[ETH_ALEN]; in wpas_wps_er_add_pin() local
1963 } else if (hwaddr_aton(uuid, addr_buf) == 0) { in wpas_wps_er_add_pin()
1964 use_uuid = wps_er_get_sta_uuid(wpa_s->wps_er, addr_buf); in wpas_wps_er_add_pin()
Dctrl_iface.c1853 u8 addr_buf[ETH_ALEN], *addr = NULL; in wpa_supplicant_ctrl_iface_wps_er_pin() local
1861 if (hwaddr_aton(pos, addr_buf) == 0) in wpa_supplicant_ctrl_iface_wps_er_pin()
1862 addr = addr_buf; in wpa_supplicant_ctrl_iface_wps_er_pin()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwps_supplicant.c2002 u8 addr_buf[ETH_ALEN]; in wpas_wps_er_add_pin() local
2007 } else if (hwaddr_aton(uuid, addr_buf) == 0) { in wpas_wps_er_add_pin()
2008 use_uuid = wps_er_get_sta_uuid(wpa_s->wps_er, addr_buf); in wpas_wps_er_add_pin()
Dctrl_iface.c2028 u8 addr_buf[ETH_ALEN], *addr = NULL; in wpa_supplicant_ctrl_iface_wps_er_pin() local
2036 if (hwaddr_aton(pos, addr_buf) == 0) in wpa_supplicant_ctrl_iface_wps_er_pin()
2037 addr = addr_buf; in wpa_supplicant_ctrl_iface_wps_er_pin()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c161 u8 addr_buf[ETH_ALEN], *addr = NULL; in hostapd_ctrl_iface_wps_pin() local
175 if (hwaddr_aton(pos, addr_buf) == 0) in hostapd_ctrl_iface_wps_pin()
176 addr = addr_buf; in hostapd_ctrl_iface_wps_pin()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c163 u8 addr_buf[ETH_ALEN], *addr = NULL; in hostapd_ctrl_iface_wps_pin() local
177 if (hwaddr_aton(pos, addr_buf) == 0) in hostapd_ctrl_iface_wps_pin()
178 addr = addr_buf; in hostapd_ctrl_iface_wps_pin()