You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. // Copyright 2012 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,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
  5. package ipv4
  6. import (
  7. "net"
  8. "golang.org/x/net/bpf"
  9. "golang.org/x/net/internal/socket"
  10. )
  11. func (so *sockOpt) getMulticastInterface(c *socket.Conn) (*net.Interface, error) {
  12. return nil, errOpNoSupport
  13. }
  14. func (so *sockOpt) setMulticastInterface(c *socket.Conn, ifi *net.Interface) error {
  15. return errOpNoSupport
  16. }
  17. func (so *sockOpt) getICMPFilter(c *socket.Conn) (*ICMPFilter, error) {
  18. return nil, errOpNoSupport
  19. }
  20. func (so *sockOpt) setICMPFilter(c *socket.Conn, f *ICMPFilter) error {
  21. return errOpNoSupport
  22. }
  23. func (so *sockOpt) setGroup(c *socket.Conn, ifi *net.Interface, grp net.IP) error {
  24. return errOpNoSupport
  25. }
  26. func (so *sockOpt) setSourceGroup(c *socket.Conn, ifi *net.Interface, grp, src net.IP) error {
  27. return errOpNoSupport
  28. }
  29. func (so *sockOpt) setBPF(c *socket.Conn, f []bpf.RawInstruction) error {
  30. return errOpNoSupport
  31. }