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