mmsghdr_stub.go 529 B

123456789101112131415161718192021
  1. // 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. // +build !linux,!netbsd
  5. package socket
  6. import "net"
  7. type mmsghdr struct{}
  8. type mmsghdrs []mmsghdr
  9. func (hs mmsghdrs) pack(ms []Message, parseFn func([]byte, string) (net.Addr, error), marshalFn func(net.Addr) []byte) error {
  10. return nil
  11. }
  12. func (hs mmsghdrs) unpack(ms []Message, parseFn func([]byte, string) (net.Addr, error), hint string) error {
  13. return nil
  14. }