github.com/sagernet/netlink@v0.0.0-20240612041022-b9a21c07ac6a/genetlink_unspecified.go (about)

     1  //go:build !linux
     2  // +build !linux
     3  
     4  package netlink
     5  
     6  type GenlOp struct{}
     7  
     8  type GenlMulticastGroup struct{}
     9  
    10  type GenlFamily struct{}
    11  
    12  func (h *Handle) GenlFamilyList() ([]*GenlFamily, error) {
    13  	return nil, ErrNotImplemented
    14  }
    15  
    16  func GenlFamilyList() ([]*GenlFamily, error) {
    17  	return nil, ErrNotImplemented
    18  }
    19  
    20  func (h *Handle) GenlFamilyGet(name string) (*GenlFamily, error) {
    21  	return nil, ErrNotImplemented
    22  }
    23  
    24  func GenlFamilyGet(name string) (*GenlFamily, error) {
    25  	return nil, ErrNotImplemented
    26  }