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()
465 init_sockaddr_in(&ifr.ifr_addr, mask); in ifc_set_mask()
480 init_sockaddr_in(&ifr.ifr_addr, mask); in ifc_set_prefixLength()
548 init_sockaddr_in(&rt.rt_genmask, netmask); in ifc_act_on_ipv4_route()
549 init_sockaddr_in(&rt.rt_dst, dst.s_addr); in ifc_act_on_ipv4_route()
558 init_sockaddr_in(&rt.rt_gateway, gw.s_addr); in ifc_act_on_ipv4_route()
640 init_sockaddr_in(&ifr.ifr_addr, myaddr); in ifc_reset_connections()
682 init_sockaddr_in(&rt.rt_dst, 0); in ifc_remove_default_route()