mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
17 lines
231 B
Go
17 lines
231 B
Go
package routing
|
|
|
|
type RouteType int
|
|
|
|
const (
|
|
IPv4 RouteType = 0
|
|
IPv6 RouteType = 1
|
|
)
|
|
|
|
type Route struct {
|
|
Type RouteType
|
|
Default bool
|
|
Device string
|
|
Destination string
|
|
Gateway string
|
|
Flags string
|
|
}
|