/system/core/libcutils/ |
sockets.cpp | 40 socklen_t addr_size = sizeof(addr); local 42 if (getsockname(sock, reinterpret_cast<sockaddr*>(&addr), &addr_size) == 0) {
|
/external/android-clat/ |
setif.c | 41 size_t addr_size; local 45 addr_size = inet_family_size(family); 46 if(addr_size == 0) { 66 if(nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { 72 if(nla_put(msg, IFA_ADDRESS, addr_size, address) < 0) { 78 if(nla_put(msg, IFA_BROADCAST, addr_size, broadcast) < 0) {
|
/external/libpcap/ |
fad-getad.c | 152 size_t addr_size, broadaddr_size, dstaddr_size; local 185 addr_size = SA_LEN(addr); 189 addr_size = 0; 258 ifa->ifa_flags, addr, addr_size, netmask, addr_size,
|
pcap-dos.c | 538 size_t addr_size = sizeof(struct sockaddr_ll); local 568 if (add_addr_to_iflist(&devlist,dev->name, dev->flags, addr, addr_size, 569 netmask, addr_size, broadaddr, addr_size, 570 dstaddr, addr_size, errbuf) < 0) [all...] |
/system/core/libcutils/tests/ |
sockets_test.cpp | 39 socklen_t addr_size = sizeof(addr); local 45 reinterpret_cast<sockaddr*>(&addr), &addr_size)); 54 reinterpret_cast<sockaddr*>(&addr), addr_size));
|
/external/ipsec-tools/src/racoon/ |
nattraversal.c | 128 size_t buf_size, addr_size; local 135 addr_size = sizeof (struct in_addr); /* IPv4 address */ 140 addr_size = sizeof (struct in6_addr); /* IPv6 address */ 150 buf_size += addr_size + 2; /* Address + Port */ 167 memset (ptr, 0, addr_size); 169 memcpy (ptr, addr_ptr, addr_size); 170 ptr += addr_size;
|
/external/strace/ |
socketutils.c | 96 socklen_t addr_size, text_size; local 103 addr_size = sizeof(struct in_addr); 107 addr_size = sizeof(struct in6_addr); 121 memcmp(zero_addr, diag_msg->id.idiag_dst, addr_size)) {
|
/external/google-breakpad/src/third_party/libdisasm/ |
ia32_invariant.c | 144 unsigned int addr_size, op_size, mode_16; local 151 addr_size = ( prefixes & PREFIX_ADDR_SIZE ) ? 4 : 2; 155 addr_size = ( prefixes & PREFIX_ADDR_SIZE ) ? 2 : 4; 197 size = (addr_size == 4) ? 4 : 2;
|
libdis.h | 500 unsigned char addr_size; /* default address size : 2 or 4 */ member in struct:__anon11584 [all...] |
/external/libunwind/include/tdep-mips/ |
libunwind_i.h | 57 unsigned int addr_size; member in struct:unw_addr_space
|
/system/connectivity/shill/net/ |
ip_address_unittest.cc | 92 ssize_t addr_size; local 96 addr_size = sizeof(sockaddr_in6); 100 addr_size = sizeof(sockaddr_in); 102 IPAddress from_short_sockaddr(addr, addr_size - 1); 104 IPAddress from_sockaddr(addr, addr_size); 113 EXPECT_FALSE(from_short_sockaddr.IntoSockAddr(addr2, addr_size)); 115 EXPECT_FALSE(from_sockaddr.IntoSockAddr(addr2, addr_size - 1)); 117 EXPECT_TRUE(from_sockaddr.IntoSockAddr(addr2, addr_size));
|
/external/tcpdump/ |
print-olsr.c | 474 size_t addr_size = sizeof(struct in_addr); local 478 addr_size = sizeof(struct in6_addr); 481 while (msg_tlen >= addr_size) { 482 ND_TCHECK2(*msg_data, addr_size); 492 msg_data += addr_size; 493 msg_tlen -= addr_size; 546 u_int addr_size = 4; local 551 addr_size = 16; 554 && ((name_entries * (4 + addr_size)) <= msg_tlen)) 584 if ((name_entry_len > 0) && ((addr_size + name_entry_len) <= msg_tlen) [all...] |
print-pgm.c | 154 int addr_size; local 250 addr_size = sizeof(struct in_addr); 255 addr_size = sizeof(struct in6_addr); 264 ND_TCHECK2(*bp, addr_size); 266 bp += addr_size; 297 addr_size = sizeof(struct in_addr); 302 addr_size = sizeof(struct in6_addr); 311 ND_TCHECK2(*bp, addr_size); 313 bp += addr_size; 379 addr_size = sizeof(struct in_addr) [all...] |
/system/core/init/ |
property_service.cpp | 239 socklen_t addr_size = sizeof(addr); local 246 if ((s = accept(property_set_fd, (struct sockaddr *) &addr, &addr_size)) < 0) {
|
/bionic/libc/kernel/uapi/rdma/ |
rdma_user_cm.h | 99 __u16 addr_size; member in struct:rdma_ucm_bind 250 __u16 addr_size; member in struct:rdma_ucm_join_mcast
|
/external/kernel-headers/original/uapi/rdma/ |
rdma_user_cm.h | 111 __u16 addr_size; member in struct:rdma_ucm_bind 251 __u16 addr_size; member in struct:rdma_ucm_join_mcast
|
/libcore/ojluni/src/main/native/ |
NetworkInterface.c | 763 int addr_size; local 783 addr_size = sizeof(struct sockaddr_in); 786 addr_size = sizeof(struct sockaddr_in6); 790 addr_size = 0; 796 if (addr_size > 0) { 798 CHECKED_MALLOC3(addrP, netaddr *, sizeof(netaddr)+2*addr_size); 800 memcpy(addrP->addr, ifa->ifa_addr, addr_size); 806 struct sockaddr * brdcast_to = (struct sockaddr *) ((char *) addrP + sizeof(netaddr) + addr_size); 947 CHECKED_MALLOC3(tmpaddr, netaddr *, sizeof(netaddr)+2*addr_size); 951 memcpy(tmpaddr->addr, addrP->addr, addr_size); [all...] |
/toolchain/binutils/binutils-2.25/gas/ |
dw2gencfi.c | 1545 int addr_size; local [all...] |
dwarf2dbg.c | 2218 unsigned int addr_size = sizeof_address; local 2268 unsigned int addr_size = sizeof_address; local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
dwarf2.c | 266 unsigned char addr_size; member in struct:comp_unit 752 switch (unit->addr_size) 766 switch (unit->addr_size) 954 info_ptr += unit->addr_size; 2547 unsigned int addr_size; local [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
readdwarf.c | 849 UChar addr_size; local 870 addr_size = ML_(cur_step_UChar)(&p); [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
readelf.c | 13733 int addr_size; local 13846 int addr_size, sym_width; local 14137 unsigned int addr_size = is_32bit_elf ? 4 : 8; local 14401 int addr_size = is_32bit_elf ? 4 : 8; local [all...] |