diff options
| author | Felix Hanley <felix@userspace.com.au> | 2017-06-09 08:40:39 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2017-06-09 08:40:39 +0000 |
| commit | 1b97478a776e3ab2610d3b0358ae3d4fafaadd09 (patch) | |
| tree | 37b3843f001b81f0be89b0efafb07949f8d267d7 /vendor/golang.org/x/net/ipv6/sys_bpf_stub.go | |
| download | dhtsearch-1b97478a776e3ab2610d3b0358ae3d4fafaadd09.tar.gz dhtsearch-1b97478a776e3ab2610d3b0358ae3d4fafaadd09.tar.bz2 | |
Where it's at.
As I have been running it. TODO:
- web front-end and search
- rate limiting
- statistics
- routing table logic
- profiling (CPU mainly, mem seems ok)
Diffstat (limited to 'vendor/golang.org/x/net/ipv6/sys_bpf_stub.go')
| -rw-r--r-- | vendor/golang.org/x/net/ipv6/sys_bpf_stub.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/ipv6/sys_bpf_stub.go b/vendor/golang.org/x/net/ipv6/sys_bpf_stub.go new file mode 100644 index 0000000..676bea5 --- /dev/null +++ b/vendor/golang.org/x/net/ipv6/sys_bpf_stub.go @@ -0,0 +1,16 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build !linux + +package ipv6 + +import ( + "golang.org/x/net/bpf" + "golang.org/x/net/internal/socket" +) + +func (so *sockOpt) setAttachFilter(c *socket.Conn, f []bpf.RawInstruction) error { + return errOpNoSupport +} |
