Home
last modified time | relevance | path

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

/system/core/libsysutils/src/
DNetlinkEvent.cpp378 char gw[INET6_ADDRSTRLEN] = ""; in parseRtMessage() local
392 if (maybeLogDuplicateAttribute(*gw, "RTA_GATEWAY", msgname)) in parseRtMessage()
394 if (!inet_ntop(family, RTA_DATA(rta), gw, sizeof(gw))) in parseRtMessage()
422 if (!*dst || (!*gw && !*dev)) in parseRtMessage()
430 asprintf(&mParams[1], "GATEWAY=%s", (*gw) ? gw : ""); in parseRtMessage()
/system/core/libnetutils/
Difc_utils.c534 struct in_addr gw) in ifc_act_on_ipv4_route() argument
554 if (gw.s_addr != 0) { in ifc_act_on_ipv4_route()
556 init_sockaddr_in(&rt.rt_gateway, gw.s_addr); in ifc_act_on_ipv4_route()
579 int ifc_create_default_route(const char *name, in_addr_t gw) in ifc_create_default_route() argument
584 in_gw.s_addr = gw; in ifc_create_default_route()
587 if (DBG) printerr("ifc_create_default_route(%s, %d) = %d", name, gw, ret); in ifc_create_default_route()
/system/timezone/input_data/android/
Dcountryzones.txt1553 isoCode:"gw"