Package: android.hardware.tetheroffload.config@1.0

IOffloadConfig

interface IOffloadConfig

Interface used for configuring the hardware management process

Methods

setHandles

setHandles (handle fd1, handle fd2)
generates (bool success, string errMsg)

Provides bound netlink file descriptors for use in the management process

Details
Parameters
fd1
A file descriptor bound to the following netlink groups(NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_DESTROY).
fd2
A file descriptor bound to the following netlink groups(NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY).
Generates
success
true if successful, false otherwise
errMsg
a human readable string if eror has occured.