blob: a4e71226f809e038416b5ec7b2efcc8f4d359888 [file] [log] [blame]
David K. Bainbridge215e0242017-09-05 23:18:24 -07001// 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
5// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
6
7package socket
8
9type cmsghdr struct{}
10
11const sizeofCmsghdr = 0
12
13func (h *cmsghdr) len() int { return 0 }
14func (h *cmsghdr) lvl() int { return 0 }
15func (h *cmsghdr) typ() int { return 0 }
16
17func (h *cmsghdr) set(l, lvl, typ int) {}