2011-05-20 00:18:15 +00:00
|
|
|
// Copyright 2011 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.
|
|
|
|
|
2011-10-26 23:57:58 +00:00
|
|
|
// +build darwin freebsd
|
|
|
|
|
2011-05-20 00:18:15 +00:00
|
|
|
package net
|
|
|
|
|
|
|
|
/*
|
|
|
|
#include <netdb.h>
|
|
|
|
*/
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
2011-05-24 21:43:12 +00:00
|
|
|
func cgoAddrInfoMask() int {
|
2011-05-20 00:18:15 +00:00
|
|
|
return syscall.AI_MASK
|
|
|
|
}
|