class IfTreeAddr6

Class for holding an IPv6 interface address and address related items. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Members


Detailed Description

Class for holding an IPv6 interface address and address related items.

 IfTreeAddr6 (const IPv6& addr)

IfTreeAddr6

const IPv6&  addr ()

addr

[const]

inline bool  enabled ()

enabled

[const]

inline bool  loopback ()

loopback

[const]

inline bool  point_to_point ()

point_to_point

[const]

inline bool  multicast ()

multicast

[const]

inline void  set_enabled (bool en)

set_enabled

inline void  set_loopback (bool v)

set_loopback

inline void  set_point_to_point (bool v)

set_point_to_point

inline void  set_multicast (bool v)

set_multicast

inline uint32_t  prefix_len ()

prefix_len

[const]

Get prefix length associated with address.

bool  set_prefix_len (uint32_t prefix_len)

set_prefix_len

Set prefix length associate with address.

Returns: true on success, false if prefix length is invalid.

IPv6  endpoint ()

endpoint

[const]

void  set_endpoint (const IPv6& oaddr)

set_endpoint

inline void  copy_state (const IfTreeAddr6& o)

copy_state

Copy state of internal variables from another IfTreeAddr6.

inline bool  is_same_state (const IfTreeAddr6& o)

is_same_state

Test if the address-specific internal state is same.

Parameters:

othe IfTreeAddr6 to compare against.

Returns: true if the address-specific internal state is same.

void  finalize_state ()

finalize_state

Reimplemented from IfTreeItem.

string  str ()

str

[const]

Reimplemented from IfTreeItem.

IPv6 _addr

_addr

[protected]

bool _enabled

_enabled

[protected]

bool _loopback

_loopback

[protected]

bool _point_to_point

_point_to_point

[protected]

bool _multicast

_multicast

[protected]

IPv6 _oaddr

_oaddr

[protected]

uint32_t _prefix_len

_prefix_len

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:19 2006, using kdoc $.