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

     1  // +build !linux
     2  
     3  package netlink
     4  
     5  import "net"
     6  
     7  func LinkSetUp(link Link) error {
     8  	return ErrNotImplemented
     9  }
    10  
    11  func LinkSetDown(link Link) error {
    12  	return ErrNotImplemented
    13  }
    14  
    15  func LinkSetMTU(link Link, mtu int) error {
    16  	return ErrNotImplemented
    17  }
    18  
    19  func LinkSetMaster(link Link, master Link) error {
    20  	return ErrNotImplemented
    21  }
    22  
    23  func LinkSetNsPid(link Link, nspid int) error {
    24  	return ErrNotImplemented
    25  }
    26  
    27  func LinkSetNsFd(link Link, fd int) error {
    28  	return ErrNotImplemented
    29  }
    30  
    31  func LinkSetName(link Link, name string) error {
    32  	return ErrNotImplemented
    33  }
    34  
    35  func LinkSetAlias(link Link, name string) error {
    36  	return ErrNotImplemented
    37  }
    38  
    39  func LinkSetHardwareAddr(link Link, hwaddr net.HardwareAddr) error {
    40  	return ErrNotImplemented
    41  }
    42  
    43  func LinkSetVfHardwareAddr(link Link, vf int, hwaddr net.HardwareAddr) error {
    44  	return ErrNotImplemented
    45  }
    46  
    47  func LinkSetVfVlan(link Link, vf, vlan int) error {
    48  	return ErrNotImplemented
    49  }
    50  
    51  func LinkSetVfVlanQos(link Link, vf, vlan, qos int) error {
    52  	return ErrNotImplemented
    53  }
    54  
    55  func LinkSetVfVlanQosProto(link Link, vf, vlan, qos, proto int) error {
    56  	return ErrNotImplemented
    57  }
    58  
    59  func LinkSetVfTxRate(link Link, vf, rate int) error {
    60  	return ErrNotImplemented
    61  }
    62  
    63  func LinkSetVfRate(link Link, vf, minRate, maxRate int) error {
    64  	return ErrNotImplemented
    65  }
    66  
    67  func LinkSetNoMaster(link Link) error {
    68  	return ErrNotImplemented
    69  }
    70  
    71  func LinkSetMasterByIndex(link Link, masterIndex int) error {
    72  	return ErrNotImplemented
    73  }
    74  
    75  func LinkSetXdpFd(link Link, fd int) error {
    76  	return ErrNotImplemented
    77  }
    78  
    79  func LinkSetXdpFdWithFlags(link Link, fd, flags int) error {
    80  	return ErrNotImplemented
    81  }
    82  
    83  func LinkSetARPOff(link Link) error {
    84  	return ErrNotImplemented
    85  }
    86  
    87  func LinkSetARPOn(link Link) error {
    88  	return ErrNotImplemented
    89  }
    90  
    91  func LinkByName(name string) (Link, error) {
    92  	return nil, ErrNotImplemented
    93  }
    94  
    95  func LinkByAlias(alias string) (Link, error) {
    96  	return nil, ErrNotImplemented
    97  }
    98  
    99  func LinkByIndex(index int) (Link, error) {
   100  	return nil, ErrNotImplemented
   101  }
   102  
   103  func LinkSetHairpin(link Link, mode bool) error {
   104  	return ErrNotImplemented
   105  }
   106  
   107  func LinkSetGuard(link Link, mode bool) error {
   108  	return ErrNotImplemented
   109  }
   110  
   111  func LinkSetFastLeave(link Link, mode bool) error {
   112  	return ErrNotImplemented
   113  }
   114  
   115  func LinkSetLearning(link Link, mode bool) error {
   116  	return ErrNotImplemented
   117  }
   118  
   119  func LinkSetRootBlock(link Link, mode bool) error {
   120  	return ErrNotImplemented
   121  }
   122  
   123  func LinkSetFlood(link Link, mode bool) error {
   124  	return ErrNotImplemented
   125  }
   126  
   127  func LinkSetTxQLen(link Link, qlen int) error {
   128  	return ErrNotImplemented
   129  }
   130  
   131  func LinkSetGSOMaxSize(link Link, maxSize int) error {
   132  	return ErrNotImplemented
   133  }
   134  
   135  func LinkSetGROMaxSize(link Link, maxSize int) error {
   136  	return ErrNotImplemented
   137  }
   138  
   139  func LinkSetGSOIPv4MaxSize(link Link, maxSize int) error {
   140  	return ErrNotImplemented
   141  }
   142  
   143  func LinkSetGROIPv4MaxSize(link Link, maxSize int) error {
   144  	return ErrNotImplemented
   145  }
   146  
   147  func LinkAdd(link Link) error {
   148  	return ErrNotImplemented
   149  }
   150  
   151  func LinkDel(link Link) error {
   152  	return ErrNotImplemented
   153  }
   154  
   155  func SetHairpin(link Link, mode bool) error {
   156  	return ErrNotImplemented
   157  }
   158  
   159  func SetGuard(link Link, mode bool) error {
   160  	return ErrNotImplemented
   161  }
   162  
   163  func SetFastLeave(link Link, mode bool) error {
   164  	return ErrNotImplemented
   165  }
   166  
   167  func SetLearning(link Link, mode bool) error {
   168  	return ErrNotImplemented
   169  }
   170  
   171  func SetRootBlock(link Link, mode bool) error {
   172  	return ErrNotImplemented
   173  }
   174  
   175  func SetFlood(link Link, mode bool) error {
   176  	return ErrNotImplemented
   177  }
   178  
   179  func LinkList() ([]Link, error) {
   180  	return nil, ErrNotImplemented
   181  }
   182  
   183  func AddrAdd(link Link, addr *Addr) error {
   184  	return ErrNotImplemented
   185  }
   186  
   187  func AddrReplace(link Link, addr *Addr) error {
   188  	return ErrNotImplemented
   189  }
   190  
   191  func AddrDel(link Link, addr *Addr) error {
   192  	return ErrNotImplemented
   193  }
   194  
   195  func AddrList(link Link, family int) ([]Addr, error) {
   196  	return nil, ErrNotImplemented
   197  }
   198  
   199  func RouteAdd(route *Route) error {
   200  	return ErrNotImplemented
   201  }
   202  
   203  func RouteAppend(route *Route) error {
   204  	return ErrNotImplemented
   205  }
   206  
   207  func RouteChange(route *Route) error {
   208  	return ErrNotImplemented
   209  }
   210  
   211  func RouteDel(route *Route) error {
   212  	return ErrNotImplemented
   213  }
   214  
   215  func RouteGet(destination net.IP) ([]Route, error) {
   216  	return nil, ErrNotImplemented
   217  }
   218  
   219  func RouteList(link Link, family int) ([]Route, error) {
   220  	return nil, ErrNotImplemented
   221  }
   222  
   223  func RouteListFiltered(family int, filter *Route, filterMask uint64) ([]Route, error) {
   224  	return nil, ErrNotImplemented
   225  }
   226  
   227  func RouteReplace(route *Route) error {
   228  	return ErrNotImplemented
   229  }
   230  
   231  func XfrmPolicyAdd(policy *XfrmPolicy) error {
   232  	return ErrNotImplemented
   233  }
   234  
   235  func XfrmPolicyDel(policy *XfrmPolicy) error {
   236  	return ErrNotImplemented
   237  }
   238  
   239  func XfrmPolicyList(family int) ([]XfrmPolicy, error) {
   240  	return nil, ErrNotImplemented
   241  }
   242  
   243  func XfrmPolicyGet(policy *XfrmPolicy) (*XfrmPolicy, error) {
   244  	return nil, ErrNotImplemented
   245  }
   246  
   247  func XfrmStateAdd(policy *XfrmState) error {
   248  	return ErrNotImplemented
   249  }
   250  
   251  func XfrmStateDel(policy *XfrmState) error {
   252  	return ErrNotImplemented
   253  }
   254  
   255  func XfrmStateList(family int) ([]XfrmState, error) {
   256  	return nil, ErrNotImplemented
   257  }
   258  
   259  func NeighAdd(neigh *Neigh) error {
   260  	return ErrNotImplemented
   261  }
   262  
   263  func NeighSet(neigh *Neigh) error {
   264  	return ErrNotImplemented
   265  }
   266  
   267  func NeighAppend(neigh *Neigh) error {
   268  	return ErrNotImplemented
   269  }
   270  
   271  func NeighDel(neigh *Neigh) error {
   272  	return ErrNotImplemented
   273  }
   274  
   275  func NeighList(linkIndex, family int) ([]Neigh, error) {
   276  	return nil, ErrNotImplemented
   277  }
   278  
   279  func NeighDeserialize(m []byte) (*Neigh, error) {
   280  	return nil, ErrNotImplemented
   281  }
   282  
   283  func SocketGet(local, remote net.Addr) (*Socket, error) {
   284  	return nil, ErrNotImplemented
   285  }
   286  
   287  func SocketDestroy(local, remote net.Addr) (*Socket, error) {
   288  	return nil, ErrNotImplemented
   289  }