Source file
src/net/rawconn_stub_test.go
Documentation: net
1
2
3
4
5
6
7
8 package net
9
10 import (
11 "errors"
12 "syscall"
13 )
14
15 func readRawConn(c syscall.RawConn, b []byte) (int, error) {
16 return 0, errors.New("not supported")
17 }
18
19 func writeRawConn(c syscall.RawConn, b []byte) error {
20 return errors.New("not supported")
21 }
22
23 func controlRawConn(c syscall.RawConn, addr Addr) error {
24 return errors.New("not supported")
25 }
26
27 func controlOnConnSetup(network string, address string, c syscall.RawConn) error {
28 return nil
29 }
30
View as plain text