class XrlFeaTarget


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 XrlFeaTarget (EventLoop& e, XrlRouter& rtr, FtiConfig& ftic, InterfaceManager& ifmgr, XrlIfConfigUpdateReporter& ifupd, Profile& profile, XrlRawSocket4Manager* xrsm4 = 0, XrlRawSocket6Manager* xrsm6 = 0, LibFeaClientBridge* lfbr = 0, XrlSocketServer* xss = 0)

XrlFeaTarget

bool  done ()

done

[const]

XrlCmdError  common_0_1_get_target_name ( string& name)

common_0_1_get_target_name

Reimplemented from XrlFeaTargetBase.

XrlCmdError  common_0_1_get_version ( string& version)

common_0_1_get_version

Reimplemented from XrlFeaTargetBase.

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

Get status from Xrl Target

Reimplemented from XrlFeaTargetBase.

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

Shutdown FEA cleanly

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_enable_click ( const bool& enable)

fea_click_0_1_enable_click

Enable/disable Click FEA support.

Parameters:

enableif true, then enable the Click FEA support, otherwise disable it.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_start_click ()

fea_click_0_1_start_click

Start Click FEA support.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_stop_click ()

fea_click_0_1_stop_click

Stop Click FEA support.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_enable_duplicate_routes_to_kernel ( const bool& enable)

fea_click_0_1_enable_duplicate_routes_to_kernel

Enable/disable duplicating the Click routes to the system kernel.

Parameters:

enableif true, then enable duplicating the Click routes to the system kernel, otherwise disable it.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_enable_kernel_click ( const bool& enable)

fea_click_0_1_enable_kernel_click

Enable/disable kernel-level Click FEA support.

Parameters:

enableif true, then enable the kernel-level Click FEA support, otherwise disable it.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_enable_kernel_click_install_on_startup ( const bool& enable)

fea_click_0_1_enable_kernel_click_install_on_startup

Enable/disable installing kernel-level Click on startup.

Parameters:

enableif true, then install kernel-level Click on startup.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_kernel_click_modules ( const string& modules)

fea_click_0_1_set_kernel_click_modules

Specify the list of kernel Click modules to load on startup if installing kernel-level Click on startup is enabled. The file names of the kernel modules are separated by colon.

Parameters:

modulesthe list of kernel Click modules (separated by colon) to load.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_kernel_click_mount_directory ( const string& directory)

fea_click_0_1_set_kernel_click_mount_directory

Specify the kernel-level Click mount directory.

Parameters:

directorythe kernel-level Click mount directory.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_kernel_click_config_generator_file ( const string& kernel_click_config_generator_file)

fea_click_0_1_set_kernel_click_config_generator_file

Specify the external program to generate the kernel-level Click configuration.

Parameters:

kernel_click_config_generator_filethe name of the external program to generate the kernel-level Click configuration.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_enable_user_click ( const bool& enable)

fea_click_0_1_enable_user_click

Enable/disable user-level Click FEA support.

Parameters:

enableif true, then enable the user-level Click FEA support, otherwise disable it.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_command_file ( const string& user_click_command_file)

fea_click_0_1_set_user_click_command_file

Specify the user-level Click command file.

Parameters:

user_click_command_filethe name of the user-level Click command file.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_command_extra_arguments ( const string& user_click_command_extra_arguments)

fea_click_0_1_set_user_click_command_extra_arguments

Specify the extra arguments to the user-level Click command.

Parameters:

user_click_command_extra_argumentsthe extra arguments to the user-level Click command.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_command_execute_on_startup ( const bool& user_click_command_execute_on_startup)

fea_click_0_1_set_user_click_command_execute_on_startup

Specify whether to execute on startup the user-level Click command.

Parameters:

user_click_command_execute_on_startupif true, then execute the user-level Click command on startup.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_control_socket_port ( const uint32_t& user_click_control_socket_port)

fea_click_0_1_set_user_click_control_socket_port

Specify the socket port to use for control access to the user-level Click.

Parameters:

user_click_control_socket_portthe socket port to use for control access to the user-level Click.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_control_address ( const IPv4& user_click_control_address)

fea_click_0_1_set_user_click_control_address

Specify the address to use for control access to the user-level Click.

Parameters:

user_click_control_addressthe address to use for control access to the user-level Click.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_startup_config_file ( const string& user_click_startup_config_file)

