Documentation ¶
Overview ¶
Originally found in https://github.com/google/gopacket/blob/master/routing/routing.go
- Route selection modified to choose most selective route to break ties when route priority is insufficient.
This is a BSD import for the routing structure initially found in https://github.com/google/gopacket/blob/master/routing/routing.go RIB parsing follows the BSD route format described in https://github.com/freebsd/freebsd/blob/master/sys/net/route.h
Index ¶
Constants ¶
View Source
const ( RTF_UP = 0x1 RTF_GATEWAY = 0x2 RTF_HOST = 0x4 RTF_REJECT = 0x8 RTF_DYNAMIC = 0x10 RTF_MODIFIED = 0x20 RTF_STATIC = 0x800 RTF_BLACKHOLE = 0x1000 RTF_LOCAL = 0x200000 RTF_BROADCAST = 0x400000 RTF_MULTICAST = 0x800000 )
selected BSD Route flags.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.