# Functions
DoInNetNS is a utility to run a function `run` inside of a specific network namespace `ns`.
GenerateEtcHostsContent generates a /etc/hosts file based on `hostname`.
GenerateResolvConfContent generates the resolv.conf file content based on `searches`, `servers`, and `options`.
InstanceIDToName converts from the given instance ID (a GUID generated on the Windows host) to its corresponding interface name (e.g.
MergeValues merges `first` and `second` maintaining order `first, second`.
MoveInterfaceToNS moves the adapter with interface name `ifStr` to the network namespace of `pid`.
NetNSConfig moves a network interface into a network namespace and configures it.