diff options
Diffstat (limited to 'vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go')
-rw-r--r-- | vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go b/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go index ee8204d..a04e785 100644 --- a/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go +++ b/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go | |||
@@ -55,9 +55,6 @@ const ( | |||
55 | sysSO_EE_ORIGIN_TXSTATUS = 0x4 | 55 | sysSO_EE_ORIGIN_TXSTATUS = 0x4 |
56 | sysSO_EE_ORIGIN_TIMESTAMPING = 0x4 | 56 | sysSO_EE_ORIGIN_TIMESTAMPING = 0x4 |
57 | 57 | ||
58 | sysSOL_SOCKET = 0x1 | ||
59 | sysSO_ATTACH_FILTER = 0x1a | ||
60 | |||
61 | sizeofKernelSockaddrStorage = 0x80 | 58 | sizeofKernelSockaddrStorage = 0x80 |
62 | sizeofSockaddrInet = 0x10 | 59 | sizeofSockaddrInet = 0x10 |
63 | sizeofInetPktinfo = 0xc | 60 | sizeofInetPktinfo = 0xc |
@@ -70,8 +67,6 @@ const ( | |||
70 | sizeofGroupSourceReq = 0x108 | 67 | sizeofGroupSourceReq = 0x108 |
71 | 68 | ||
72 | sizeofICMPFilter = 0x4 | 69 | sizeofICMPFilter = 0x4 |
73 | |||
74 | sizeofSockFprog = 0x10 | ||
75 | ) | 70 | ) |
76 | 71 | ||
77 | type kernelSockaddrStorage struct { | 72 | type kernelSockaddrStorage struct { |
@@ -135,16 +130,3 @@ type groupSourceReq struct { | |||
135 | type icmpFilter struct { | 130 | type icmpFilter struct { |
136 | Data uint32 | 131 | Data uint32 |
137 | } | 132 | } |
138 | |||
139 | type sockFProg struct { | ||
140 | Len uint16 | ||
141 | Pad_cgo_0 [6]byte | ||
142 | Filter *sockFilter | ||
143 | } | ||
144 | |||
145 | type sockFilter struct { | ||
146 | Code uint16 | ||
147 | Jt uint8 | ||
148 | Jf uint8 | ||
149 | K uint32 | ||
150 | } | ||