blob: 1d9f2ed625bc661b9fb138969d36931bc9513c2c [file] [log] [blame]
Mikio Harab8b13432017-03-16 05:58:54 +09001// Copyright 2017 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Russ Cox5f55cee2021-02-19 18:54:43 -05005//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !zos
billofarrell146b70c2020-10-21 17:25:16 -04006// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!zos
Mikio Harab8b13432017-03-16 05:58:54 +09007
8package socket
9
Tobias Klauser0a1ea392020-10-02 11:28:52 +020010func controlHeaderLen() int {
11 return 0
12}
Mikio Harab8b13432017-03-16 05:58:54 +090013
Tobias Klauser0a1ea392020-10-02 11:28:52 +020014func controlMessageLen(dataLen int) int {
15 return 0
16}
17
18func controlMessageSpace(dataLen int) int {
19 return 0
20}
21
22type cmsghdr struct{}
Mikio Harab8b13432017-03-16 05:58:54 +090023
24func (h *cmsghdr) len() int { return 0 }
25func (h *cmsghdr) lvl() int { return 0 }
26func (h *cmsghdr) typ() int { return 0 }
27
28func (h *cmsghdr) set(l, lvl, typ int) {}