Searched refs:in_dst (Results 1 – 1 of 1) sorted by relevance
/system/core/libnetutils/ |
D | ifc_utils.c | 551 struct in_addr in_dst, in_gw; in ifc_create_default_route() local 553 in_dst.s_addr = 0; in ifc_create_default_route() 556 int ret = ifc_act_on_ipv4_route(SIOCADDRT, name, in_dst, 0, in_gw); in ifc_create_default_route() 564 struct in_addr in_dst, in_gw; in ifc_add_host_route() local 566 in_dst.s_addr = dst; in ifc_add_host_route() 569 return ifc_act_on_ipv4_route(SIOCADDRT, name, in_dst, 32, in_gw); in ifc_add_host_route()
|