HomeSort by relevance Sort by last modified time
    Searched refs:FwmarkClient (Results 1 - 4 of 4) sorted by null

  /system/netd/client/
FwmarkClient.h 22 class FwmarkClient {
28 FwmarkClient();
29 ~FwmarkClient();
FwmarkClient.cpp 17 #include "FwmarkClient.h"
30 bool FwmarkClient::shouldSetFwmark(int family) {
34 FwmarkClient::FwmarkClient() : mChannel(-1) {
37 FwmarkClient::~FwmarkClient() {
43 int FwmarkClient::send(void* data, size_t len, int fd) {
NetdClient.cpp 20 #include "FwmarkClient.h"
64 if (FwmarkClient::shouldSetFwmark(family)) {
66 if (int error = FwmarkClient().send(&command, sizeof(command), acceptedSocket)) {
74 if (sockfd >= 0 && addr && FwmarkClient::shouldSetFwmark(addr->sa_family)) {
76 if (int error = FwmarkClient().send(&command, sizeof(command), sockfd)) {
90 if (netId != NETID_UNSET && FwmarkClient::shouldSetFwmark(domain)) {
186 return FwmarkClient().send(&command, sizeof(command), socketFd);
202 return FwmarkClient().send(&command, sizeof(command), socketFd);
210 return FwmarkClient().send(&command, sizeof(command), socketFd);
Android.mk 23 LOCAL_SRC_FILES := FwmarkClient.cpp NetdClient.cpp

Completed in 162 milliseconds