1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// +build !linux package netlink func GetNetNsIdByPid(pid int) (int, error) { return 0, ErrNotImplemented } func SetNetNsIdByPid(pid, nsid int) error { return ErrNotImplemented } func GetNetNsIdByFd(fd int) (int, error) { return 0, ErrNotImplemented } func SetNetNsIdByFd(fd, nsid int) error { return ErrNotImplemented }