Home
last modified time | relevance | path

Searched refs:addr (Results 276 - 300 of 3849) sorted by relevance

1...<<11121314151617181920>>...154

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_pax_common.c37 const u8 *addr[3]; in eap_pax_kdf() local
49 addr[0] = (const u8 *) identifier; in eap_pax_kdf()
51 addr[1] = entropy; in eap_pax_kdf()
53 addr[2] = &counter; in eap_pax_kdf()
60 if (hmac_sha1_vector(key, key_len, 3, addr, len, mac) < 0) in eap_pax_kdf()
94 const u8 *addr[3]; in eap_pax_mac() local
102 addr[0] = data1; in eap_pax_mac()
104 addr[1] = data2; in eap_pax_mac()
106 addr[2] = data3; in eap_pax_mac()
110 if (hmac_sha1_vector(key, key_len, count, addr, le in eap_pax_mac()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_pax_common.c37 const u8 *addr[3]; in eap_pax_kdf() local
49 addr[0] = (const u8 *) identifier; in eap_pax_kdf()
51 addr[1] = entropy; in eap_pax_kdf()
53 addr[2] = &counter; in eap_pax_kdf()
60 if (hmac_sha1_vector(key, key_len, 3, addr, len, mac) < 0) in eap_pax_kdf()
94 const u8 *addr[3]; in eap_pax_mac() local
102 addr[0] = data1; in eap_pax_mac()
104 addr[1] = data2; in eap_pax_mac()
106 addr[2] = data3; in eap_pax_mac()
110 if (hmac_sha1_vector(key, key_len, count, addr, le in eap_pax_mac()
[all...]
/third_party/lwip/src/core/
H A Ddns.c285 static err_t dns_lookup_local(const char *hostname, ip_addr_t *addr LWIP_DNS_ADDRTYPE_ARG(u8_t dns_addrtype));
290 static void dns_recv(void *s, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port);
292 static void dns_call_found(u8_t idx, ip_addr_t *addr);
457 entry->addr = init_entry->addr; in dns_init_local()
482 iterator_fn(entry->name, &entry->addr, iterator_arg); in dns_local_iterate()
490 iterator_fn(local_hostlist_static[i].name, &local_hostlist_static[i].addr, iterator_arg); in dns_local_iterate()
502 * @param addr the first IP address for the hostname in the local host-list or
511 dns_local_lookup(const char *hostname, ip_addr_t *addr, u8_t dns_addrtype) in dns_local_lookup() argument
514 return dns_lookup_local(hostname, addr LWIP_DNS_ADDRTYPE_AR in dns_local_lookup()
560 dns_local_removehost(const char *hostname, const ip_addr_t *addr) dns_local_removehost() argument
596 dns_local_addhost(const char *hostname, const ip_addr_t *addr) dns_local_addhost() argument
1035 dns_call_found(u8_t idx, ip_addr_t *addr) dns_call_found() argument
1263 dns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) dns_recv() argument
1638 dns_gethostbyname(const char *hostname, ip_addr_t *addr, dns_found_callback found, void *callback_arg) dns_gethostbyname() argument
1659 dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr, dns_found_callback found, void *callback_arg, u8_t dns_addrtype) dns_gethostbyname_addrtype() argument
1686 ip_addr_set_loopback(LWIP_DNS_ADDRTYPE_IS_IPV6(dns_addrtype), addr); dns_gethostbyname_addrtype() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth.c45 #define STATE_MACHINE_ADDR sm->addr
96 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report()
99 return wpa_auth->cb->mic_failure_report(wpa_auth->cb_ctx, addr); in wpa_auth_mic_failure_report()
105 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_psk_failure_report()
108 wpa_auth->cb->psk_failure_report(wpa_auth->cb_ctx, addr); in wpa_auth_psk_failure_report()
113 const u8 *addr, wpa_eapol_variable var, in wpa_auth_set_eapol()
117 wpa_auth->cb->set_eapol(wpa_auth->cb_ctx, addr, var, value); in wpa_auth_set_eapol()
122 const u8 *addr, wpa_eapol_variable var) in wpa_auth_get_eapol()
126 return wpa_auth->cb->get_eapol(wpa_auth->cb_ctx, addr, var); in wpa_auth_get_eapol()
131 const u8 *addr, in wpa_auth_get_psk()
95 wpa_auth_mic_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) wpa_auth_mic_failure_report() argument
104 wpa_auth_psk_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) wpa_auth_psk_failure_report() argument
112 wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var, int value) wpa_auth_set_eapol() argument
121 wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var) wpa_auth_get_eapol() argument
130 wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) wpa_auth_get_psk() argument
143 wpa_auth_get_msk(struct wpa_authenticator *wpa_auth, const u8 *addr, u8 *msk, size_t *len) wpa_auth_get_msk() argument
152 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len, enum key_flag key_flag) wpa_auth_set_key() argument
171 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) wpa_auth_get_seqnum() argument
205 wpa_auth_send_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *data, size_t data_len, int encrypt) wpa_auth_send_eapol() argument
216 wpa_auth_start_ampe(struct wpa_authenticator *wpa_auth, const u8 *addr) wpa_auth_start_ampe() argument
246 wpa_auth_store_ptksa(struct wpa_authenticator *wpa_auth, const u8 *addr, int cipher, u32 life_time, const struct wpa_ptk *ptk) wpa_auth_store_ptksa() argument
256 wpa_auth_remove_ptksa(struct wpa_authenticator *wpa_auth, const u8 *addr, int cipher) wpa_auth_remove_ptksa() argument
263 wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *txt) wpa_auth_logger() argument
272 wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *fmt, ...) wpa_auth_vlogger() argument
297 wpa_sta_disconnect(struct wpa_authenticator *wpa_auth, const u8 *addr, u16 reason) wpa_sta_disconnect() argument
319 wpa_auth_update_vlan(struct wpa_authenticator *wpa_auth, const u8 *addr, int vlan_id) wpa_auth_update_vlan() argument
505 wpa_init(const u8 *addr, struct wpa_auth_config *conf, const struct wpa_auth_callbacks *cb, void *cb_ctx) wpa_init() argument
667 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr) wpa_auth_sta_init() argument
1454 wpa_gmk_to_gtk(const u8 *gmk, const char *label, const u8 *addr, const u8 *gnonce, u8 *gtk, size_t gtk_len) wpa_gmk_to_gtk() argument
3628 u8 addr[3 * 4]; SM_STATE() local
4853 wpa_auth_pmksa_add_sae(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk, size_t pmk_len, const u8 *pmkid, int akmp) wpa_auth_pmksa_add_sae() argument
4878 wpa_auth_pmksa_add2(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk, size_t pmk_len, const u8 *pmkid, int session_timeout, int akmp) wpa_auth_pmksa_add2() argument
4930 wpa_auth_pmksa_list_mesh(struct wpa_authenticator *wpa_auth, const u8 *addr, char *buf, size_t len) wpa_auth_pmksa_list_mesh() argument
5268 wpa_auth_get_ip_addr(struct wpa_state_machine *sm, u8 *addr) wpa_auth_get_ip_addr() argument
[all...]
H A Dtkip_countermeasures.c56 hostapd_drv_sta_deauth(hapd, sta->addr, in ieee80211_tkip_countermeasures_start()
69 int michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local) in michael_mic_failure() argument
74 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, in michael_mic_failure()
79 if (addr && local) { in michael_mic_failure()
80 struct sta_info *sta = ap_get_sta(hapd, addr); in michael_mic_failure()
83 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, in michael_mic_failure()
87 mlme_michaelmicfailure_indication(hapd, addr); in michael_mic_failure()
92 ") ignored", MAC2STR_SEC(addr)); in michael_mic_failure()
/third_party/libuv/test/
H A Dtest-udp-bind.c31 struct sockaddr_in addr; in TEST_IMPL() local
36 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
46 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
49 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
64 struct sockaddr_in addr; in TEST_IMPL() local
69 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
79 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
82 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dtkip_countermeasures.c56 hostapd_drv_sta_deauth(hapd, sta->addr, in ieee80211_tkip_countermeasures_start()
69 int michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local) in michael_mic_failure() argument
74 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, in michael_mic_failure()
79 if (addr && local) { in michael_mic_failure()
80 struct sta_info *sta = ap_get_sta(hapd, addr); in michael_mic_failure()
83 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, in michael_mic_failure()
87 mlme_michaelmicfailure_indication(hapd, addr); in michael_mic_failure()
92 ") ignored", MAC2STR(addr)); in michael_mic_failure()
/third_party/node/deps/v8/include/v8-include/
H A Dv8-internal.h709 uint8_t* addr = reinterpret_cast<uint8_t*>(obj) + kNodeFlagsOffset;
710 return *addr & static_cast<uint8_t>(1U << shift);
714 uint8_t* addr = reinterpret_cast<uint8_t*>(obj) + kNodeFlagsOffset;
716 *addr = static_cast<uint8_t>((*addr & ~mask) | (value << shift));
720 uint8_t* addr = reinterpret_cast<uint8_t*>(obj) + kNodeFlagsOffset;
721 return *addr & kNodeStateMask;
725 uint8_t* addr = reinterpret_cast<uint8_t*>(obj) + kNodeFlagsOffset;
726 *addr = static_cast<uint8_t>((*addr
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_module_getsrc.c37 dwfl_module_getsrc (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_module_getsrc() argument
44 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu); in dwfl_module_getsrc()
57 addr -= bias; in dwfl_module_getsrc()
65 if (addr < line->addr) in dwfl_module_getsrc()
71 /* The last line which is less than or equal to addr is what in dwfl_module_getsrc()
75 if (! line->end_sequence && line->addr <= addr) in dwfl_module_getsrc()
/third_party/ltp/testcases/kernel/syscalls/mlock2/
H A Dmlock203.c25 static char *addr; variable
33 TEST(tst_syscall(__NR_mlock2, addr, pgsz, MLOCK_ONFAULT)); in verify_mlock2()
54 TEST(tst_syscall(__NR_mlock2, addr, pgsz, 0)); in verify_mlock2()
70 SAFE_MUNLOCK(addr, pgsz); in verify_mlock2()
76 addr = SAFE_MMAP(NULL, pgsz, PROT_WRITE, in setup()
82 if (addr) in cleanup()
83 SAFE_MUNMAP(addr, pgsz); in cleanup()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dsha1-tprf.c37 const unsigned char *addr[5]; in sha1_t_prf() local
40 addr[0] = hash; in sha1_t_prf()
42 addr[1] = (unsigned char *) label; in sha1_t_prf()
44 addr[2] = seed; in sha1_t_prf()
46 addr[3] = output_len; in sha1_t_prf()
48 addr[4] = &counter; in sha1_t_prf()
57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) in sha1_t_prf()
H A Dcrypto_nettle.c52 const u8 *addr[], const size_t *len, u8 *mac) in nettle_digest_vector()
65 alg->update(ctx, len[i], addr[i]); in nettle_digest_vector()
72 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
74 return nettle_digest_vector(&nettle_md4, num_elem, addr, len, mac); in md4_vector()
78 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
80 return nettle_digest_vector(&nettle_md5, num_elem, addr, len, mac); in md5_vector()
84 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
86 return nettle_digest_vector(&nettle_sha1, num_elem, addr, len, mac); in sha1_vector()
90 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
92 return nettle_digest_vector(&nettle_sha256, num_elem, addr, le in sha256_vector()
51 nettle_digest_vector(const struct nettle_hash *alg, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) nettle_digest_vector() argument
96 sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) sha384_vector() argument
102 sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) sha512_vector() argument
108 hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_md5_vector() argument
133 hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha1_vector() argument
160 hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha256_vector() argument
189 hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha384_vector() argument
218 hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha512_vector() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dptksa_cache.h25 u8 addr[ETH_ALEN]; member
35 const u8 *addr, u32 cipher);
38 const u8 *addr, u32 cipher,
41 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher);
55 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() argument
67 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, in ptksa_cache_add() argument
74 const u8 *addr, u32 cipher) in ptksa_cache_flush()
73 ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) ptksa_cache_flush() argument
H A Dptksa_cache.c52 MAC2STR_SEC(e->addr)); in ptksa_cache_expire()
128 * @addr: Peer address or %NULL to match any
133 const u8 *addr, u32 cipher) in ptksa_cache_get()
141 if ((!addr || os_memcmp(e->addr, addr, ETH_ALEN) == 0) && in ptksa_cache_get()
180 i, MAC2STR(e->addr)); in ptksa_cache_list()
225 * @addr: Peer address or %NULL to match any
228 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush() argument
238 if ((!addr || os_memcm in ptksa_cache_flush()
132 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) ptksa_cache_get() argument
267 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, u32 life_time, const struct wpa_ptk *ptk) ptksa_cache_add() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dsha1-tprf.c37 const unsigned char *addr[5]; in sha1_t_prf() local
40 addr[0] = hash; in sha1_t_prf()
42 addr[1] = (unsigned char *) label; in sha1_t_prf()
44 addr[2] = seed; in sha1_t_prf()
46 addr[3] = output_len; in sha1_t_prf()
48 addr[4] = &counter; in sha1_t_prf()
57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) in sha1_t_prf()
H A Dcrypto_nettle.c52 const u8 *addr[], const size_t *len, u8 *mac) in nettle_digest_vector()
65 alg->update(ctx, len[i], addr[i]); in nettle_digest_vector()
72 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
74 return nettle_digest_vector(&nettle_md4, num_elem, addr, len, mac); in md4_vector()
78 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
80 return nettle_digest_vector(&nettle_md5, num_elem, addr, len, mac); in md5_vector()
84 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
86 return nettle_digest_vector(&nettle_sha1, num_elem, addr, len, mac); in sha1_vector()
90 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
92 return nettle_digest_vector(&nettle_sha256, num_elem, addr, le in sha256_vector()
51 nettle_digest_vector(const struct nettle_hash *alg, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) nettle_digest_vector() argument
96 sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) sha384_vector() argument
102 sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) sha512_vector() argument
108 hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_md5_vector() argument
133 hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha1_vector() argument
160 hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha256_vector() argument
189 hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha384_vector() argument
218 hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) hmac_sha512_vector() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_vcn_dec_jpeg.c68 uint64_t addr; in send_cmd_bitstream() local
89 addr = dec->ws->buffer_get_virtual_address(buf); in send_cmd_bitstream()
90 addr = addr + off; in send_cmd_bitstream()
94 (addr >> 32)); in send_cmd_bitstream()
95 set_reg_jpeg(dec, SOC15_REG_ADDR(mmUVD_LMI_JPEG_READ_64BIT_BAR_LOW), COND0, TYPE0, addr); in send_cmd_bitstream()
111 uint64_t addr; in send_cmd_target() local
121 addr = dec->ws->buffer_get_virtual_address(buf); in send_cmd_target()
122 addr = addr in send_cmd_target()
191 uint64_t addr; send_cmd_bitstream_direct() local
230 uint64_t addr; send_cmd_target_direct() local
[all...]
/third_party/node/deps/v8/src/base/
H A Datomic-utils.h70 static T SeqCst_Load(T* addr) { in SeqCst_Load() argument
73 base::SeqCst_Load(to_storage_addr(addr))); in SeqCst_Load()
77 static T Acquire_Load(T* addr) { in Acquire_Load() argument
80 base::Acquire_Load(to_storage_addr(addr))); in Acquire_Load()
84 static T Relaxed_Load(T* addr) { in Relaxed_Load() argument
87 base::Relaxed_Load(to_storage_addr(addr))); in Relaxed_Load()
91 static void SeqCst_Store(T* addr, in SeqCst_Store() argument
94 base::SeqCst_Store(to_storage_addr(addr), in SeqCst_Store()
99 static void Release_Store(T* addr, in Release_Store() argument
102 base::Release_Store(to_storage_addr(addr), in Release_Store()
107 Relaxed_Store(T* addr, typename std::remove_reference<T>::type new_value) Relaxed_Store() argument
115 SeqCst_Swap(T* addr, typename std::remove_reference<T>::type new_value) SeqCst_Swap() argument
123 Release_CompareAndSwap( T* addr, typename std::remove_reference<T>::type old_value, typename std::remove_reference<T>::type new_value) Release_CompareAndSwap() argument
133 Relaxed_CompareAndSwap( T* addr, typename std::remove_reference<T>::type old_value, typename std::remove_reference<T>::type new_value) Relaxed_CompareAndSwap() argument
143 AcquireRelease_CompareAndSwap( T* addr, typename std::remove_reference<T>::type old_value, typename std::remove_reference<T>::type new_value) AcquireRelease_CompareAndSwap() argument
155 SetBits(T* addr, T bits, T mask) SetBits() argument
[all...]
/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_manager.c62 char addr[BT_MAC_LEN]; member
82 static void UnpendConnection(const char *addr);
133 extra.peerBrMac = device->addr; in DfxRecordBrConnectFail()
151 .peerBrMac = connection->addr, in DfxRecordBrConnectSuccess()
160 static int32_t NewDevice(ConnBrDevice **outDevice, const char *addr) in NewDevice() argument
167 if (memcpy_s(device->addr, BT_MAC_LEN, addr, BT_MAC_LEN) != EOK) { in NewDevice()
210 if (strcpy_s(info->brInfo.brMac, BT_MAC_LEN, connection->addr) != EOK) { in Convert2ConnectionInfo()
224 status = NewDevice(&device, ctx->addr); in ConvertCtxToDevice()
271 ConvertAnonymizeMacAddress(anomizeAddress, BT_MAC_LEN, device->addr, BT_MAC_LE in NotifyDeviceConnectResult()
454 CheckPending(const char *addr) CheckPending() argument
942 UnpendConnection(const char *addr) UnpendConnection() argument
1405 ConnBrGetConnectionByAddr(const char *addr, ConnSideType side) ConnBrGetConnectionByAddr() argument
1720 SoftBusBtAddr addr = { 0 }; DumpLocalBtMac() local
[all...]
/third_party/libcoap/src/
H A Dcoap_io.c161 sock->fd = socket(listen_addr->addr.sa.sa_family, SOCK_DGRAM, 0);
180 switch (listen_addr->addr.sa.sa_family) {
222 if (bind(sock->fd, &listen_addr->addr.sa,
224 listen_addr->addr.sa.sa_family == AF_INET ?
234 if (getsockname(sock->fd, &bound_addr->addr.sa, &bound_addr->size) < 0) {
241 bound_addr->addr.sa.sa_family == AF_INET6) {
242 bound_addr->addr.sin6.sin6_scope_id =
243 listen_addr->addr.sin6.sin6_scope_id;
244 bound_addr->addr.sin6.sin6_flowinfo = 0;
287 sock->fd = socket(connect_addr.addr
905 const void *addr = &session->addr_info.remote.addr; global() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_client.c176 coap_address_t addr; in CoapGetContextEx() local
179 if (rp->ai_addrlen > (socklen_t)sizeof(addr.addr)) { in CoapGetContextEx()
183 coap_address_init(&addr); in CoapGetContextEx()
184 addr.size = rp->ai_addrlen; in CoapGetContextEx()
185 if (memcpy_s(&addr.addr, sizeof(addr.addr), rp->ai_addr, rp->ai_addrlen) != EOK || in CoapGetContextEx()
186 (addr in CoapGetContextEx()
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares__sortaddrinfo.c91 static int get_scope(const struct sockaddr *addr) in get_scope() argument
93 if (addr->sa_family == AF_INET6) { in get_scope()
95 CARES_INADDR_CAST(const struct sockaddr_in6 *, addr); in get_scope()
110 } else if (addr->sa_family == AF_INET) { in get_scope()
112 CARES_INADDR_CAST(const struct sockaddr_in *, addr); in get_scope()
135 static int get_label(const struct sockaddr *addr) in get_label() argument
137 if (addr->sa_family == AF_INET) { in get_label()
139 } else if (addr->sa_family == AF_INET6) { in get_label()
141 CARES_INADDR_CAST(const struct sockaddr_in6 *, addr); in get_label()
175 static int get_precedence(const struct sockaddr *addr) in get_precedence() argument
348 find_src_addr(ares_channel_t *channel, const struct sockaddr *addr, struct sockaddr *src_addr) find_src_addr() argument
[all...]
/third_party/lwip/src/api/
H A Dnetdb.c55 ip_addr_t addr; member
90 ip_addr_t addr; in lwip_gethostbyname() local
100 err = netconn_gethostbyname(name, &addr); in lwip_gethostbyname()
108 s_hostent_addr = addr; in lwip_gethostbyname()
199 err = netconn_gethostbyname(name, &h->addr); in lwip_gethostbyname_r()
211 h->addr_list[0] = &h->addr; in lwip_gethostbyname_r()
272 ip_addr_t addr; in lwip_getaddrinfo() local
321 if (!ipaddr_aton(nodename, &addr)) { in lwip_getaddrinfo()
325 if ((IP_IS_V6_VAL(addr) && ai_family == AF_INET) || in lwip_getaddrinfo()
326 (IP_IS_V4_VAL(addr) in lwip_getaddrinfo()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_upnp_event.c53 struct subscr_addr *addr; /* address to connect to */ member
133 "for %s", e->addr->domain_and_port); in event_retry()
150 buf = wpabuf_alloc(1000 + os_strlen(e->addr->path) + in event_build_message()
154 wpabuf_printf(buf, "NOTIFY %s HTTP/1.1\r\n", e->addr->path); in event_build_message()
156 wpabuf_printf(buf, "HOST: %s\r\n", e->addr->domain_and_port); in event_build_message()
178 e->addr->num_failures++; in event_addr_failure()
181 e, e->addr->domain_and_port, e->addr->num_failures); in event_addr_failure()
183 if (e->addr->num_failures < MAX_FAILURES) { in event_addr_failure()
194 "address %s due to errors", s, e->addr in event_addr_failure()
[all...]
/foundation/communication/dsoftbus/core/bus_center/utils/include/
H A Dlnn_connection_addr_utils.h31 bool LnnConvertAddrToOption(const ConnectionAddr *addr, ConnectOption *option);
32 bool LnnConvertOptionToAddr(ConnectionAddr *addr, const ConnectOption *option, ConnectionAddrType hintType);
35 bool LnnConvertAddrToAuthConnInfo(const ConnectionAddr *addr, AuthConnInfo *connInfo);
36 bool LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType);
39 const char *LnnPrintConnectionAddr(const ConnectionAddr *addr);
40 bool LnnIsConnectionAddrInvalid(const ConnectionAddr *addr);

Completed in 17 milliseconds

1...<<11121314151617181920>>...154