//
pkg.gl
Category
github.com/lancs-net/netns
netutils
package
0.6.1
Repository:
https://github.com/lancs-net/netns.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
52 SLOC
#
Functions
GetInterfaceAddr
GetInterfaceAddr returns the IPv4 address of a network interface.
SetupNATOut
SetupNATOut adds NAT rules for outbound traffic with iptables.