1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:07:57 -07:00

net: fix windows build

R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/5533065
This commit is contained in:
Alex Brainman 2012-01-11 14:55:10 +11:00
parent a6d8b483b6
commit d03bfa8e5b

View File

@ -7,55 +7,55 @@
package net
import (
"os"
"syscall"
)
func ipv4MulticastInterface(fd *netFD) (*Interface, error) {
// TODO: Implement this
return nil, os.EWINDOWS
return nil, syscall.EWINDOWS
}
func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
// TODO: Implement this
return os.EWINDOWS
return syscall.EWINDOWS
}
func ipv4MulticastTTL(fd *netFD) (int, error) {
// TODO: Implement this
return -1, os.EWINDOWS
return -1, syscall.EWINDOWS
}
func setIPv4MulticastTTL(fd *netFD, v int) error {
// TODO: Implement this
return os.EWINDOWS
return syscall.EWINDOWS
}
func ipv4MultiastLoopback(fd *netFD) (bool, error) {
func ipv4MulticastLoopback(fd *netFD) (bool, error) {
// TODO: Implement this
return false, os.EWINDOWS
return false, syscall.EWINDOWS
}
func setIPv4MulticastLoopback(fd *netFD, v bool) error {
// TODO: Implement this
return os.EWINDOWS
return syscall.EWINDOWS
}
func ipv4ReceiveInterface(fd *netFD) (bool, error) {
// TODO: Implement this
return false, os.EWINDOWS
return false, syscall.EWINDOWS
}
func setIPv4ReceiveInterface(fd *netFD, v bool) error {
// TODO: Implement this
return os.EWINDOWS
return syscall.EWINDOWS
}
func ipv6TrafficClass(fd *netFD) (int, error) {
// TODO: Implement this
return os.EWINDOWS
return 0, syscall.EWINDOWS
}
func setIPv6TrafficClass(fd *netFD, v int) error {
// TODO: Implement this
return os.EWINDOWS
return syscall.EWINDOWS
}