mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
This adds net support for zos/s390x. These changes should not affect other platforms. Fixes golang/go#42130 Change-Id: Ia7faa29de76b7c5713120657b296106c2e27bfd2 Reviewed-on: https://go-review.googlesource.com/c/net/+/264028 Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Trust: Tobias Klauser <tobias.klauser@gmail.com> Trust: Emmanuel Odeke <emmanuel@orijtech.com>
18 lines
351 B
Go
18 lines
351 B
Go
// Copyright 2020 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 zos
|
|
|
|
package socket
|
|
|
|
import "syscall"
|
|
|
|
const (
|
|
sysAF_UNSPEC = syscall.AF_UNSPEC
|
|
sysAF_INET = syscall.AF_INET
|
|
sysAF_INET6 = syscall.AF_INET6
|
|
|
|
sysSOCK_RAW = syscall.SOCK_RAW
|
|
)
|