fea_base.hh

来自「xorp源码hg」· HH 代码 · 共 2,028 行 · 第 1/5 页

HH
2,028
字号
	const string&	ifname,	const string&	vif,	const IPv4&	address,	// Output values,	uint32_t&	prefix_len) = 0;    virtual XrlCmdError ifmgr_0_1_get_system_broadcast4(	// Input values,	const string&	ifname,	const string&	vif,	const IPv4&	address,	// Output values,	IPv4&	broadcast) = 0;    virtual XrlCmdError ifmgr_0_1_get_system_endpoint4(	// Input values,	const string&	ifname,	const string&	vif,	const IPv4&	address,	// Output values,	IPv4&	endpoint) = 0;    virtual XrlCmdError ifmgr_0_1_get_system_prefix6(	// Input values,	const string&	ifname,	const string&	vif,	const IPv6&	address,	// Output values,	uint32_t&	prefix_len) = 0;    virtual XrlCmdError ifmgr_0_1_get_system_endpoint6(	// Input values,	const string&	ifname,	const string&	vif,	const IPv6&	address,	// Output values,	IPv6&	endpoint) = 0;    virtual XrlCmdError ifmgr_0_1_get_system_address_enabled4(	// Input values,	const string&	ifname,	const string&	vif,	const IPv4&	address,	// Output values,	bool&	enabled) = 0;    virtual XrlCmdError ifmgr_0_1_get_system_address_enabled6(	// Input values,	const string&	ifname,	const string&	vif,	const IPv6&	address,	// Output values,	bool&	enabled) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Register network interface observer for all system interfaces.     *     *  @param clientname name of xrl entity supporting fea_ifmgr_client.xif     *  methods.     */    virtual XrlCmdError ifmgr_0_1_register_system_interfaces_client(	// Input values,	const string&	clientname) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Unregister network interface observer for all system interfaces. This     *  method is not strictly necessary, the fea will remove the interface     *  observer from its list of known observers if interface update XRLs     *  fail.     */    virtual XrlCmdError ifmgr_0_1_unregister_system_interfaces_client(	// Input values,	const string&	clientname) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Register remote mirror of interface state.     */    virtual XrlCmdError ifmgr_replicator_0_1_register_ifmgr_mirror(	// Input values,	const string&	clientname) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Register remote mirror of interface state.     */    virtual XrlCmdError ifmgr_replicator_0_1_unregister_ifmgr_mirror(	// Input values,	const string&	clientname) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Lookup a route for a destination host address.     *     *  @param dst the destination host address to lookup.     *     *  @param nexthop the address of the next-hop router toward dst.     *     *  @param ifname the name of the physical interface toward dst.     *     *  @param vifname the name of the virtual interface toward dst.     *     *  @param metric the routing metric toward dst.     *     *  @param admin_distance the administratively defined distance toward dst.     *     *  @param protocol_origin the name of the protocol that originated this     *  routing entry.     */    virtual XrlCmdError fti_0_2_lookup_route_by_dest4(	// Input values,	const IPv4&	dst,	// Output values,	IPv4Net&	netmask,	IPv4&	nexthop,	string&	ifname,	string&	vifname,	uint32_t&	metric,	uint32_t&	admin_distance,	string&	protocol_origin) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Lookup a route for a destination host address.     *     *  @param dst the destination host address to lookup.     *     *  @param nexthop the address of the next-hop router toward dst.     *     *  @param ifname the name of the physical interface toward dst.     *     *  @param vifname the name of the virtual interface toward dst.     *     *  @param metric the routing metric toward dst.     *     *  @param admin_distance the administratively defined distance toward dst.     *     *  @param protocol_origin the name of the protocol that originated this     *  routing entry.     */    virtual XrlCmdError fti_0_2_lookup_route_by_dest6(	// Input values,	const IPv6&	dst,	// Output values,	IPv6Net&	netmask,	IPv6&	nexthop,	string&	ifname,	string&	vifname,	uint32_t&	metric,	uint32_t&	admin_distance,	string&	protocol_origin) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Lookup a route for a destination subnet address.     *     *  @param dst the destination subnet address to lookup.     *     *  @param nexthop the address of the next-hop router toward dst.     *     *  @param ifname the name of the physical interface toward dst.     *     *  @param vifname the name of the virtual interface toward dst.     *     *  @param metric the routing metric toward dst.     *     *  @param admin_distance the administratively defined distance toward dst.     *     *  @param protocol_origin the name of the protocol that originated this     *  routing entry.     */    virtual XrlCmdError fti_0_2_lookup_route_by_network4(	// Input values,	const IPv4Net&	dst,	// Output values,	IPv4&	nexthop,	string&	ifname,	string&	vifname,	uint32_t&	metric,	uint32_t&	admin_distance,	string&	protocol_origin) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Lookup a route for a destination subnet address.     *     *  @param dst the destination subnet address to lookup.     *     *  @param nexthop the address of the next-hop router toward dst.     *     *  @param ifname the name of the physical interface toward dst.     *     *  @param vifname the name of the virtual interface toward dst.     *     *  @param metric the routing metric toward dst.     *     *  @param admin_distance the administratively defined distance toward dst.     *     *  @param protocol_origin the name of the protocol that originated this     *  routing entry.     */    virtual XrlCmdError fti_0_2_lookup_route_by_network6(	// Input values,	const IPv6Net&	dst,	// Output values,	IPv6&	nexthop,	string&	ifname,	string&	vifname,	uint32_t&	metric,	uint32_t&	admin_distance,	string&	protocol_origin) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Test if the underlying system supports IPv4.     *     *  @param result true if the underlying system supports IPv4, otherwise     *  false.     */    virtual XrlCmdError fti_0_2_have_ipv4(	// Output values,	bool&	result) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Test if the underlying system supports IPv6.     *     *  @param result true if the underlying system supports IPv4, otherwise     *  false.     */    virtual XrlCmdError fti_0_2_have_ipv6(	// Output values,	bool&	result) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Test whether the IPv4 unicast forwarding engine is enabled or disabled     *  to forward packets.     *     *  @param enabled if true, then the IPv4 unicast forwarding is enabled,     *  otherwise is disabled.     */    virtual XrlCmdError fti_0_2_get_unicast_forwarding_enabled4(	// Output values,	bool&	enabled) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Test whether the IPv6 unicast forwarding engine is enabled or disabled     *  to forward packets.     *     *  @param enabled if true, then the IPv6 unicast forwarding is enabled,     *  otherwise is disabled.     */    virtual XrlCmdError fti_0_2_get_unicast_forwarding_enabled6(	// Output values,	bool&	enabled) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the IPv4 unicast forwarding engine to enable or disable forwarding     *  of packets.     *     *  @param enabled if true, then enable IPv4 unicast forwarding, otherwise     *  disable it.     */    virtual XrlCmdError fti_0_2_set_unicast_forwarding_enabled4(	// Input values,	const bool&	enabled) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the IPv6 unicast forwarding engine to enable or disable forwarding     *  of packets.     *     *  @param enabled if true, then enable IPv6 unicast forwarding, otherwise     *  disable it.     */    virtual XrlCmdError fti_0_2_set_unicast_forwarding_enabled6(	// Input values,	const bool&	enabled) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the IPv4 unicast forwarding engine whether to retain existing XORP     *  forwarding entries on startup.     *     *  @param retain if true, then retain the XORP forwarding entries,     *  otherwise delete them.     */    virtual XrlCmdError fti_0_2_set_unicast_forwarding_entries_retain_on_startup4(	// Input values,	const bool&	retain) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the IPv4 unicast forwarding engine whether to retain existing XORP     *  forwarding entries on shutdown.     *     *  @param retain if true, then retain the XORP forwarding entries,     *  otherwise delete them.     */    virtual XrlCmdError fti_0_2_set_unicast_forwarding_entries_retain_on_shutdown4(	// Input values,	const bool&	retain) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the IPv6 unicast forwarding engine whether to retain existing XORP     *  forwarding entries on startup.     *     *  @param retain if true, then retain the XORP forwarding entries,     *  otherwise delete them.     */    virtual XrlCmdError fti_0_2_set_unicast_forwarding_entries_retain_on_startup6(	// Input values,	const bool&	retain) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the IPv6 unicast forwarding engine whether to retain existing XORP     *  forwarding entries on shutdown.     *     *  @param retain if true, then retain the XORP forwarding entries,     *  otherwise delete them.     */    virtual XrlCmdError fti_0_2_set_unicast_forwarding_entries_retain_on_shutdown6(	// Input values,	const bool&	retain) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Start transaction.     *     *  @param tid the transaction ID to use for this transaction.     */    virtual XrlCmdError redist_transaction4_0_1_start_transaction(	// Output values,	uint32_t&	tid) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Commit transaction.     *     *  @param tid the transaction ID of this transaction.     */    virtual XrlCmdError redist_transaction4_0_1_commit_transaction(	// Input values,	const uint32_t&	tid) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Abort transaction.     *     *  @param tid the transaction ID of this transaction.     */    virtual XrlCmdError redist_transaction4_0_1_abort_transaction(	// Input values,	const uint32_t&	tid) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Add/delete a routing entry.     *     *  @param tid the transaction ID of this transaction.     *     *  @param dst destination network.     *     *  @param nexthop nexthop router address.     *     *  @param ifname interface name associated with nexthop.     *     *  @param vifname virtual interface name with nexthop.     *     *  @param metric origin routing protocol metric for route.     *     *  @param admin_distance administrative distance of origin routing     *  protocol.     *     *  @param cookie value set by the requestor to identify redistribution     *  source. Typical value is the originating protocol name.     *

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?