-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsys_stub.go
More file actions
31 lines (22 loc) · 771 Bytes
/
sys_stub.go
File metadata and controls
31 lines (22 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2016 Mikio Hara. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !darwin,!freebsd,!linux,!netbsd
package tcpinfo
import (
"errors"
"github.com/mikioh/tcpopt"
)
var options [soMax]option
// Marshal implements the Marshal method of tcpopt.Option interface.
func (i *Info) Marshal() ([]byte, error) {
return nil, errors.New("operation not supported")
}
// A SysInfo represents platform-specific information.
type SysInfo struct{}
func parseInfo(b []byte) (tcpopt.Option, error) {
return nil, errors.New("operation not supported")
}
func parseCCAlgorithmInfo(name string, b []byte) (CCAlgorithmInfo, error) {
return nil, errors.New("operation not supported")
}