Optional connectedIf no source address (option from) was given, relookup the route with the source set to the preferred address received from the first lookup. If policy routing is used, it may be a different route.
Optional dportDestination port as seen by the route lookup.
Optional fibmatchReturn full fib lookup matched route.
Default is to return the resolved dst entry.
Optional fromThe source address.
Optional iifThe device from which this packet is expected to arrive.
Optional ipprotoIP protocol as seen by the route lookup.
Optional markThe firewall mark (fwmark).
Optional oifForce the output device on which this packet will be routed.
Optional sportSource port as seen by the route lookup.
Optional toThe destination address.
Optional tosOnly select routes with the given TOS.
Optional vrfForce the vrf device on which this packet will be routed.
Generated using TypeDoc
Route get options.