class IfTreeAddr6

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

Definition#include <iftree.hh>
InheritsIfTreeItem [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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  addr_flags ()

addr_flags

[const]

inline void  set_addr_flags (uint32_t v)

set_addr_flags

inline uint32_t  prefix ()

prefix

[const]

Get prefix associated with address.

bool  set_prefix (uint32_t prefix)

set_prefix

Set prefix associate with interface.

Returns: true on success, false if prefix 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]

uint32_t _addr_flags

_addr_flags

[protected]

IPv6 _oaddr

_oaddr

[protected]

uint32_t _prefix

_prefix

[protected]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP.