Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dsys-linux.c228 #define SIN_ADDR(x) (((struct sockaddr_in *) (&(x)))->sin_addr.s_addr) macro
1519 SIN_ADDR(rt->rt_dst) = strtoul(cols[route_dest_col], NULL, 16); in read_route_table()
1520 SIN_ADDR(rt->rt_gateway) = strtoul(cols[route_gw_col], NULL, 16); in read_route_table()
1521 SIN_ADDR(rt->rt_genmask) = strtoul(cols[route_mask_col], NULL, 16); in read_route_table()
1545 if (kernel_version > KVERSION(2,1,0) && SIN_ADDR(rt->rt_genmask) != 0) in defaultroute_exists()
1547 if (SIN_ADDR(rt->rt_dst) == 0L) { in defaultroute_exists()
1575 if ((addr & SIN_ADDR(rt.rt_genmask)) == SIN_ADDR(rt.rt_dst)) { in have_route_to()
1595 u_int32_t old_gateway = SIN_ADDR(rt.rt_gateway); in sifdefaultroute()
1611 SIN_ADDR(rt.rt_genmask) = 0L; in sifdefaultroute()
1614 SIN_ADDR(rt.rt_gateway) = gateway; in sifdefaultroute()
[all …]