xorp

SetAddr4Prefix Class Reference

Class to set the prefix of an IPv4 address associated with a vif. More...

#include <ifconfig_transaction.hh>

Inheritance diagram for SetAddr4Prefix:
Addr4Modifier VifModifier InterfaceModifier IfConfigTransactionOperation TransactionOperation

List of all members.

Public Member Functions

 SetAddr4Prefix (IfConfig &ifconfig, const string &ifname, const string &vifname, const IPv4 &addr, uint32_t prefix_len)
bool dispatch ()
 Dispatch operation.
string str () const

Static Public Attributes

static const uint32_t MAX_PREFIX_LEN = 32

Protected Attributes

uint32_t _prefix_len

Detailed Description

Class to set the prefix of an IPv4 address associated with a vif.


Member Function Documentation

bool SetAddr4Prefix::dispatch ( ) [inline, virtual]

Dispatch operation.

Returns:
true on success, false on error.

Implements TransactionOperation.

string SetAddr4Prefix::str ( ) const [inline, virtual]
Returns:
string representation of operation.

Implements TransactionOperation.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations