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:
parent
1b37bd6b4b
commit
7e0b03ae6d
4 changed files with 111 additions and 6 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue