Home | History | Annotate | Download | only in dhcpcd

Lines Matching full:route

784 	struct rt *route = NULL;
810 if (route) {
811 route->next = xmalloc(sizeof(*route));
812 route = route->next;
814 routes = route = xmalloc(sizeof(*routes));
815 route->next = NULL;
816 memcpy(&route->dest.s_addr, p, 4);
818 memcpy(&route->gate.s_addr, p, 4);
820 route->net.s_addr = route_netmask(route->dest.s_addr);
829 if (route) {
830 route->next = xzalloc(sizeof(*route));
831 route = route->next;
833 routes = route = xzalloc(sizeof(*route));
834 memcpy(&route->gate.s_addr, p, 4);