Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:rt

337 	struct rt *rt;
657 rtrt));
659 rt = ifo->routes;
660 while (rt->next)
661 rt = rt->next;
662 rt->next = xmalloc(sizeof(*rt));
663 rt = rt->next;
665 rt->next = NULL;
666 if (parse_addr(&rt->dest, &rt->net, p) == -1 ||
667 parse_addr(&rt->gate, NULL, np) == -1)
671 rt = ifo->routes = xzalloc(sizeof(*rt));
673 rt = ifo->routes;
674 while (rt->next)
675 rt = rt->next;
676 rt->next = xmalloc(sizeof(*rt));
677 rt = rt->next;
679 rt->dest.s_addr = INADDR_ANY;
680 rt->net.s_addr = INADDR_ANY;
681 rt->next = NULL;
682 if (parse_addr(&rt->gate, NULL, p) == -1)