IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OCDevAddr Struct Reference

Data structure to encapsulate IPv4/IPv6/Contiki/lwIP device addresses. More...

Public Attributes

OCTransportAdapter adapter
 adapter type. More...
 
OCTransportFlags flags
 transport modifiers. More...
 
uint16_t port
 for IP. More...
 
char addr [MAX_ADDR_STR_SIZE]
 address for all adapters. More...
 
uint32_t ifindex
 usually zero for default interface. More...
 
char routeData [MAX_ADDR_STR_SIZE]
 destination GatewayID:ClientId. More...
 
char remoteId [MAX_IDENTITY_SIZE]
 device ID of remote. More...
 

Detailed Description

Data structure to encapsulate IPv4/IPv6/Contiki/lwIP device addresses.

OCDevAddr must be the same as CAEndpoint (in CACommon.h).

Member Data Documentation

OCTransportAdapter OCDevAddr::adapter

adapter type.

char OCDevAddr::addr[MAX_ADDR_STR_SIZE]

address for all adapters.

OCTransportFlags OCDevAddr::flags

transport modifiers.

uint32_t OCDevAddr::ifindex

usually zero for default interface.

uint16_t OCDevAddr::port

for IP.

char OCDevAddr::remoteId[MAX_IDENTITY_SIZE]

device ID of remote.

char OCDevAddr::routeData[MAX_ADDR_STR_SIZE]

destination GatewayID:ClientId.


The documentation for this struct was generated from the following file: