Lines Matching refs:gateway
425 # f_validate_gateway $gateway $ipaddr $netmask
427 # Validate an IPv4 default gateway (aka router) address for a given IP address
429 # Returns success if $ipaddr and $gateway are in the same network given subnet
434 local gateway="$1" ipaddr="$2" netmask="$3"
437 f_validate_ipaddr "$gateway" "$netmask" || return $FAILURE
441 f_inet_atoi "$gateway" gwnum
448 # f_dialog_validate_tcpip $hostname $gateway $nameserver $ipaddr $netmask
455 local hostname="$1" gateway="$2" nameserver="$3"
471 elif [ "$gateway" -a "$gateway" != "NO" ] &&
472 ! f_validate_gateway "$gateway" "$ipaddr" "$netmask"; then
599 ( $1 == "gateway:" ) \
1089 # interface, gateway, nameserver, and hostname settings -- all required for
1107 # VAR_GATEWAY Default gateway to use.