Home
last modified time | relevance | path

Searched refs:address_len (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/net/base/
Dnet_util.cc538 size_t* address_len, in GetIPAddressFromSockAddr() argument
546 *address_len = kIPv4AddressSize; in GetIPAddressFromSockAddr()
558 *address_len = kIPv6AddressSize; in GetIPAddressFromSockAddr()
571 *address_len = kBluetoothAddressSize; in GetIPAddressFromSockAddr()
582 size_t address_len) { in IPAddressToString() argument
586 if (address_len == kIPv4AddressSize) { in IPAddressToString()
588 } else if (address_len == kIPv6AddressSize) { in IPAddressToString()
591 CHECK(false) << "Invalid IP address with length: " << address_len; in IPAddressToString()
599 size_t address_len, in IPAddressToStringWithPort() argument
601 std::string address_str = IPAddressToString(address, address_len); in IPAddressToStringWithPort()
[all …]
Dip_endpoint.cc92 size_t address_len; in FromSockAddr() local
95 &address_len, &port)) { in FromSockAddr()
99 address_.assign(address, address + address_len); in FromSockAddr()
Dnet_util.h134 size_t* address_len,
140 size_t address_len);
145 size_t address_len,
432 socklen_t address_len);
435 socklen_t address_len);
/external/chromium_org/net/socket/
Dsocket_net_log_params.cc41 socklen_t address_len, in NetLogSourceAddressCallback() argument
45 NetAddressToStringWithPort(net_address, address_len)); in NetLogSourceAddressCallback()
68 socklen_t address_len) { in CreateNetLogSourceAddressCallback() argument
69 return base::Bind(&NetLogSourceAddressCallback, net_address, address_len); in CreateNetLogSourceAddressCallback()
Dsocket_net_log_params.h34 socklen_t address_len);
/external/iputils/ninfod/
Dni_ifaddrs.c106 int address_len; member
448 ifamap.address_len = rtapayload; in ni_ifaddrs()
489 ifamap.local_len = ifamap.address_len; in ni_ifaddrs()
493 ifamap.address_len = ifamap.local_len; in ni_ifaddrs()
495 if (ifamap.address_len != ifamap.local_len || in ni_ifaddrs()
497 memcmp(ifamap.address, ifamap.local, ifamap.address_len))) { in ni_ifaddrs()
500 ifamap.broadcast_len = ifamap.address_len; in ni_ifaddrs()
502 ifamap.address_len = ifamap.local_len; in ni_ifaddrs()
506 dlen += NLMSG_ALIGN(ifamap.address_len); in ni_ifaddrs()
509 memcpy(ifa->ifa_addr, ifamap.address, ifamap.address_len); in ni_ifaddrs()
[all …]
/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc186 socklen_t address_len = sizeof(raw_address); in WritePacket() local
189 &address_len)); in WritePacket()
194 hdr.msg_namelen = address_len; in WritePacket()
/external/elfutils/0.153/libdw/
Ddwarf_getpubnames.c111 mem[cnt].address_len = len_bytes; in get_offsets()
218 if (dbg->pubnames_sets[cnt].address_len == 4)
DlibdwP.h171 int address_len; member
/external/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp859 accept$__interposed__ (int socket, struct sockaddr *address, socklen_t *address_len) in accept$__interposed__() argument
865 const int fd = ::accept (socket, address, address_len); in accept$__interposed__()
876 return ::accept (socket, address, address_len); in accept$__interposed__()
885 accept$NOCANCEL$__interposed__ (int socket, struct sockaddr *address, socklen_t *address_len) in accept$NOCANCEL$__interposed__() argument
891 const int fd = ::accept$NOCANCEL (socket, address, address_len); in accept$NOCANCEL$__interposed__()
902 return ::accept$NOCANCEL (socket, address, address_len); in accept$NOCANCEL$__interposed__()