Retro68/gcc/libgo/go/net/cgo_bsd.go

16 lines
384 B
Go
Raw Normal View History

// Copyright 2011 The Go Authors. All rights reserved.
2012-03-27 23:13:14 +00:00
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build cgo && !netgo && (darwin || dragonfly || freebsd)
2012-03-27 23:13:14 +00:00
package net
/*
#include <netdb.h>
*/
import "syscall"
2017-04-10 11:32:00 +00:00
const cgoAddrInfoFlags = (syscall.AI_CANONNAME | syscall.AI_V4MAPPED | syscall.AI_ALL) & syscall.AI_MASK