fea_click_0_1_set_user_click_startup_config_file

Specify the configuration file to be used by user-level Click on startup.

Parameters:

user_click_startup_config_filethe name of the configuration file to be used by user-level Click on startup.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_click_0_1_set_user_click_config_generator_file ( const string& user_click_config_generator_file)

fea_click_0_1_set_user_click_config_generator_file

Specify the external program to generate the user-level Click configuration.

Parameters:

user_click_config_generator_filethe name of the external program to generate the user-level Click configuration.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_fib_0_1_add_fib_client4 ( const string& target_name, const bool& send_updates, const bool& send_resolves)

fea_fib_0_1_add_fib_client4

Add a FIB client.

Parameters:

target_namethe target name of the FIB client to add.
send_updateswhether updates should be sent.
send_resolveswhether resolve requests should be sent.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_fib_0_1_add_fib_client6 ( const string& target_name, const bool& send_updates, const bool& send_resolves)

fea_fib_0_1_add_fib_client6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_fib_0_1_delete_fib_client4 ( const string& target_name)

fea_fib_0_1_delete_fib_client4

Delete a FIB client.

Parameters:

target_namethe target name of the FIB client to delete.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fea_fib_0_1_delete_fib_client6 ( const string& target_name)

fea_fib_0_1_delete_fib_client6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_restore_original_config_on_shutdown ( const bool& enable)

ifmgr_0_1_set_restore_original_config_on_shutdown

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_interface_names ( XrlAtomList& ifnames)

ifmgr_0_1_get_system_interface_names

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_interface_names ( XrlAtomList& ifnames)

ifmgr_0_1_get_configured_interface_names

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_vif_names ( const string& ifname, XrlAtomList& ifnames)

ifmgr_0_1_get_system_vif_names

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_vif_names ( const string& ifname, XrlAtomList& ifnames)

ifmgr_0_1_get_configured_vif_names

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_vif_flags ( const string& ifname, const string& vif, bool& enabled, bool& broadcast, bool& loopback, bool& point_to_point, bool& multicast)

ifmgr_0_1_get_system_vif_flags

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_vif_flags ( const string& ifname, const string& vif, bool& enabled, bool& broadcast, bool& loopback, bool& point_to_point, bool& multicast)

ifmgr_0_1_get_configured_vif_flags

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_vif_pif_index ( const string& ifname, const string& vif, uint32_t& pif_index)

ifmgr_0_1_get_system_vif_pif_index

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_vif_pif_index ( const string& ifname, const string& vif, uint32_t& pif_index)

ifmgr_0_1_get_configured_vif_pif_index

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_start_transaction ( uint32_t& tid)

ifmgr_0_1_start_transaction

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_commit_transaction ( const uint32_t& tid)

ifmgr_0_1_commit_transaction

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_abort_transaction ( const uint32_t& tid)

ifmgr_0_1_abort_transaction

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_create_interface ( const uint32_t& tid, const string& ifname)

ifmgr_0_1_create_interface

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_delete_interface ( const uint32_t& tid, const string& ifname)

ifmgr_0_1_delete_interface

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_configure_interface_from_system ( const uint32_t& tid, const string& ifname)

ifmgr_0_1_configure_interface_from_system

Implicitly configure an interface within the FEA by using information from the underlying system.

Parameters:

tidthe transaction ID.
ifnamethe name of the interface to configure.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_interface_enabled ( const uint32_t& tid, const string& ifname, const bool& enabled)

ifmgr_0_1_set_interface_enabled

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_interface_enabled ( const string& ifname, bool& enabled)

ifmgr_0_1_get_system_interface_enabled

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_interface_enabled ( const string& ifname, bool& enabled)

ifmgr_0_1_get_configured_interface_enabled

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_interface_discard ( const uint32_t& tid, const string& ifname, const bool& discard)

ifmgr_0_1_set_interface_discard

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_interface_discard ( const string& ifname, bool& discard)

ifmgr_0_1_get_configured_interface_discard

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_interface_discard ( const string& ifname, bool& discard)

ifmgr_0_1_get_system_interface_discard

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_mac ( const uint32_t& tid, const string& ifname, const Mac& mac)

ifmgr_0_1_set_mac

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_mac ( const string& ifname, Mac& mac)

ifmgr_0_1_get_system_mac

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_mac ( const string& ifname, Mac& mac)

