sockopt_nonpktinfo.go 349 B

123456789101112131415
  1. // Copyright 2014 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 !darwin,!linux
  5. package ipv4
  6. func ipv4PacketInfo(fd int) (bool, error) {
  7. return false, errOpNoSupport
  8. }
  9. func setIPv4PacketInfo(fd int, v bool) error {
  10. return errOpNoSupport
  11. }