Home
last modified time | relevance | path

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

/system/core/libnetutils/
Difc_utils.c230 static void init_sockaddr_in(struct sockaddr *sa, in_addr_t addr) in init_sockaddr_in() function
244 init_sockaddr_in(&ifr.ifr_addr, addr); in ifc_set_addr()
463 init_sockaddr_in(&ifr.ifr_addr, mask); in ifc_set_mask()
478 init_sockaddr_in(&ifr.ifr_addr, mask); in ifc_set_prefixLength()
546 init_sockaddr_in(&rt.rt_genmask, netmask); in ifc_act_on_ipv4_route()
547 init_sockaddr_in(&rt.rt_dst, dst.s_addr); in ifc_act_on_ipv4_route()
556 init_sockaddr_in(&rt.rt_gateway, gw.s_addr); in ifc_act_on_ipv4_route()
638 init_sockaddr_in(&ifr.ifr_addr, myaddr); in ifc_reset_connections()
680 init_sockaddr_in(&rt.rt_dst, 0); in ifc_remove_default_route()