mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-23 10:12:07 +01:00
do not merge Updates tailscale/corp#34849 Signed-off-by: Jordan Whited <jordan@tailscale.com>
19 lines
504 B
Go
19 lines
504 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !linux
|
|
|
|
package xdp
|
|
|
|
import "net/netip"
|
|
|
|
type noopFIB struct{}
|
|
|
|
func (noopFIB) Delete(vni uint32) error { return nil }
|
|
func (noopFIB) Upsert(vni uint32, participants [2]netip.AddrPort) error { return nil }
|
|
func (noopFIB) Close(vni uint32, participants [2]netip.AddrPort) error { return nil }
|
|
|
|
func NewFIB(config FIBConfig, opts ...FIBOption) (FIB, error) {
|
|
return noopFIB{}
|
|
}
|