OSDN Git Service

Add a binder IPC to close socket connections.
[android-x86/system-netd.git] / server / NetdNativeService.h
index 96759e1..22c81fc 100644 (file)
@@ -40,6 +40,8 @@ class NetdNativeService : public BinderService<NetdNativeService>, public BnNetd
     binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
     binder::Status networkRejectNonSecureVpn(bool enable, const std::vector<UidRange>& uids)
             override;
+    binder::Status socketDestroy(const std::vector<UidRange>& uids,
+            const std::vector<int32_t>& skipUids) override;
 };
 
 }  // namespace net