net

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package net provides Go bindings for Android multinetwork APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Android_getprocdns

func Android_getprocdns(network *net_handle_t) int32

Android_getprocdns calls the underlying C function.

func Android_getprocnetwork

func Android_getprocnetwork(network *net_handle_t) int32

Android_getprocnetwork calls the underlying C function.

func Android_res_cancel

func Android_res_cancel(nsend_fd int32)

Android_res_cancel calls the underlying C function.

func Android_res_nresult

func Android_res_nresult(fd int32, rcode *int32, answer *uint8, anslen uint64) int32

Android_res_nresult calls the underlying C function.

func Android_tag_socket

func Android_tag_socket(sockfd int32, tag uint32) int32

Android_tag_socket calls the underlying C function.

func Android_untag_socket

func Android_untag_socket(sockfd int32) int32

Android_untag_socket calls the underlying C function.

Types

type ResNsendFlags

type ResNsendFlags int32
const (
	ANDROID_RESOLV_NO_RETRY        ResNsendFlags = 1
	ANDROID_RESOLV_NO_CACHE_STORE  ResNsendFlags = 2
	ANDROID_RESOLV_NO_CACHE_LOOKUP ResNsendFlags = 4
)

type Uid_t

type Uid_t = capi.Uid_t

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL