Documentation
¶
Overview ¶
Package net provides Go bindings for Android multinetwork APIs.
Index ¶
- 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_nresult(fd int32, rcode *int32, answer *uint8, anslen uint64) int32
- func Android_tag_socket(sockfd int32, tag uint32) int32
- func Android_untag_socket(sockfd int32) int32
- type ResNsendFlags
- type Uid_t
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 ¶
Android_res_nresult calls the underlying C function.
func Android_tag_socket ¶
Android_tag_socket calls the underlying C function.
func Android_untag_socket ¶
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 )
Click to show internal directories.
Click to hide internal directories.