sys_bpf_stub.go 393 B

1234567891011121314151617
  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 !linux
  5. // +build !linux
  6. package ipv6
  7. import (
  8. "golang.org/x/net/bpf"
  9. "golang.org/x/net/internal/socket"
  10. )
  11. func (so *sockOpt) setAttachFilter(c *socket.Conn, f []bpf.RawInstruction) error {
  12. return errNotImplemented
  13. }