Namespaces

Enumerations

enum (unnamed)
Name Value Comments
kIPVersion_6 6

IPv6

kIPVersion_4 4

IPv4

The version of the IP protocol being used.

Defined at line 40 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/IANAConstants.h

enum DNSOptions
Name Value Comments
kDNSOption_AddrFamily_Mask 0x07

Bits within a DNSOptions integer value representing the desired address family.

kDNSOption_Flags_Mask 0xF8

Bits within a DNSOptions integer value reserved for flags.

kDNSOption_AddrFamily_Any 0x00

Return IPv4 and/or IPv6 addresses in the order returned by the nameserver.

kDNSOption_AddrFamily_IPv4Only 0x01

Return only IPv4 addresses.

kDNSOption_AddrFamily_IPv4Preferred 0x02

Return IPv4 and/or IPv6 addresses, with IPv4 addresses listed first.

kDNSOption_AddrFamily_IPv6Only 0x03

Return only IPv6 addresses.

kDNSOption_AddrFamily_IPv6Preferred 0x04

Return IPv4 and/or IPv6 addresses, with IPv6 addresses listed first.

kDNSOption_ValidFlags 0

Set of all valid DNSOption flags.

kDNSOption_Default kDNSOption_AddrFamily_Any --

Options controlling how IP address resolution is performed.

Defined at line 45 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/DNSResolver.h

enum (unnamed)
Name Value Comments
kIPProtocol_ICMPv6 58

ICMPv6

kIPProtocol_ICMPv4 1

ICMPv4

The numbers of some of the protocols in the IP family.

Defined at line 54 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/IANAConstants.h

enum (unnamed)
Name Value Comments
kIPv6MulticastScope_Interface 1

Interface-local scope.

kIPv6MulticastScope_Link 2

Link-local scope.

kIPv6MulticastScope_IPv4 3

Realm-local ("IPv4") scope.

kIPv6MulticastScope_Admin 4

Realm-local scope.

kIPv6MulticastScope_Site 5

Realm-local scope.

kIPv6MulticastScope_Organization 8

Organization-local scope.

kIPv6MulticastScope_Global 14

Global scope.

Internet protocol multicast address scope

Defined at line 71 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/IANAConstants.h

enum (unnamed)
Name Value Comments
kIPAddressType_Unknown 0

Not used.

kIPAddressType_IPv4 1

Internet protocol version 4.

kIPAddressType_IPv6 2

Internet protocol version 6.

kIPAddressType_Any 3

The unspecified internet address (independent of protocol version)

Internet protocol address family

Defined at line 85 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/IPAddress.h

enum IPV6MulticastGroup
Name Value Comments
kIPV6MulticastGroup_AllNodes 1 --
kIPV6MulticastGroup_AllRouters 2

RFC 4291

Internet protocol multicast group identifiers

Defined at line 108 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/IANAConstants.h

enum (unnamed)
Name Value Comments
kIPv6MulticastFlag_Transient 0x01

The multicast address is (1) transient (i.e., dynamically-assigned) rather than (0) well-known (i.e, IANA-assigned).

kIPv6MulticastFlag_Prefix 0x02

The multicast address is (1) based on a network prefix.

Internet protocol v6 multicast flags

Defined at line 111 of file x64-shared/gen/third_party/openweave-core/src/include/InetLayer/IPAddress.h

Records

Functions

  • INET_ERROR GetInterfaceName (InterfaceId intfId, char * nameBuf, size_t nameBufSize)
  • INET_ERROR InterfaceNameToId (const char * intfName, InterfaceId & intfId)
  • uint8_t NetmaskToPrefixLength (const uint8_t * netmask, uint16_t netmaskLen)
  • void RegisterInetLayerErrorFormatter ()
  • bool FormatInetLayerError (char * buf, uint16_t bufSize, int32_t err)
  • INET_ERROR ParseHostAndPort (const char * aString, uint16_t aStringLen, const char *& aHost, uint16_t & aHostLen, uint16_t & aPort)
  • INET_ERROR ParseHostPortAndInterface (const char * aString, uint16_t aStringLen, const char *& aHost, uint16_t & aHostLen, uint16_t & aPort, const char *& aInterface, uint16_t & aInterfaceLen)