* use certmagic for more extensible/robust ACME cert handling * accept TOS based on config option Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
49 lines
1.1 KiB
Go
Vendored
49 lines
1.1 KiB
Go
Vendored
// Copyright 2017 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos
|
|
|
|
package socket
|
|
|
|
import "net"
|
|
|
|
const (
|
|
sysAF_UNSPEC = 0x0
|
|
sysAF_INET = 0x2
|
|
sysAF_INET6 = 0xa
|
|
|
|
sysSOCK_RAW = 0x3
|
|
)
|
|
|
|
func marshalInetAddr(ip net.IP, port int, zone string) []byte {
|
|
return nil
|
|
}
|
|
|
|
func parseInetAddr(b []byte, network string) (net.Addr, error) {
|
|
return nil, errNotImplemented
|
|
}
|
|
|
|
func getsockopt(s uintptr, level, name int, b []byte) (int, error) {
|
|
return 0, errNotImplemented
|
|
}
|
|
|
|
func setsockopt(s uintptr, level, name int, b []byte) error {
|
|
return errNotImplemented
|
|
}
|
|
|
|
func recvmsg(s uintptr, h *msghdr, flags int) (int, error) {
|
|
return 0, errNotImplemented
|
|
}
|
|
|
|
func sendmsg(s uintptr, h *msghdr, flags int) (int, error) {
|
|
return 0, errNotImplemented
|
|
}
|
|
|
|
func recvmmsg(s uintptr, hs []mmsghdr, flags int) (int, error) {
|
|
return 0, errNotImplemented
|
|
}
|
|
|
|
func sendmmsg(s uintptr, hs []mmsghdr, flags int) (int, error) {
|
|
return 0, errNotImplemented
|
|
}
|