aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/ipv4/zsys_freebsd_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/ipv4/zsys_freebsd_arm64.go')
-rw-r--r--vendor/golang.org/x/net/ipv4/zsys_freebsd_arm64.go93
1 files changed, 93 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/ipv4/zsys_freebsd_arm64.go b/vendor/golang.org/x/net/ipv4/zsys_freebsd_arm64.go
new file mode 100644
index 0000000..ecebf32
--- /dev/null
+++ b/vendor/golang.org/x/net/ipv4/zsys_freebsd_arm64.go
@@ -0,0 +1,93 @@
1// Code generated by cmd/cgo -godefs; DO NOT EDIT.
2// cgo -godefs defs_freebsd.go
3
4package ipv4
5
6const (
7 sysIP_OPTIONS = 0x1
8 sysIP_HDRINCL = 0x2
9 sysIP_TOS = 0x3
10 sysIP_TTL = 0x4
11 sysIP_RECVOPTS = 0x5
12 sysIP_RECVRETOPTS = 0x6
13 sysIP_RECVDSTADDR = 0x7
14 sysIP_SENDSRCADDR = 0x7
15 sysIP_RETOPTS = 0x8
16 sysIP_RECVIF = 0x14
17 sysIP_ONESBCAST = 0x17
18 sysIP_BINDANY = 0x18
19 sysIP_RECVTTL = 0x41
20 sysIP_MINTTL = 0x42
21 sysIP_DONTFRAG = 0x43
22 sysIP_RECVTOS = 0x44
23
24 sysIP_MULTICAST_IF = 0x9
25 sysIP_MULTICAST_TTL = 0xa
26 sysIP_MULTICAST_LOOP = 0xb
27 sysIP_ADD_MEMBERSHIP = 0xc
28 sysIP_DROP_MEMBERSHIP = 0xd
29 sysIP_MULTICAST_VIF = 0xe
30 sysIP_ADD_SOURCE_MEMBERSHIP = 0x46
31 sysIP_DROP_SOURCE_MEMBERSHIP = 0x47
32 sysIP_BLOCK_SOURCE = 0x48
33 sysIP_UNBLOCK_SOURCE = 0x49
34 sysMCAST_JOIN_GROUP = 0x50
35 sysMCAST_LEAVE_GROUP = 0x51
36 sysMCAST_JOIN_SOURCE_GROUP = 0x52
37 sysMCAST_LEAVE_SOURCE_GROUP = 0x53
38 sysMCAST_BLOCK_SOURCE = 0x54
39 sysMCAST_UNBLOCK_SOURCE = 0x55
40
41 sizeofSockaddrStorage = 0x80
42 sizeofSockaddrInet = 0x10
43
44 sizeofIPMreq = 0x8
45 sizeofIPMreqn = 0xc
46 sizeofIPMreqSource = 0xc
47 sizeofGroupReq = 0x88
48 sizeofGroupSourceReq = 0x108
49)
50
51type sockaddrStorage struct {
52 Len uint8
53 Family uint8
54 X__ss_pad1 [6]uint8
55 X__ss_align int64
56 X__ss_pad2 [112]uint8
57}
58
59type sockaddrInet struct {
60 Len uint8
61 Family uint8
62 Port uint16
63 Addr [4]byte /* in_addr */
64 Zero [8]uint8
65}
66
67type ipMreq struct {
68 Multiaddr [4]byte /* in_addr */
69 Interface [4]byte /* in_addr */
70}
71
72type ipMreqn struct {
73 Multiaddr [4]byte /* in_addr */
74 Address [4]byte /* in_addr */
75 Ifindex int32
76}
77
78type ipMreqSource struct {
79 Multiaddr [4]byte /* in_addr */
80 Sourceaddr [4]byte /* in_addr */
81 Interface [4]byte /* in_addr */
82}
83
84type groupReq struct {
85 Interface uint32
86 Group sockaddrStorage
87}
88
89type groupSourceReq struct {
90 Interface uint32
91 Group sockaddrStorage
92 Source sockaddrStorage
93}