...
1
2
3
4
5
6
7 package unix
8
9 import (
10 "syscall"
11 _ "unsafe"
12 )
13
14
15
16 func RecvfromInet4(fd int, p []byte, flags int, from *syscall.SockaddrInet4) (int, error)
17
18
19
20 func RecvfromInet6(fd int, p []byte, flags int, from *syscall.SockaddrInet6) (n int, err error)
21
22
23
24 func SendtoInet4(fd int, p []byte, flags int, to *syscall.SockaddrInet4) (err error)
25
26
27
28 func SendtoInet6(fd int, p []byte, flags int, to *syscall.SockaddrInet6) (err error)
29
30
31
32 func SendmsgNInet4(fd int, p, oob []byte, to *syscall.SockaddrInet4, flags int) (n int, err error)
33
34
35
36 func SendmsgNInet6(fd int, p, oob []byte, to *syscall.SockaddrInet6, flags int) (n int, err error)
37
38
39
40 func RecvmsgInet4(fd int, p, oob []byte, flags int, from *syscall.SockaddrInet4) (n, oobn int, recvflags int, err error)
41
42
43
44 func RecvmsgInet6(fd int, p, oob []byte, flags int, from *syscall.SockaddrInet6) (n, oobn int, recvflags int, err error)
45
View as plain text