- public override void activate_multipath ()
- public
int
_table_for_macaddr (string
_macaddr) throws Error
Makes sure that a routing table exists for packets coming from
macaddr. Returns the number of that table.
- public void _table_for_macaddr_remove_all () throws
Error
Removes all routing table created for packets coming from any macaddr
- public void _table_for_macaddr_remove (
string
_macaddr) throws Error
Makes sure that a routing table doesn't exist anymore for packets
coming from macaddr
- public
string
_modify_routes_cmd (string
command, string
ip, string
cidr, RouteSolutions? route_solutions, string
? table = null)
Returns proper iproute command arguments to add/change/delete routes
- public
string
_modify_neighbour_cmd (string
command, string
ip, string
? dev, string
? pref_src)
Returns proper iproute command arguments to add/change/delete a
neighbour
- protected override void _add_outgoing_route (
string
ip, string
cidr, RouteSolutions route_solutions)
Add a route (that was non existent) towards ip/cidr for packets
generated by this host. The gateways are route_solutions
- protected override void _add_forwarding_route (
string
ip, string
cidr, string
prev_hop, RouteSolutions route_solutions) throws Error
Add a route (that was non existent) towards ip/cidr for packets coming
from MAC prev_hop. The gateways are route_solutions
- protected override void _add_forwarding_route_unreachable (
string
ip, string
cidr, string
prev_hop) throws Error
Add a route (that was non existent) towards ip/cidr for packets coming
from MAC prev_hop. In fact this route is UNREACHABLE
- protected override void _add_forwarding_route_drop (
string
ip, string
cidr, string
prev_hop) throws Error
Add a route (that was non existent) towards ip/cidr for packets coming
from MAC prev_hop. In fact this route is DROP
- protected override void _change_outgoing_route (
string
ip, string
cidr, RouteSolutions route_solutions, RouteSolutions old_route_solutions)
Change a route (that was existent) towards ip/cidr for packets
generated by this host. The gateways are route_solutions. The old gateways were old_route_solutions
- protected override void _change_forwarding_route (
string
ip, string
cidr, string
prev_hop, RouteSolutions route_solutions, RouteSolutions old_route_solutions) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. The gateways are route_solutions. The old gateways were old_route_solutions
- protected override void _change_forwarding_route_unreachable (
string
ip, string
cidr, string
prev_hop, RouteSolutions old_route_solutions) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. In fact this route is UNREACHABLE The old gateways were old_route_solutions
- protected override void _change_forwarding_route_drop (
string
ip, string
cidr, string
prev_hop, RouteSolutions old_route_solutions) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. In fact this route is DROP The old gateways were old_route_solutions
- protected override void _change_forwarding_route_was_unreachable (
string
ip, string
cidr, string
prev_hop, RouteSolutions route_solutions) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. The gateways are route_solutions. Previously the route was UNREACHABLE
- protected override void _change_forwarding_route_drop_was_unreachable (
string
ip, string
cidr, string
prev_hop) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. In fact now this route is DROP Previously the route was UNREACHABLE
- protected override void _change_forwarding_route_was_drop (
string
ip, string
cidr, string
prev_hop, RouteSolutions route_solutions) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. The gateways are route_solutions. Previously the route was DROP
- protected override void _change_forwarding_route_unreachable_was_drop (
string
ip, string
cidr, string
prev_hop) throws Error
Change a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. In fact now this route is UNREACHABLE Previously the route was DROP
- protected override void _remove_outgoing_route (
string
ip, string
cidr, RouteSolutions old_route_solutions)
Remove a route (that was existent) towards ip/cidr for packets
generated by this host. The old gateways were old_route_solutions
- protected override void _remove_forwarding_route (
string
ip, string
cidr, string
prev_hop, RouteSolutions old_route_solutions) throws Error
Remove a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. The old gateways were old_route_solutions
- protected override void _remove_forwarding_route_was_unreachable (
string
ip, string
cidr, string
prev_hop) throws Error
Remove a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. Previously the route was UNREACHABLE
- protected override void _remove_forwarding_route_was_drop (
string
ip, string
cidr, string
prev_hop) throws Error
Remove a route (that was existent) towards ip/cidr for packets coming
from MAC prev_hop. Previously the route was DROP
- protected override void _forward_no_more_from (
string
_prev_hop) throws Error
Stop forwarding (in fact it means delete all rules for...) packets
coming from MAC prev_hop.
- protected override void _forward_no_more () throws
Error
Delete all specific rules for any prev_hop.
- protected override void _add_neighbour (
string
ip, string
dev, string
pref_src)
Adds a new neighbour with corresponding properties.
- protected override void _change_neighbour (
string
ip, string
dev, string
pref_src, string
old_dev)
Edits the neighbour with the corresponding properties.
- protected override void _delete_neighbour (
string
ip, string
old_dev)
Removes the neighbour with the corresponding properties.
- protected void _disable_rp_filter (
string
nicname)
IGS management
- protected override
bool
_igs_update_rules (string
prev_mode, bool
prev_announce_myself, ArrayList
<TunnelItem> prev_list_tunnels, string
mode, bool
announce_myself, ArrayList
<TunnelItem> list_tunnels, string
pref_src) throws Error
- protected override
bool
check_ping (string
ipstr)
- public
bool
impl_check_ping (string
ipstr)
- protected override
bool
_reset_routes (string
ip_whole_network, string
cidr_whole_network)
- public override void ip_forward (
bool
enable)