Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c184 (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr) in is_prefix()
187 rt->rt_genmask.sa_family = AF_INET; in is_prefix()
207 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in get_next_params()
214 rt->rt_genmask = sock; in get_next_params()
277 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in verify_netmask()
318 (((struct sockaddr_in *)&((rt).rt_genmask))->sin_addr.s_addr) = INVALID_ADDR; in setroute()
/external/kernel-headers/original/uapi/linux/
Droute.h34 struct sockaddr rt_genmask; /* target network mask (IP) */ member
/external/ppp/pppd/
Dsys-linux.c1555 SIN_ADDR(rt->rt_genmask) = strtoul(cols[route_mask_col], NULL, 16); in read_route_table()
1579 if (kernel_version > KVERSION(2,1,0) && SIN_ADDR(rt->rt_genmask) != 0) in defaultroute_exists()
1609 if ((addr & SIN_ADDR(rt.rt_genmask)) == SIN_ADDR(rt.rt_dst)) { in have_route_to()
1644 SET_SA_FAMILY (rt.rt_genmask, AF_INET); in sifdefaultroute()
1645 SIN_ADDR(rt.rt_genmask) = 0L; in sifdefaultroute()
1677 SET_SA_FAMILY (rt.rt_genmask, AF_INET); in cifdefaultroute()
1678 SIN_ADDR(rt.rt_genmask) = 0L; in cifdefaultroute()
2431 SET_SA_FAMILY (rt.rt_genmask, AF_INET); in sifaddr()
2432 SIN_ADDR(rt.rt_genmask) = -1L; in sifaddr()
2488 SET_SA_FAMILY (rt.rt_genmask, AF_INET); in cifaddr()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c835 sin = aliasing_hide_typecast(&rt.rt_genmask, struct sockaddr_in); in add_ssdp_network()
/external/iputils/
Drdisc.c1499 rt.rt_genmask.sa_family = AF_INET; in rtioctl()
/external/valgrind/include/vki/
Dvki-linux.h890 struct vki_sockaddr rt_genmask; /* target network mask (IP) */ member