Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:rt

552 static struct rt *
559 struct rt *routes = NULL;
560 struct rt *rt = NULL;
575 if (rt) {
576 rt->next = xzalloc(sizeof(*rt));
577 rt = rt->next;
579 routes = rt = xzalloc(sizeof(*routes));
581 rt->next = NULL;
586 memcpy(&rt->dest.s_addr, p, ocets);
588 rt->net.s_addr = htonl(~0U << (32 - cidr));
592 memcpy(&rt->gate.s_addr, p, 4);
777 struct rt *
783 struct rt *routes = NULL;
784 struct rt *route = NULL;