xorp

SetInterfaceMtu Class Reference

Class for setting an interface MTU. More...

#include <ifconfig_transaction.hh>

Inheritance diagram for SetInterfaceMtu:
InterfaceModifier IfConfigTransactionOperation TransactionOperation

List of all members.

Public Member Functions

 SetInterfaceMtu (IfConfig &ifconfig, const string &ifname, uint32_t mtu)
bool dispatch ()
 Dispatch operation.
string str () const

Static Public Attributes

static const uint32_t MIN_MTU = 68
static const uint32_t MAX_MTU = 65536

Private Attributes

uint32_t _mtu

Detailed Description

Class for setting an interface MTU.


Member Function Documentation

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

Dispatch operation.

Returns:
true on success, false on error.

Implements TransactionOperation.

string SetInterfaceMtu::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