Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: in6_opt.h

Class TInetRouteInfo

class TInetRouteInfo;

Description

Information of a route entry in IP stack. Used by event service (EClassRoute events) and KSoInetRouteInfo socket option.

Members

Defined in TInetRouteInfo:
EAnycast, EDeprecated, EGateway, EIncomplete, ELoopback, EOnlink, EReachable, ERedirect, EStale, TState, anonymous, iDstAddr, iGateway, iIndex, iInterface, iLifetime, iMetric, iPrefixLen, iScopeId, iState, iType


Member enumerations


Enum anonymous

n/a

Description

EDeprecated

This bit is set in iType if the route is deprecated.


Enum TState

TState

Description

Values used in iState field.

EIncomplete

ELoopback

EOnlink

EGateway

EAnycast

ERedirect

EReachable

EStale

[Top]


Member data


iIndex

TUint32 iIndex;

Description

Route index.


iType

TUint iType;

Description

Type of route (kernel generated have 0 at the present).


iState

TUint iState;

Description

State of route (copied from iState in CIp6Route).


iMetric

TInt iMetric;

Description

Smaller is better (less hops and/or faster link).


iInterface

TUint32 iInterface;

Description

Network interface index of the route.


iGateway

TIp6Addr iGateway;

Description

IP address of gateway (might be the interface).


iDstAddr

TIp6Addr iDstAddr;

Description

Destination network or host.


iPrefixLen

TUint8 iPrefixLen;

Description

Length of the route prefix in bits.


iScopeId

TUint32 iScopeId;

Description

Scope Id of this route.


iLifetime

TUint32 iLifetime;

Description

Route lifetime in seconds.