Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + const ANDROID_RESOLV_NO_CACHE_LOOKUP + const ANDROID_RESOLV_NO_CACHE_STORE + const ANDROID_RESOLV_NO_RETRY + func Android_getprocdns(network *Net_handle_t) int32 + func Android_getprocnetwork(network *Net_handle_t) int32 + func Android_res_cancel(nsend_fd int32) + func Android_res_nquery(network Net_handle_t, dname string, ns_class int32, ns_type int32, ...) int32 + func Android_res_nresult(fd int32, rcode *int32, answer *uint8, anslen uint64) int32 + func Android_res_nsend(network Net_handle_t, msg *uint8, msglen uint64, flags uint32) int32 + func Android_setprocdns(network Net_handle_t) int32 + func Android_setprocnetwork(network Net_handle_t) int32 + func Android_setsocknetwork(network Net_handle_t, fd int32) int32 + func Android_tag_socket(sockfd int32, tag uint32) int32 + func Android_tag_socket_with_uid(sockfd int32, tag uint32, uid Uid_t) int32 + func Android_untag_socket(sockfd int32) int32 + type CgoAllocMap struct + func UnpackPCharString(str string) (*C.char, *CgoAllocMap) + func (a *CgoAllocMap) Add(ptr unsafe.Pointer) + func (a *CgoAllocMap) Borrow(b *CgoAllocMap) + func (a *CgoAllocMap) Free() + func (a *CgoAllocMap) IsEmpty() bool + type Net_handle_t uint64 + type SliceHeader struct + Cap int + Data unsafe.Pointer + Len int + type Uid_t C.uid_t