libgo/go/syscall/socket_linux_type.go
raw| 1 | // socket_linux_type.go -- Socket handling specific to GNU/Linux. |
| 2 | |
| 3 | // Copyright 2015 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | //go:build linux && !ppc64 && !ppc64le |
| 8 | // +build linux,!ppc64,!ppc64le |
| 9 | |
| 10 | package syscall |
| 11 | |
| 12 | // Type needed if not on ppc64le or ppc64 |
| 13 | |
| 14 | type RawSockaddr struct { |
| 15 | Family uint16 |
| 16 | Data [14]int8 |
| 17 | } |