Lines Matching refs:ipv4_routes
196 if (ctx->ipv4_routes == NULL) { in ipv4_init()
197 ctx->ipv4_routes = malloc(sizeof(*ctx->ipv4_routes)); in ipv4_init()
198 if (ctx->ipv4_routes == NULL) in ipv4_init()
200 TAILQ_INIT(ctx->ipv4_routes); in ipv4_init()
355 if ((f = find_route(ctx->ipv4_routes, rt, NULL))) { in ipv4_handlert()
357 TAILQ_REMOVE(ctx->ipv4_routes, f, next); in ipv4_handlert()
693 if ((or = find_route(ctx->ipv4_routes, rt, NULL))) { in ipv4_buildroutes()
707 TAILQ_REMOVE(ctx->ipv4_routes, or, next); in ipv4_buildroutes()
728 if (ctx->ipv4_routes) { in ipv4_buildroutes()
729 TAILQ_FOREACH(rt, ctx->ipv4_routes, next) { in ipv4_buildroutes()
737 ipv4_freeroutes(ctx->ipv4_routes); in ipv4_buildroutes()
738 ctx->ipv4_routes = nrs; in ipv4_buildroutes()
1106 ipv4_freeroutes(ctx->ipv4_routes); in ipv4_ctxfree()