| Pepper_47_C_interfaces
    | 
#include <ppb_net_address.h>

| Public Attributes | |
| PP_Resource(* | CreateFromIPv4Address )(PP_Instance instance, const struct PP_NetAddress_IPv4 *ipv4_addr) | 
| PP_Resource(* | CreateFromIPv6Address )(PP_Instance instance, const struct PP_NetAddress_IPv6 *ipv6_addr) | 
| PP_Bool(* | IsNetAddress )(PP_Resource resource) | 
| PP_NetAddress_Family(* | GetFamily )(PP_Resource addr) | 
| struct PP_Var(* | DescribeAsString )(PP_Resource addr, PP_Bool include_port) | 
| PP_Bool(* | DescribeAsIPv4Address )(PP_Resource addr, struct PP_NetAddress_IPv4 *ipv4_addr) | 
| PP_Bool(* | DescribeAsIPv6Address )(PP_Resource addr, struct PP_NetAddress_IPv6 *ipv6_addr) | 
The PPB_NetAddress interface provides operations on network addresses. 
Definition at line 98 of file ppb_net_address.h.
| PP_Resource(* PPB_NetAddress_1_0::CreateFromIPv4Address)(PP_Instance instance, const struct PP_NetAddress_IPv4 *ipv4_addr) | 
Creates a PPB_NetAddress resource with the specified IPv4 address.
| [in] | instance | A PP_Instanceidentifying one instance of a module. | 
| [in] | ipv4_addr | An IPv4 address. | 
PP_Resource representing the same address as ipv4_addr or 0 on failure. Definition at line 110 of file ppb_net_address.h.
| PP_Resource(* PPB_NetAddress_1_0::CreateFromIPv6Address)(PP_Instance instance, const struct PP_NetAddress_IPv6 *ipv6_addr) | 
Creates a PPB_NetAddress resource with the specified IPv6 address.
| [in] | instance | A PP_Instanceidentifying one instance of a module. | 
| [in] | ipv6_addr | An IPv6 address. | 
PP_Resource representing the same address as ipv6_addr or 0 on failure. Definition at line 124 of file ppb_net_address.h.
| PP_Bool(* PPB_NetAddress_1_0::DescribeAsIPv4Address)(PP_Resource addr, struct PP_NetAddress_IPv4 *ipv4_addr) | 
Fills a PP_NetAddress_IPv4 structure if the network address is of PP_NETADDRESS_FAMILY_IPV4 address family. Note that passing a network address of PP_NETADDRESS_FAMILY_IPV6 address family will fail even if the address is an IPv4-mapped IPv6 address.
| [in] | addr | A PP_Resourcecorresponding to a network address. | 
| [out] | ipv4_addr | A PP_NetAddress_IPv4structure to store the result. | 
PP_Bool value indicating whether the operation succeeded. Definition at line 176 of file ppb_net_address.h.
| PP_Bool(* PPB_NetAddress_1_0::DescribeAsIPv6Address)(PP_Resource addr, struct PP_NetAddress_IPv6 *ipv6_addr) | 
Fills a PP_NetAddress_IPv6 structure if the network address is of PP_NETADDRESS_FAMILY_IPV6 address family. Note that passing a network address of PP_NETADDRESS_FAMILY_IPV4 address family will fail - this method doesn't map it to an IPv6 address.
| [in] | addr | A PP_Resourcecorresponding to a network address. | 
| [out] | ipv6_addr | A PP_NetAddress_IPv6structure to store the result. | 
PP_Bool value indicating whether the operation succeeded. Definition at line 193 of file ppb_net_address.h.
| struct PP_Var(* PPB_NetAddress_1_0::DescribeAsString)(PP_Resource addr, PP_Bool include_port) | 
Returns a human-readable description of the network address. The description is in the form of host [ ":" port ] and conforms to http://tools.ietf.org/html/rfc3986#section-3.2 for IPv4 and IPv6 addresses (e.g., "192.168.0.1", "192.168.0.1:99", or "[::1]:80").
| [in] | addr | A PP_Resourcecorresponding to a network address. | 
| [in] | include_port | Whether to include the port number in the description. | 
Definition at line 160 of file ppb_net_address.h.
| PP_NetAddress_Family(* PPB_NetAddress_1_0::GetFamily)(PP_Resource addr) | 
Gets the address family.
| [in] | addr | A PP_Resourcecorresponding to a network address. | 
PP_NETADDRESS_FAMILY_UNSPECIFIED on failure. Definition at line 145 of file ppb_net_address.h.
| PP_Bool(* PPB_NetAddress_1_0::IsNetAddress)(PP_Resource resource) | 
Determines if a given resource is a network address.
| [in] | resource | A PP_Resourceto check. | 
PP_TRUE if the input is a PPB_NetAddress resource; PP_FALSE otherwise. Definition at line 135 of file ppb_net_address.h.
 1.8.6
 1.8.6