/system/netd/server/ |
FwmarkServer.cpp | 19 #include "Fwmark.h" 110 Fwmark fwmark; local 111 socklen_t fwmarkLen = sizeof(fwmark.intValue); 112 if (getsockopt(*socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen) == -1) { 120 permission = static_cast<Permission>(permission | fwmark.permission); 125 // Called before a socket connect() happens. Set an appropriate NetId into the fwmark so 158 if (!fwmark.explicitlySelected) { 159 if (!fwmark.protectedFromVpn) { 160 fwmark.netId = mNetworkController->getNetworkForConnect(client->getUid()) [all...] |
ClatdController.cpp | 31 #include "Fwmark.h" 63 // Pass in the interface, a netid to use for DNS lookups, and a fwmark for outgoing packets. 74 Fwmark fwmark; local 75 fwmark.netId = netId; 76 fwmark.explicitlySelected = true; 77 fwmark.protectedFromVpn = true; 78 fwmark.permission = PERMISSION_SYSTEM; 81 snprintf(fwmarkString, sizeof(fwmarkString), "0x%x", fwmark.intValue);
|
RouteController.cpp | 31 #include "Fwmark.h" 209 // + If |mask| is non-zero, the rule matches the specified fwmark and mask. Otherwise, |fwmark| is 218 uint32_t table, uint32_t fwmark, uint32_t mask, const char* iif, 220 // Ensure that if you set a bit in the fwmark, it's not being ignored by the mask. 221 if (fwmark & ~mask) { 222 ALOGE("mask 0x%x does not select all the bits set in fwmark 0x%x", mask, fwmark); 273 { &fwmark, mask ? sizeof(fwmark) : 0 } 418 Fwmark fwmark; local 452 Fwmark fwmark; local 480 Fwmark fwmark; local 505 Fwmark fwmark; local 528 Fwmark fwmark; local 555 Fwmark fwmark; local 584 Fwmark fwmark; local 602 Fwmark fwmark; local 633 Fwmark fwmark; local 682 Fwmark fwmark; local 731 Fwmark fwmark; local 794 Fwmark fwmark; local [all...] |
TetherController.cpp | 35 #include "Fwmark.h" 176 Fwmark fwmark; local 177 fwmark.netId = NetworkController::LOCAL_NET_ID; 178 fwmark.explicitlySelected = true; 179 fwmark.protectedFromVpn = true; 180 fwmark.permission = PERMISSION_SYSTEM; 182 snprintf(markStr, sizeof(markStr), "0x%x", fwmark.intValue); 249 Fwmark fwmark; local [all...] |
NetworkController.cpp | 44 #include "Fwmark.h" 193 Fwmark fwmark; local 194 fwmark.protectedFromVpn = true; 195 fwmark.permission = PERMISSION_SYSTEM; 201 fwmark.explicitlySelected = true; 224 fwmark.netId = *netId; 225 return fwmark.intValue; 289 Fwmark fwmark; local [all...] |
/external/libnl/src/ |
nl-fib-lookup.c | 20 " -f, --fwmark <int> Firewall mark\n" 38 uint64_t fwmark = 0; local 43 {"fwmark", 1, 0, 'f'}, 60 fwmark = strtoul(optarg, NULL, 0); 91 flnl_request_set_fwmark(request, fwmark);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
ip_vs.h | 102 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_service_user 165 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_service_entry 205 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_get_dests
|
/external/libnl/lib/fib_lookup/ |
lookup.c | 213 uint64_t fwmark; local 217 fwmark = flnl_request_get_fwmark(req); 222 fr.fl_fwmark = fwmark != UINT_LEAST64_MAX ? fwmark : 0;
|
request.c | 65 diff |= REQ_DIFF(FWMARK, a->lr_fwmark != b->lr_fwmark); 94 void flnl_request_set_fwmark(struct flnl_request *req, uint64_t fwmark) 96 req->lr_fwmark = fwmark;
|
/system/netd/client/ |
NetdClient.cpp | 27 #include "Fwmark.h" 88 // Latency measurement does not include time of sending commands to Fwmark 139 // might itself cause another check with the fwmark server, which would be wasteful. 191 Fwmark fwmark; local 192 socklen_t fwmarkLen = sizeof(fwmark.intValue); 193 if (getsockopt(socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen) == -1) { 196 *netId = fwmark.netId;
|
/bionic/libc/kernel/uapi/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/development/ndk/platforms/android-21/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/external/kernel-headers/original/uapi/linux/ |
ip_vs.h | 135 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_service_user 197 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_service_entry 237 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_get_dests
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
ip_vs.h | 124 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_service_user 186 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_service_entry 226 __u32 fwmark; /* firwall mark of service */ member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips64/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-21/arch-x86/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-21/arch-x86_64/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-23/arch-arm/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-23/arch-arm64/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-23/arch-mips/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-23/arch-mips64/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|
/prebuilts/ndk/r10/platforms/android-23/arch-x86/usr/include/linux/ |
ip_vs.h | 110 __u32 fwmark; member in struct:ip_vs_service_user 154 __u32 fwmark; member in struct:ip_vs_service_entry 184 __u32 fwmark; member in struct:ip_vs_get_dests
|