ifmgr_0_1_get_configured_mac

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_mtu ( const uint32_t& tid, const string& ifname, const uint32_t& mtu)

ifmgr_0_1_set_mtu

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_mtu ( const string& ifname, uint32_t& mtu)

ifmgr_0_1_get_system_mtu

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_mtu ( const string& ifname, uint32_t& mtu)

ifmgr_0_1_get_configured_mtu

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_no_carrier ( const string& ifname, bool& no_carrier)

ifmgr_0_1_get_system_no_carrier

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_no_carrier ( const string& ifname, bool& no_carrier)

ifmgr_0_1_get_configured_no_carrier

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_address_flags4 ( const string& ifname, const string& vifname, const IPv4& address, bool& up, bool& broadcast, bool& loopback, bool& point_to_point, bool& multicast)

ifmgr_0_1_get_system_address_flags4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_address_flags6 ( const string& ifname, const string& vifname, const IPv6& address, bool& up, bool& loopback, bool& point_to_point, bool& multicast)

ifmgr_0_1_get_system_address_flags6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_address_flags4 ( const string& ifname, const string& vifname, const IPv4& address, bool& up, bool& broadcast, bool& loopback, bool& point_to_point, bool& multicast)

ifmgr_0_1_get_configured_address_flags4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_address_flags6 ( const string& ifname, const string& vifname, const IPv6& address, bool& up, bool& loopback, bool& point_to_point, bool& multicast)

ifmgr_0_1_get_configured_address_flags6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_create_vif ( const uint32_t& tid, const string& ifname, const string& vif)

ifmgr_0_1_create_vif

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_delete_vif ( const uint32_t& tid, const string& ifname, const string& vif)

ifmgr_0_1_delete_vif

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_vif_enabled ( const uint32_t& tid, const string& ifname, const string& vif, const bool& enabled)

ifmgr_0_1_set_vif_enabled

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_vif_enabled ( const string& ifname, const string& vif, bool& enabled)

ifmgr_0_1_get_system_vif_enabled

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_vif_enabled ( const string& ifname, const string& vif, bool& enabled)

ifmgr_0_1_get_configured_vif_enabled

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_vif_addresses4 ( const string& ifname, const string& vif, XrlAtomList& addresses)

ifmgr_0_1_get_system_vif_addresses4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_vif_addresses4 ( const string& ifname, const string& vif, XrlAtomList& addresses)

ifmgr_0_1_get_configured_vif_addresses4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_create_address4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address)

ifmgr_0_1_create_address4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_delete_address4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address)

ifmgr_0_1_delete_address4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_address4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address)

ifmgr_0_1_set_address4

XrlCmdError  ifmgr_0_1_set_address_enabled4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address, const bool& en)

ifmgr_0_1_set_address_enabled4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_address_enabled4 ( const string& ifname, const string& vif, const IPv4& address, bool& enabled)

ifmgr_0_1_get_system_address_enabled4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_address_enabled4 ( const string& ifname, const string& vif, const IPv4& address, bool& enabled)

ifmgr_0_1_get_configured_address_enabled4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_prefix4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address, const uint32_t& prefix_len)

ifmgr_0_1_set_prefix4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_prefix4 ( const string& ifname, const string& vif, const IPv4& address, uint32_t& prefix_len)

ifmgr_0_1_get_system_prefix4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_prefix4 ( const string& ifname, const string& vif, const IPv4& address, uint32_t& prefix_len)

ifmgr_0_1_get_configured_prefix4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_broadcast4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address, const IPv4& broadcast)

ifmgr_0_1_set_broadcast4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_broadcast4 ( const string& ifname, const string& vif, const IPv4& address, IPv4& broadcast)

ifmgr_0_1_get_system_broadcast4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_broadcast4 ( const string& ifname, const string& vif, const IPv4& address, IPv4& broadcast)

ifmgr_0_1_get_configured_broadcast4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_endpoint4 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv4& address, const IPv4& endpoint)

ifmgr_0_1_set_endpoint4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_endpoint4 ( const string& ifname, const string& vif, const IPv4& address, IPv4& endpoint)

ifmgr_0_1_get_system_endpoint4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_endpoint4 ( const string& ifname, const string& vif, const IPv4& address, IPv4& endpoint)

ifmgr_0_1_get_configured_endpoint4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_vif_addresses6 ( const string& ifname, const string& vif, XrlAtomList& addresses)

