Home
last modified time | relevance | path

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

/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/base/
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.h136 size_t* address_len,
142 size_t address_len);
147 size_t address_len,
500 socklen_t address_len);
503 socklen_t address_len);
Dnet_util.cc1566 size_t* address_len, in GetIPAddressFromSockAddr() argument
1574 *address_len = kIPv4AddressSize; in GetIPAddressFromSockAddr()
1586 *address_len = kIPv6AddressSize; in GetIPAddressFromSockAddr()
1596 size_t address_len) { in IPAddressToString() argument
1600 if (address_len == kIPv4AddressSize) { in IPAddressToString()
1602 } else if (address_len == kIPv6AddressSize) { in IPAddressToString()
1605 CHECK(false) << "Invalid IP address with length: " << address_len; in IPAddressToString()
1613 size_t address_len, in IPAddressToStringWithPort() argument
1615 std::string address_str = IPAddressToString(address, address_len); in IPAddressToStringWithPort()
1617 if (address_len == kIPv6AddressSize) { in IPAddressToStringWithPort()
[all …]
/external/chromium/net/base/
Dnet_util.h116 socklen_t address_len);
122 socklen_t address_len);
464 socklen_t address_len);
466 socklen_t address_len);
Dnet_util.cc1688 socklen_t address_len) { in NetAddressToString() argument
1696 int result = getnameinfo(net_address, address_len, buffer, sizeof(buffer), in NetAddressToString()
1712 socklen_t address_len) { in NetAddressToStringWithPort() argument
1713 std::string ip_address_string = NetAddressToString(net_address, address_len); in NetAddressToStringWithPort()
1717 int port = GetPortFromSockaddr(net_address, address_len); in NetAddressToStringWithPort()
2272 socklen_t address_len) { in GetPortFieldFromSockaddr() argument
2274 DCHECK_LE(sizeof(sockaddr_in), static_cast<size_t>(address_len)); in GetPortFieldFromSockaddr()
2279 DCHECK_LE(sizeof(sockaddr_in6), static_cast<size_t>(address_len)); in GetPortFieldFromSockaddr()
2289 int GetPortFromSockaddr(const struct sockaddr* address, socklen_t address_len) { in GetPortFromSockaddr() argument
2290 const uint16* port_field = GetPortFieldFromSockaddr(address, address_len); in GetPortFromSockaddr()
/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc145 socklen_t address_len = sizeof(raw_address); in WritePacket() local
148 &address_len)); in WritePacket()
153 hdr.msg_namelen = address_len; in WritePacket()
/external/elfutils/libdw/
Ddwarf_getpubnames.c115 mem[cnt].address_len = len_bytes; in get_offsets()
228 if (dbg->pubnames_sets[cnt].address_len == 4)
DlibdwP.h164 int address_len; member