mmsghdr_stub.go 571 B

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