Interface RouteGetOptions

Route get options.

Hierarchy

  • RouteGetOptions

Properties

connected?: true

If 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.

dport?: number

Destination port as seen by the route lookup.

fibmatch?: true

Return full fib lookup matched route. Default is to return the resolved dst entry.

from?: string

The source address.

iif?: string

The device from which this packet is expected to arrive.

ipproto?: string | number

IP protocol as seen by the route lookup.

mark?: string

The firewall mark (fwmark).

oif?: string

Force the output device on which this packet will be routed.

sport?: number

Source port as seen by the route lookup.

to?: string

The destination address.

tos?: number

Only select routes with the given TOS.

vrf?: string

Force the vrf device on which this packet will be routed.

Generated using TypeDoc