Lines Matching refs:rtp
36 static struct rtentry *rtp; /* pointer to a route entry */
237 rtp = RT_ADDR;
242 * Starting at the route entry following the one to which 'rtp' points,
244 * match is found, return TRUE and leave 'rtp' pointing at the found entry.
245 * If no match is found, return FALSE and leave 'rtp' pointing to the route
255 r = rtp->rt_next;
258 rtp = r;
264 rtp = r;
274 * the routing table. The shared variable 'rtp' is assumed to point to the
303 r->rt_next = rtp->rt_next;
304 rtp->rt_next = r;
305 r->rt_prev = rtp;
310 rtp = r;
381 * OK, create the new routing entry. 'rtp' will be left pointing
391 steal_sources(rtp);
393 rtp->rt_metric = UNREACHABLE; /* temporary; updated below */
399 r = rtp;