Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dsys-linux.c231 #define SIN_ADDR(x) (((struct sockaddr_in *) (&(x)))->sin_addr.s_addr) macro
1553 SIN_ADDR(rt->rt_dst) = strtoul(cols[route_dest_col], NULL, 16); in read_route_table()
1554 SIN_ADDR(rt->rt_gateway) = strtoul(cols[route_gw_col], NULL, 16); in read_route_table()
1555 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()
1581 if (SIN_ADDR(rt->rt_dst) == 0L) { in defaultroute_exists()
1609 if ((addr & SIN_ADDR(rt.rt_genmask)) == SIN_ADDR(rt.rt_dst)) { in have_route_to()
1631 SIN_ADDR(rt.rt_gateway)); in sifdefaultroute()
1645 SIN_ADDR(rt.rt_genmask) = 0L; in sifdefaultroute()
1678 SIN_ADDR(rt.rt_genmask) = 0L; in cifdefaultroute()
[all …]