|
|
IfConfigSet (IfConfig& ifc)
| IfConfigSet |
~IfConfigSet ()
| ~IfConfigSet |
[virtual]
IfConfig& ifc ()
| ifc |
void register_ifc ()
| register_ifc |
[virtual]
int start ()
| start |
[pure virtual]
Start operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
int stop ()
| stop |
[pure virtual]
Stop operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
bool push_config (const IfTree& config)
| push_config |
[virtual]
Push the network interface configuration into the underlying system.
Parameters:
config | the interface tree configuration to push. |
Returns: true on success, otherwise false.
int set_interface_mac_address (const string& ifname,
uint16_t if_index,
const struct ether_addr& ether_addr,
string& reason)
| set_interface_mac_address |
[protected pure virtual]
Set the interface MAC address.
Parameters:
ifname | the interface name. |
if_index | the interface index. |
ether_addr | the Ethernet MAC address to set. |
reason | the human-readable reason for any failure. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_interface_mtu (const string& ifname,
uint16_t if_index,
uint32_t mtu,
string& reason)
| set_interface_mtu |
[protected pure virtual]
Set the interface MTU address.
Parameters:
ifname | the interface name. |
if_index | the interface index. |
mtu | the MTU to set. |
reason | the human-readable reason for any failure. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_interface_flags (const string& ifname,
uint16_t if_index,
uint32_t flags,
string& reason)
| set_interface_flags |
[protected pure virtual]
Set the interface flags.
Parameters:
ifname | the interface name. |
if_index | the interface index. |
flags | the flags to set. |
reason | the human-readable reason for any failure. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_vif_address (const string& ifname,
uint16_t if_index,
bool is_broadcast,
bool is_p2p,
const IPvX& addr,
const IPvX& dst_or_bcast,
uint32_t prefix_len,
string& reason)
| set_vif_address |
[protected pure virtual]
Set an address on an interface.
Parameters:
ifname | the interface name. |
if_index | the interface index. |
is_broadcast | true if dst_or_bcast is a broadcast address. |
is_p2p | true if dst_or_bcast is a destination/peer address. |
addr | the address to set. |
dst_or_bcast | the broadcast or the destination/peer address. |
prefix_len | the prefix length of the subnet mask. |
reason | the human-readable reason for any failure. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_vif_address (const string& ifname,
uint16_t if_index,
const IPvX& addr,
uint32_t prefix_len,
string& reason)
| delete_vif_address |
[protected pure virtual]
Delete an address from an interface.
Parameters:
ifname | the interface name. |
if_index | the interface index. |
addr | the address to delete. |
prefix_len | the prefix length of the subnet mask. |
reason | the human-readable reason for any failure. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:57 2003, using kdoc 2.0a54+XORP. |