Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 3 of 3) sorted by relevance

/system/core/libsysutils/src/
DNetlinkEvent.cpp353 char gw[INET6_ADDRSTRLEN] = ""; in parseRtMessage() local
367 if (maybeLogDuplicateAttribute(*gw, "RTA_GATEWAY", msgname)) in parseRtMessage()
369 if (!inet_ntop(family, RTA_DATA(rta), gw, sizeof(gw))) in parseRtMessage()
397 if (!*dst || (!*gw && !*dev)) in parseRtMessage()
405 asprintf(&mParams[1], "GATEWAY=%s", (*gw) ? gw : ""); in parseRtMessage()
/system/core/libnetutils/
Difc_utils.c532 struct in_addr gw) in ifc_act_on_ipv4_route() argument
552 if (gw.s_addr != 0) { in ifc_act_on_ipv4_route()
554 init_sockaddr_in(&rt.rt_gateway, gw.s_addr); in ifc_act_on_ipv4_route()
577 int ifc_create_default_route(const char *name, in_addr_t gw) in ifc_create_default_route() argument
582 in_gw.s_addr = gw; in ifc_create_default_route()
585 if (DBG) printerr("ifc_create_default_route(%s, %d) = %d", name, gw, ret); in ifc_create_default_route()
/system/timezone/input_data/android/
Dcountryzones.txt1489 isoCode:"gw"