Class IpRouteEntry

unix route model ROUTE := NODE_SPEC [ INFO_SPEC ]

NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ] [ table TABLE_ID ] [ proto RTPROTO ] [ scope SCOPE ] [ metric METRIC ]

Hierarchy

  • IpRouteEntry

Constructors

Properties

dest?: string
dev?: string
expires?: string
hoplimit?: number

hoplimit [0-255]

metric?: number
mtu?: string
pref?: number | "medium"
proto?: number | "kernel" | "boot" | "static"
scope?: number | "host" | "link" | "global"
src?: string
table?: string | number
tos?: string
type?: "local" | "anycast" | "unicast" | "broadcast" | "multicast" | "throw" | "unreachable" | "prohibit" | "blackhole" | "nat"
via?: string

Methods

Generated using TypeDoc