Searched refs:ipv4_kroutes (Results 1 – 4 of 4) sorted by relevance
202 if (ctx->ipv4_kroutes == NULL) { in ipv4_init()203 ctx->ipv4_kroutes = malloc(sizeof(*ctx->ipv4_kroutes)); in ipv4_init()204 if (ctx->ipv4_kroutes == NULL) in ipv4_init()206 TAILQ_INIT(ctx->ipv4_kroutes); in ipv4_init()301 if (ctx->ipv4_kroutes == NULL) in ipv4_findrt()303 TAILQ_FOREACH(r, ctx->ipv4_kroutes, next) { in ipv4_findrt()335 if (ctx->ipv4_kroutes == NULL) in ipv4_handlert()345 TAILQ_INSERT_TAIL(ctx->ipv4_kroutes, f, next); in ipv4_handlert()350 TAILQ_REMOVE(ctx->ipv4_kroutes, f, next); in ipv4_handlert()1107 ipv4_freeroutes(ctx->ipv4_kroutes); in ipv4_ctxfree()
126 struct rt_head *ipv4_kroutes; member
692 ipv4_freerts(ifp->ctx->ipv4_kroutes); in if_initrt()
1406 ipv4_freerts(ifp->ctx->ipv4_kroutes); in if_initrt()