package
1.6.3
Repository: https://github.com/form3tech-oss/cilium.git
Documentation: pkg.go.dev

# Functions

Delete deletes a Linux route.
DeleteRule delete a mark based rule from the routing table.
DeleteRuleIPv6 delete a mark based IPv6 rule from the routing table.
Lookup attempts to find the linux route based on the route specification.
NodeDeviceWithDefaultRoute returns the node's device which handles the default route in the current namespace.
ReplaceRule add or replace rule in the routing table using a mark to indicate table.
ReplaceRuleIPv6 add or replace IPv6 rule in the routing table using a mark to indicate table.
Upsert adds or updates a Linux kernel route.

# Constants

EncryptRouteProtocol for Encryption specific routes.
MainTable is Linux's default routing table.
RouteReplaceMaxTries is the number of attempts the route will be attempted to be added or updated in case the kernel returns an error.
RouteReplaceRetryInterval is the interval in which RouteReplaceMaxTries attempts are attempted.
RTN_LOCAL is a route type used to indicate packet should be "routed" locally and passed up the stack.

# Structs

No description provided by the author
Rule is the specification of an IP routing rule.

# Type aliases

ByMask is used to sort an array of routes by mask, narrow first.