Home
last modified time | relevance | path

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

/frameworks/base/cmds/ip-up-vpn/
Dip-up-vpn.c41 static int set_address(struct sockaddr *sa, const char *address) { in set_address() function
96 if (set_address(&rt.rt_dst, env("REMOTE_ADDR"))) { in main()
106 if (!set_address(&rt.rt_gateway, argv[1]) || in main()
121 if (!set_address(&ifr.ifr_addr, address) || in main()
128 if (set_address(&ifr.ifr_netmask, env("INTERNAL_NETMASK4"))) { in main()