Readonly
addressEither the IP address (FAMILY_INET, FAMILY_INET6) or the path (FAMILY_LOCAL) in string form. IP addresses are in the format produced by mozilla::net::NetAddr::ToStringBuffer.
Note: Paths for FAMILY_LOCAL may have length limitations which are implementation dependent and not documented as part of this interface.
Readonly
familythe address family of the network address, which corresponds to one of the FAMILY_ constants.
Readonly
flowthe flow label for a FAMILY_INET6 address.
http://www.ietf.org/rfc/rfc3697.txt
NS_ERROR_NOT_AVAILABLE if the address family is not FAMILY_INET6
Readonly
iswhether a FAMILY_INET6 address is mapped from FAMILY_INET.
NS_ERROR_NOT_AVAILABLE if the address family is not FAMILY_INET6
Readonly
portthe port number for a FAMILY_INET or FAMILY_INET6 address.
NS_ERROR_NOT_AVAILABLE if the address family is not FAMILY_INET or FAMILY_INET6.
Readonly
scopethe address scope of a FAMILY_INET6 address.
http://tools.ietf.org/html/rfc4007
NS_ERROR_NOT_AVAILABLE if the address family is not FAMILY_INET6
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
nsINetAddr
This interface represents a native NetAddr struct in a readonly interface.