github.com/vishvananda/netlink@v1.3.0/netns_unspecified.go (about)

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