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 void  set_enabled (bool en)

set_enabled

inline bool  enabled ()

enabled

[const]

bool  set_prefix (uint32_t prefix)

set_prefix

Set prefix associate with interface.

Returns: true on success, false if prefix is invalid

inline uint32_t  prefix ()

prefix

[const]

Get prefix associated with address.

inline uint32_t  flags ()

flags

[const]

Get flags associated with address.

void  set_endpoint (const IPv6& oaddr)

set_endpoint

IPv6  endpoint ()

endpoint

[const]

void  finalize_state ()

finalize_state

Reimplemented from IfTreeItem.

string  str ()

str

[const]

Reimplemented from IfTreeItem.

IPv6 _addr

_addr

[protected]

IPv6 _oaddr

_oaddr

[protected]

bool _en

_en

[protected]

uint32_t _flags

_flags

[protected]

uint32_t _prefix

_prefix

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP.