blob: 2e80a9cb747c866f6079b6c4228e014dab0f9983 [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 !linux,!netbsd
6
7package socket
8
9import "net"
10
11type mmsghdr struct{}
12
13type mmsghdrs []mmsghdr
14
15func (hs mmsghdrs) pack(ms []Message, parseFn func([]byte, string) (net.Addr, error), marshalFn func(net.Addr) []byte) error {
16 return nil
17}
18
19func (hs mmsghdrs) unpack(ms []Message, parseFn func([]byte, string) (net.Addr, error), hint string) error {
20 return nil
21}