f-95: netif: MAC de chaque NIC figée sur son tap (static sticky) #95

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-31 21:26:08 +01:00
commit 7e0b03ae6d
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
4 changed files with 111 additions and 6 deletions

View file

@ -2,12 +2,19 @@
package netif
import "errors"
import (
"errors"
"net"
)
func CreateTap(_ int, _, _ string, _ int) error {
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")
}