Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:rtp

642 	struct rt *rtp, *rtl, *rtn;
645 for (rtp = rt, rtl = NULL; rtp; rtl = rtp, rtp = rtp->next) {
646 if (rtp->dest.s_addr != INADDR_ANY)
649 for (rtn = rt; rtn != rtp; rtn = rtn->next) {
651 if (rtn->dest.s_addr == rtp->gate.s_addr)
654 cp = (const char *)&rtp->gate.s_addr;
665 if (rtn != rtp)
670 rtp->gate));
671 rtp->gate.s_addr = 0;
675 ifp->name, inet_ntoa(rtp->gate));
677 rtn->dest.s_addr = rtp->gate.s_addr;
679 rtn->gate.s_addr = rtp->gate.s_addr;
680 rtn->next = rtp;