Home
last modified time | relevance | path

Searched refs:family (Results 1 – 8 of 8) sorted by relevance

/system/netd/client/
DFwmarkClient.cpp30 bool FwmarkClient::shouldSetFwmark(int family) { in shouldSetFwmark() argument
31 return (family == AF_INET || family == AF_INET6) && !getenv("ANDROID_NO_USE_FWMARK_CLIENT"); in shouldSetFwmark()
DNetdClient.cpp55 int family; in netdClientAccept4() local
57 family = addr->sa_family; in netdClientAccept4()
59 socklen_t familyLen = sizeof(family); in netdClientAccept4()
60 if (getsockopt(acceptedSocket, SOL_SOCKET, SO_DOMAIN, &family, &familyLen) == -1) { in netdClientAccept4()
64 if (FwmarkClient::shouldSetFwmark(family)) { in netdClientAccept4()
DFwmarkClient.h26 static bool shouldSetFwmark(int family);
/system/netd/server/
DNetdConstants.cpp177 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen) { in parsePrefix() argument
178 if (!prefix || !family || !address || !prefixlen) { in parsePrefix()
245 *family = res[0].ai_family; in parsePrefix()
DNetdConstants.h41 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen);
DRouteController.cpp318 rule.family = AF_FAMILIES[i]; in modifyIpRule()
345 uint8_t family; in modifyIpRoute() local
347 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute()
385 if (nexthop && inet_pton(family, nexthop, rawNexthop) <= 0) { in modifyIpRoute()
395 .rtm_family = family, in modifyIpRoute()
/system/core/libsysutils/src/
DNetlinkEvent.cpp304 int family = rtm->rtm_family; in parseRtMessage() local
319 if (!inet_ntop(family, RTA_DATA(rta), dst, sizeof(dst))) in parseRtMessage()
325 if (!inet_ntop(family, RTA_DATA(rta), gw, sizeof(gw))) in parseRtMessage()
343 if (family == AF_INET) { in parseRtMessage()
345 } else if (family == AF_INET6) { in parseRtMessage()
/system/media/camera/docs/
Dhtml.mako23 body { background-color: #f7f7f7; font-family: Roboto, sans-serif;}
56 ….entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertica…
66 .entry_type_enum_name { font-family: monospace; font-weight: bolder; }
70 .entry_type_enum_value { font-family: monospace; }