ifmgr_0_1_get_system_vif_addresses6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_vif_addresses6 ( const string& ifname, const string& vif, XrlAtomList& addresses)

ifmgr_0_1_get_configured_vif_addresses6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_create_address6 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address)

ifmgr_0_1_create_address6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_delete_address6 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address)

ifmgr_0_1_delete_address6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_address_enabled6 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address, const bool& enabled)

ifmgr_0_1_set_address_enabled6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_address_enabled6 ( const string& ifname, const string& vif, const IPv6& address, bool& enabled)

ifmgr_0_1_get_system_address_enabled6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_address_enabled6 ( const string& ifname, const string& vif, const IPv6& address, bool& enabled)

ifmgr_0_1_get_configured_address_enabled6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_prefix6 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address, const uint32_t& prefix_len)

ifmgr_0_1_set_prefix6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_prefix6 ( const string& ifname, const string& vif, const IPv6& address, uint32_t& prefix_len)

ifmgr_0_1_get_system_prefix6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_prefix6 ( const string& ifname, const string& vif, const IPv6& address, uint32_t& prefix_len)

ifmgr_0_1_get_configured_prefix6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_set_endpoint6 ( const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address, const IPv6& endpoint)

ifmgr_0_1_set_endpoint6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_system_endpoint6 ( const string& ifname, const string& vif, const IPv6& address, IPv6& endpoint)

ifmgr_0_1_get_system_endpoint6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_get_configured_endpoint6 ( const string& ifname, const string& vif, const IPv6& address, IPv6& endpoint)

ifmgr_0_1_get_configured_endpoint6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_register_client ( const string& spyname)

ifmgr_0_1_register_client

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_unregister_client ( const string& spyname)

ifmgr_0_1_unregister_client

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_register_system_interfaces_client ( const string& spyname)

ifmgr_0_1_register_system_interfaces_client

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_0_1_unregister_system_interfaces_client ( const string& spyname)

ifmgr_0_1_unregister_system_interfaces_client

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_replicator_0_1_register_ifmgr_mirror ( const string& clientname)

ifmgr_replicator_0_1_register_ifmgr_mirror

Reimplemented from XrlFeaTargetBase.

XrlCmdError  ifmgr_replicator_0_1_unregister_ifmgr_mirror ( const string& clientname)

ifmgr_replicator_0_1_unregister_ifmgr_mirror

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_lookup_route_by_dest4 ( const IPv4& host, IPv4Net& netmask, IPv4& nexthop, string& ifname, string& vifname, uint32_t& metric, uint32_t& admin_distance, string& protocol_origin)

fti_0_2_lookup_route_by_dest4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_lookup_route_by_dest6 ( const IPv6& host, IPv6Net& netmask, IPv6& nexthop, string& ifname, string& vifname, uint32_t& metric, uint32_t& admin_distance, string& protocol_origin)

fti_0_2_lookup_route_by_dest6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_lookup_route_by_network4 ( const IPv4Net& dst, IPv4& nexthop, string& ifname, string& vifname, uint32_t& metric, uint32_t& admin_distance, string& protocol_origin)

fti_0_2_lookup_route_by_network4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_lookup_route_by_network6 ( const IPv6Net& dst, IPv6& nexthop, string& ifname, string& vifname, uint32_t& metric, uint32_t& admin_distance, string& protocol_origin)

fti_0_2_lookup_route_by_network6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_have_ipv4 ( bool& result)

fti_0_2_have_ipv4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_have_ipv6 ( bool& result)

fti_0_2_have_ipv6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_get_unicast_forwarding_enabled4 ( bool& enabled)

fti_0_2_get_unicast_forwarding_enabled4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_get_unicast_forwarding_enabled6 ( bool& enabled)

fti_0_2_get_unicast_forwarding_enabled6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_set_unicast_forwarding_enabled4 ( const bool& enabled)

fti_0_2_set_unicast_forwarding_enabled4

Reimplemented from XrlFeaTargetBase.

XrlCmdError  fti_0_2_set_unicast_forwarding_enabled6 ( const bool& enabled)

fti_0_2_set_unicast_forwarding_enabled6

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction4_0_1_start_transaction ( uint32_t& tid)

redist_transaction4_0_1_start_transaction

Start transaction.

Parameters:

