1*e4a36f41SAndroid Build Coastguard Worker## HwBinder IPC from client to server, and callbacks 2*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_tetheroffload_client, hal_tetheroffload_server) 3*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_tetheroffload_server, hal_tetheroffload_client) 4*e4a36f41SAndroid Build Coastguard Worker 5*e4a36f41SAndroid Build Coastguard Workerhal_attribute_hwservice(hal_tetheroffload, hal_tetheroffload_hwservice) 6*e4a36f41SAndroid Build Coastguard Workerhal_attribute_service(hal_tetheroffload, hal_tetheroffload_service) 7*e4a36f41SAndroid Build Coastguard Worker 8*e4a36f41SAndroid Build Coastguard Workerbinder_use(hal_tetheroffload_server) 9*e4a36f41SAndroid Build Coastguard Worker 10*e4a36f41SAndroid Build Coastguard Worker# allow the client to pass the server already open netlink sockets 11*e4a36f41SAndroid Build Coastguard Workerallow hal_tetheroffload_server hal_tetheroffload_client:netlink_netfilter_socket { getattr read setopt write }; 12