package
0.0.0-20250123171139-872c5bb7f683
Repository: https://github.com/drc0ns0le/net-perf.git
Documentation: pkg.go.dev
# Functions
ConfigureRoute configures a route for the specified network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetOutboundIPs determines the preferred outgoing private IPv4 and IPv6 addresses.
No description provided by the author
GetRoute returns a specific route matching the destination and optionally the gateway and/or source IP.
GetWGRouteTable reads the /proc/net/route file and returns a slice of Route objects, each representing a route in the table that is related to a WireGuard interface.
ListManagedRoutes returns a list of all routes managed by this package (identified by CustomRouteProtocol).
No description provided by the author
RemoveAllManagedRoutes deletes all routes managed by this package (identified by CustomRouteProtocol).
RemoveRoute removes a route from the Linux routing table given a network.
RouteDeviceHasPrefix checks if a specific route has a device name starting with the specified prefix.
RouteExists checks if a route to the specified network exists.
# Variables
No description provided by the author