tidthe transaction ID to use for this transaction.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction4_0_1_commit_transaction ( const uint32_t& tid)

redist_transaction4_0_1_commit_transaction

Commit transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction4_0_1_abort_transaction ( const uint32_t& tid)

redist_transaction4_0_1_abort_transaction

Abort transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction4_0_1_add_route ( const uint32_t& tid, const IPv4Net& dst, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& cookie, const string& protocol_origin)

redist_transaction4_0_1_add_route

Add/delete a routing entry.

Parameters:

tidthe transaction ID of this transaction.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction4_0_1_delete_route ( const uint32_t& tid, const IPv4Net& network, const string& cookie, const string& protocol_origin)

redist_transaction4_0_1_delete_route

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction4_0_1_delete_all_routes ( const uint32_t& tid, const string& cookie)

redist_transaction4_0_1_delete_all_routes

Delete all routing entries.

Parameters:

tidthe transaction ID of this transaction.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction6_0_1_start_transaction ( uint32_t& tid)

redist_transaction6_0_1_start_transaction

Start transaction.

Parameters:

tidthe transaction ID to use for this transaction.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction6_0_1_commit_transaction ( const uint32_t& tid)

redist_transaction6_0_1_commit_transaction

Commit transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction6_0_1_abort_transaction ( const uint32_t& tid)

redist_transaction6_0_1_abort_transaction

Abort transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction6_0_1_add_route ( const uint32_t& tid, const IPv6Net& dst, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& cookie, const string& protocol_origin)

redist_transaction6_0_1_add_route

Add/delete a routing entry.

Parameters:

tidthe transaction ID of this transaction.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction6_0_1_delete_route ( const uint32_t& tid, const IPv6Net& network, const string& cookie, const string& protocol_origin)

redist_transaction6_0_1_delete_route

Reimplemented from XrlFeaTargetBase.

XrlCmdError  redist_transaction6_0_1_delete_all_routes ( const uint32_t& tid, const string& cookie)

redist_transaction6_0_1_delete_all_routes

Delete all routing entries.

Parameters:

tidthe transaction ID of this transaction.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet4_0_1_send ( const string& if_name, const string& vif_name, const IPv4& src_address, const IPv4& dst_address, const uint32_t& ip_protocol, const int32_t& ip_ttl, const int32_t& ip_tos, const bool& ip_router_alert, const vector<uint8_t>& payload)

raw_packet4_0_1_send

Send an IPv4 packet on a raw socket.

Parameters:

if_namethe interface to send the packet on. It is essential for multicast. In the unicast case this field may be empty.
vif_namethe vif to send the packet on. It is essential for multicast. In the unicast case this field may be empty.
src_addressthe IP source address.
dst_addressthe IP destination address.
ip_protocolthe IP protocol number. It must be between 1 and 255.
ip_ttlthe IP TTL (hop-limit). If it has a negative value, the TTL will be set internally before transmission.
ip_tosthe Type Of Service (Diffserv/ECN bits for IPv4). If it has a negative value, the TOS will be set internally before transmission.
ip_router_alertif true, then add the IP Router Alert option to the IP packet.
payloadthe payload, everything after the IP header and options.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet4_0_1_register_receiver ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol, const bool& enable_multicast_loopback)

raw_packet4_0_1_register_receiver

Register to receive IPv4 packets. The receiver is expected to support raw_packet4_client/0.1 interface.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should be accepted.
vif_namethe vif through which packets should be accepted.
ip_protocolthe IP protocol number that the receiver is interested in. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.
enable_multicast_loopbackif true then enable delivering of multicast datagrams back to this host (assuming the host is a member of the same multicast group.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet4_0_1_unregister_receiver ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol)

raw_packet4_0_1_unregister_receiver

Unregister to receive IPv4 packets.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should not be accepted.
vif_namethe vif through which packets should not be accepted.
ip_protocolthe IP Protocol number that the receiver is not interested in anymore. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet4_0_1_join_multicast_group ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol, const IPv4& group_address)

raw_packet4_0_1_join_multicast_group

Join an IPv4 multicast group.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should be accepted.
vif_namethe vif through which packets should be accepted.
ip_protocolthe IP protocol number that the receiver is interested in. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.
group_addressthe multicast group address to join.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet4_0_1_leave_multicast_group ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol, const IPv4& group_address)

