Home
last modified time | relevance | path

Searched refs:ipv6_addr (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/remoting/client/plugin/
Dpepper_util.cc31 in6_addr ipv6_addr = address.ipaddr().ipv6_address(); in SocketAddressToPpNetAddressWithPort() local
34 memcpy(&ip_addr.addr, &ipv6_addr, sizeof(ip_addr.addr)); in SocketAddressToPpNetAddressWithPort()
66 PP_NetAddress_IPv6 ipv6_addr; in PpNetAddressToSocketAddress() local
67 CHECK(pp_net_address.DescribeAsIPv6Address(&ipv6_addr)); in PpNetAddressToSocketAddress()
69 bit_cast<in6_addr>(ipv6_addr.addr))); in PpNetAddressToSocketAddress()
70 address->SetPort(base::NetToHost16(ipv6_addr.port)); in PpNetAddressToSocketAddress()
/external/chromium_org/ppapi/tests/
Dtest_net_address.cc35 PP_NetAddress_IPv6 ipv6_addr; in CreateFromHostOrderIPv6Address() local
36 ipv6_addr.port = ConvertToNetEndian16(host_order_port); in CreateFromHostOrderIPv6Address()
39 memcpy(&ipv6_addr.addr[2 * i], &net_order_addr, 2); in CreateFromHostOrderIPv6Address()
42 return NetAddress(instance, ipv6_addr); in CreateFromHostOrderIPv6Address()
78 PP_NetAddress_IPv6 ipv6_addr = { in TestIPv6Address() local
83 NetAddress net_addr(instance_, ipv6_addr); in TestIPv6Address()
90 ASSERT_TRUE(EqualIPv6Address(ipv6_addr, out_ipv6_addr)); in TestIPv6Address()
Dtest_utils.cc167 PP_NetAddress_IPv6 ipv6_addr; in ResolveHost() local
168 ipv6_addr.port = ConvertToNetEndian16( in ResolveHost()
170 if (!pp::NetAddressPrivate::GetAddress(addr_private, ipv6_addr.addr, in ResolveHost()
171 sizeof(ipv6_addr.addr))) { in ResolveHost()
174 *addr = pp::NetAddress(instance_handle, ipv6_addr); in ResolveHost()
197 PP_NetAddress_IPv6 ipv6_addr; in ReplacePort() local
198 if (!input_addr.DescribeAsIPv6Address(&ipv6_addr)) in ReplacePort()
200 ipv6_addr.port = ConvertToNetEndian16(port); in ReplacePort()
201 *output_addr = pp::NetAddress(pp::InstanceHandle(instance), ipv6_addr); in ReplacePort()
219 PP_NetAddress_IPv6 ipv6_addr; in GetPort() local
[all …]
Dtest_udp_socket.cc35 PP_NetAddress_IPv6 ipv6_addr; in ReplacePort() local
36 if (!addr.DescribeAsIPv6Address(&ipv6_addr)) in ReplacePort()
38 ipv6_addr.port = ConvertToNetEndian16(port); in ReplacePort()
39 return pp::NetAddress(instance, ipv6_addr); in ReplacePort()
Dtest_net_address_private.cc281 PP_NetAddress_Private ipv6_addr = MakeIPv6NetAddress(ipv6_address, in TestGetAddress() local
293 ASSERT_TRUE(NetAddressPrivate::GetAddress(ipv6_addr, in TestGetAddress()
299 ASSERT_FALSE(NetAddressPrivate::GetAddress(ipv6_addr, in TestGetAddress()
/external/chromium_org/ppapi/proxy/
Dnet_address_resource.cc28 const PP_NetAddress_IPv6& ipv6_addr) in NetAddressResource() argument
30 NetAddressPrivateImpl::CreateNetAddressPrivateFromIPv6Address(ipv6_addr, in NetAddressResource()
70 PP_NetAddress_IPv6* ipv6_addr) { in DescribeAsIPv6Address() argument
73 address_, ipv6_addr)); in DescribeAsIPv6Address()
Dnet_address_resource.h26 const PP_NetAddress_IPv6& ipv6_addr);
42 PP_NetAddress_IPv6* ipv6_addr) OVERRIDE;
Dresource_creation_proxy.cc298 const PP_NetAddress_IPv6* ipv6_addr) { in CreateNetAddressFromIPv6Address() argument
300 *ipv6_addr))->GetReference(); in CreateNetAddressFromIPv6Address()
Dresource_creation_proxy.h132 const PP_NetAddress_IPv6* ipv6_addr) OVERRIDE;
/external/chromium_org/ppapi/cpp/
Dnet_address.cc38 const PP_NetAddress_IPv6& ipv6_addr) { in NetAddress() argument
42 instance.pp_instance(), &ipv6_addr)); in NetAddress()
89 bool NetAddress::DescribeAsIPv6Address(PP_NetAddress_IPv6* ipv6_addr) const { in DescribeAsIPv6Address()
93 pp_resource(), ipv6_addr)); in DescribeAsIPv6Address()
Dnet_address.h46 const PP_NetAddress_IPv6& ipv6_addr);
109 bool DescribeAsIPv6Address(PP_NetAddress_IPv6* ipv6_addr) const;
/external/chromium_org/ppapi/thunk/
Dppb_net_address_thunk.cc32 const struct PP_NetAddress_IPv6* ipv6_addr) { in CreateFromIPv6Address() argument
38 ipv6_addr); in CreateFromIPv6Address()
73 struct PP_NetAddress_IPv6* ipv6_addr) { in DescribeAsIPv6Address() argument
78 return enter.object()->DescribeAsIPv6Address(ipv6_addr); in DescribeAsIPv6Address()
Dppb_net_address_api.h23 virtual PP_Bool DescribeAsIPv6Address(PP_NetAddress_IPv6* ipv6_addr) = 0;
Dresource_creation_api.h144 const PP_NetAddress_IPv6* ipv6_addr) = 0;
/external/chromium_org/ppapi/shared_impl/private/
Dnet_address_private_impl.cc530 const PP_NetAddress_IPv6& ipv6_addr, in CreateNetAddressPrivateFromIPv6Address() argument
532 CreateFromIPv6Address(ipv6_addr.addr, 0, in CreateNetAddressPrivateFromIPv6Address()
533 ConvertFromNetEndian16(ipv6_addr.port), addr); in CreateNetAddressPrivateFromIPv6Address()
569 PP_NetAddress_IPv6* ipv6_addr) { in DescribeNetAddressPrivateAsIPv6Address() argument
570 if (!ipv6_addr) in DescribeNetAddressPrivateAsIPv6Address()
577 ipv6_addr->port = ConvertToNetEndian16(net_addr->port); in DescribeNetAddressPrivateAsIPv6Address()
579 COMPILE_ASSERT(sizeof(ipv6_addr->addr) == kIPv6AddressSize, in DescribeNetAddressPrivateAsIPv6Address()
581 memcpy(ipv6_addr->addr, net_addr->address, kIPv6AddressSize); in DescribeNetAddressPrivateAsIPv6Address()
Dnet_address_private_impl.h48 const PP_NetAddress_IPv6& ipv6_addr,
57 PP_NetAddress_IPv6* ipv6_addr);
/external/chromium_org/ppapi/c/
Dppb_net_address.h126 const struct PP_NetAddress_IPv6* ipv6_addr);
194 struct PP_NetAddress_IPv6* ipv6_addr);
/external/chromium_org/ppapi/api/
Dppb_net_address.idl88 * @param[in] ipv6_addr An IPv6 address.
91 * <code>ipv6_addr</code> or 0 on failure.
94 [in] PP_NetAddress_IPv6 ipv6_addr);
161 * @param[out] ipv6_addr A <code>PP_NetAddress_IPv6</code> structure to store
168 [out] PP_NetAddress_IPv6 ipv6_addr);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dsocket_test.cc382 struct in6_addr ipv6_addr = generate_ipv6_addr(addr_tuples); in TEST() local
385 EXPECT_TRUE(NULL == inet_ntop(AF_UNIX, &ipv6_addr, in TEST()
393 EXPECT_TRUE(NULL == inet_ntop(AF_INET6, &ipv6_addr, in TEST()
/external/checkpolicy/
Dpolicy_parse.y693 | NODECON ipv6_addr ipv6_addr security_context_def
807 ipv6_addr : IPV6_ADDR
/external/chromium_org/content/renderer/pepper/
Dresource_creation_impl.h96 const PP_NetAddress_IPv6* ipv6_addr) OVERRIDE;
Dresource_creation_impl.cc196 const PP_NetAddress_IPv6* ipv6_addr) { in CreateNetAddressFromIPv6Address() argument
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
Dpnacl_shim.c989 …etAddress_CreateFromIPv6Address(PP_Instance instance, const struct PP_NetAddress_IPv6* ipv6_addr) { in Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address() argument
991 return iface->CreateFromIPv6Address(instance, ipv6_addr); in Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address()
1014 …_M29_PPB_NetAddress_DescribeAsIPv6Address(PP_Resource addr, struct PP_NetAddress_IPv6* ipv6_addr) { in Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address() argument
1016 return iface->DescribeAsIPv6Address(addr, ipv6_addr); in Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address()
4282 …(PP_Resource (*)(PP_Instance instance, const struct PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_…
4287 ….DescribeAsIPv6Address = (PP_Bool (*)(PP_Resource addr, struct PP_NetAddress_IPv6* ipv6_addr))&Pna…