summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/socket_linux_type.go
blob: 190c11cc27037e806e6ba6bee0de12fa23819bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// socket_linux_type.go -- Socket handling specific to GNU/Linux.

// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build linux
// +build !ppc64
// +build !ppc64le

package syscall

// Type needed if not on ppc64le or ppc64

type RawSockaddr struct {
	Family uint16
	Data   [14]int8
}