raw_packet4_0_1_leave_multicast_group

Leave an IPv4 multicast group.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should not be accepted.
vif_namethe vif through which packets should not be accepted.
ip_protocolthe IP protocol number that the receiver is not interested in anymore. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.
group_addressthe multicast group address to leave.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet6_0_1_send ( const string& if_name, const string& vif_name, const IPv6& src_address, const IPv6& dst_address, const uint32_t& ip_protocol, const int32_t& ip_ttl, const int32_t& ip_tos, const bool& ip_router_alert, const vector<uint8_t>& payload)

raw_packet6_0_1_send

Send an IPv6 packet on a raw socket.

Parameters:

if_namethe interface to send the packet on. It is essential for multicast. In the unicast case this field may be empty.
vif_namethe vif to send the packet on. It is essential for multicast. In the unicast case this field may be empty.
src_addressthe IP source address.
dst_addressthe IP destination address.
ip_protocolthe IP protocol number. It must be between 1 and 255.
ip_ttlthe IP TTL (hop-limit). If it has a negative value, the TTL will be set internally before transmission.
ip_tosthe Type Of Service (IP traffic class for IPv6). If it has a negative value, the TOS will be set internally before transmission.
ip_router_alertif true, then add the IP Router Alert option to the IP packet.
payloadthe payload, everything after the IP header and options.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet6_0_1_register_receiver ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol, const bool& enable_multicast_loopback)

raw_packet6_0_1_register_receiver

Register to receive IPv6 packets. The receiver is expected to support raw_packet6_client/0.1 interface.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should be accepted.
vif_namethe vif through which packets should be accepted.
ip_protocolthe IP protocol number that the receiver is interested in. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.
enable_multicast_loopbackif true then enable delivering of multicast datagrams back to this host (assuming the host is a member of the same multicast group.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet6_0_1_unregister_receiver ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol)

raw_packet6_0_1_unregister_receiver

Unregister to receive IPv6 packets.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should not be accepted.
vif_namethe vif through which packets should not be accepted.
ip_protocolthe IP Protocol number that the receiver is not interested in anymore. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet6_0_1_join_multicast_group ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol, const IPv6& group_address)

raw_packet6_0_1_join_multicast_group

Join an IPv6 multicast group.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should be accepted.
vif_namethe vif through which packets should be accepted.
ip_protocolthe IP protocol number that the receiver is interested in. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.
group_addressthe multicast group address to join.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  raw_packet6_0_1_leave_multicast_group ( const string& xrl_target_name, const string& if_name, const string& vif_name, const uint32_t& ip_protocol, const IPv6& group_address)

raw_packet6_0_1_leave_multicast_group

Leave an IPv6 multicast group.

Parameters:

xrl_target_namethe receiver's XRL target name.
if_namethe interface through which packets should not be accepted.
vif_namethe vif through which packets should not be accepted.
ip_protocolthe IP protocol number that the receiver is not interested in anymore. It must be between 0 and 255. A protocol number of 0 is used to specify all protocols.
group_addressthe multicast group address to leave.

Reimplemented from XrlFeaTargetBase.

XrlCmdError  socket4_locator_0_1_find_socket_server_for_addr ( const IPv4& addr, string& xrl_target)

socket4_locator_0_1_find_socket_server_for_addr

Reimplemented from XrlFeaTargetBase.

XrlCmdError  socket6_locator_0_1_find_socket_server_for_addr ( const IPv6& addr, string& xrl_target)

socket6_locator_0_1_find_socket_server_for_addr

Reimplemented from XrlFeaTargetBase.

XrlCmdError  profile_0_1_enable ( const string& pname)

profile_0_1_enable

Reimplemented from XrlFeaTargetBase.

XrlCmdError  profile_0_1_disable ( const string& pname)

profile_0_1_disable

Reimplemented from XrlFeaTargetBase.

XrlCmdError  profile_0_1_get_entries ( const string& pname, const string& instance_name)

profile_0_1_get_entries

Reimplemented from XrlFeaTargetBase.

XrlCmdError  profile_0_1_clear ( const string& pname)

profile_0_1_clear

Reimplemented from XrlFeaTargetBase.

XrlCmdError  profile_0_1_list ( string& info)

profile_0_1_list

Reimplemented from XrlFeaTargetBase.


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:06 2006, using kdoc $.