mirror of
https://github.com/golang/go
synced 2024-10-04 16:31:22 -06:00
338b7abdfc
R=rsc CC=golang-dev https://golang.org/cl/4442072
15 lines
294 B
Go
15 lines
294 B
Go
// 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.
|
|
|
|
package net
|
|
|
|
/*
|
|
#include <netdb.h>
|
|
*/
|
|
import "C"
|
|
|
|
func cgoAddrInfoMask() C.int {
|
|
return C.AI_CANONNAME | C.AI_V4MAPPED | C.AI_ALL
|
|
}
|