two/internal/netif/tap_other.go
GnomeZworc 7e0b03ae6d
f-95: netif: MAC de chaque NIC figée sur son tap (static sticky) #95
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-10-31 23:34:26 +01:00

20 lines
438 B
Go

//go:build !linux
package netif
import (
"errors"
"net"
)
func CreateTap(_ int, _, _ string, _ int, _ net.HardwareAddr) error {
return errors.New("netif: tap not supported on this platform")
}
func TapHasMAC(_ int, _ net.HardwareAddr) (bool, error) {
return false, errors.New("netif: tap not supported on this platform")
}
func DeleteTap(_ int, _ string) error {
return errors.New("netif: tap not supported on this platform")
}