function target setup route to host

NAME [edit section]

target_setup_route_to_host

SYNOPSIS [edit section]

target_setup_route_to_host

DESCRIPTION [edit section]

This function is used to set up the route from the target (board) back to the host machine. Even though the host machine may be able to communicate with the target over the selected transport, the target might not have network communication with the host.

This function checks that the host has communication with the target, and then tries to set up routing on the target to the host, using /sbin/route on the target board.

NOTE: I can find no callers of this function in Fuego as of January 2023

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

This function takes the following positional arguments:

These parameters are from the perspective of the target.

RETURN [edit section]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]