Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_main.cc424 RawAddress src_addr = RawAddress::kEmpty; in bnep_data_ind() local
431 src_addr = *(RawAddress*)p; in bnep_data_ind()
471 src_addr = *(RawAddress*)p; in bnep_data_ind()
506 if (src_addr == RawAddress::kEmpty) src_addr = p_bcb->rem_bda; in bnep_data_ind()
519 (*bnep_cb.p_data_buf_cb)(p_bcb->handle, src_addr, dst_addr, protocol, p_buf, in bnep_data_ind()
522 (*bnep_cb.p_data_ind_cb)(p_bcb->handle, src_addr, dst_addr, protocol, p, in bnep_data_ind()
Dbnep_api.cc335 const RawAddress& src_addr, bool fw_ext_present) { in BNEP_WriteBuf() argument
410 bnepu_build_bnep_hdr(p_bcb, p_buf, protocol, src_addr, dest_addr, in BNEP_WriteBuf()
445 const RawAddress& src_addr, bool fw_ext_present) { in BNEP_Write() argument
516 bnepu_build_bnep_hdr(p_bcb, p_buf, protocol, src_addr, dest_addr, in BNEP_Write()
Dbnep_int.h182 const RawAddress& src_addr,
Dbnep_utils.cc437 const RawAddress& src_addr, in bnepu_build_bnep_hdr() argument
441 RawAddress source_addr = src_addr; in bnepu_build_bnep_hdr()
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp1005 sockaddr_union src_addr; member
1180 scope_src1 = _get_scope(&a1->src_addr.sa); in _rfc6724_compare()
1184 scope_src2 = _get_scope(&a2->src_addr.sa); in _rfc6724_compare()
1203 label_src1 = _get_label(&a1->src_addr.sa); in _rfc6724_compare()
1207 label_src2 = _get_label(&a2->src_addr.sa); in _rfc6724_compare()
1240 const struct sockaddr_in6* a1_src = &a1->src_addr.sin6; in _rfc6724_compare()
1242 const struct sockaddr_in6* a2_src = &a2->src_addr.sin6; in _rfc6724_compare()
1268 static int _find_src_addr(const struct sockaddr* addr, struct sockaddr* src_addr, unsigned mark, in _find_src_addr() argument
1270 if (src_addr == nullptr) return -1; in _find_src_addr()
1309 if (getsockname(sock, src_addr, &len) == -1) { in _find_src_addr()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dbnep_api.h294 const RawAddress& src_addr, bool fw_ext_present);
321 const RawAddress& src_addr, bool fw_ext_present);
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp469 struct sockaddr_storage src_addr; in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() local
470 socklen_t src_addrlen = sizeof(src_addr); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
471 if (getsockname(fd, (struct sockaddr *)&src_addr, &src_addrlen) != 0) { in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
475 sockaddr_ntop((const struct sockaddr *)&src_addr, sizeof(src_addr), addrstr, sizeof(addrstr)); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()