Home
last modified time | relevance | path

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

/system/core/libnetutils/
Difc_utils.c222 static void init_sockaddr_in(struct sockaddr *sa, in_addr_t addr) in init_sockaddr_in() function
236 init_sockaddr_in(&ifr.ifr_addr, addr); in ifc_set_addr()
438 init_sockaddr_in(&ifr.ifr_addr, mask); in ifc_set_mask()
453 init_sockaddr_in(&ifr.ifr_addr, mask); in ifc_set_prefixLength()
521 init_sockaddr_in(&rt.rt_genmask, netmask); in ifc_act_on_ipv4_route()
522 init_sockaddr_in(&rt.rt_dst, dst.s_addr); in ifc_act_on_ipv4_route()
531 init_sockaddr_in(&rt.rt_gateway, gw.s_addr); in ifc_act_on_ipv4_route()
612 init_sockaddr_in(&ifr.ifr_addr, myaddr); in ifc_reset_connections()
654 init_sockaddr_in(&rt.rt_dst, 0); in ifc_remove_default_route()