Lines Matching refs:ipv6
164 ctx = dctx->ipv6; in ipv6nd_open()
282 ctx = ifp->ctx->ipv6; in ipv6nd_sendrsprobe()
327 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_expire()
387 if (ctx->ipv6) { in ipv6nd_neighbour()
388 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) { in ipv6nd_neighbour()
416 if (ctx->ipv6 == NULL) in ipv6nd_findaddr()
419 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) { in ipv6nd_findaddr()
441 TAILQ_REMOVE(rap->iface->ctx->ipv6->ra_routers, rap, next); in ipv6nd_freedrop_ra()
464 TAILQ_FOREACH_SAFE(rap, ifp->ctx->ipv6->ra_routers, next, ran) { in ipv6nd_free()
479 if (ctx->ipv6->nd_fd != -1) { in ipv6nd_free()
480 eloop_event_delete(ctx->eloop, ctx->ipv6->nd_fd, 0); in ipv6nd_free()
481 close(ctx->ipv6->nd_fd); in ipv6nd_free()
482 ctx->ipv6->nd_fd = -1; in ipv6nd_free()
600 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_dadcompleted()
683 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_dadcallback()
728 struct ipv6_ctx *ctx = dctx->ipv6; in ipv6nd_handlera()
1171 add_router(ifp->ctx->ipv6, rap); in ipv6nd_handlera()
1239 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_runignoredra()
1265 if (ifp->ctx->ipv6) { in ipv6nd_hasra()
1266 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) in ipv6nd_hasra()
1278 if (ifp->ctx->ipv6) { in ipv6nd_hasradhcp()
1279 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_hasradhcp()
1300 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_env()
1410 if (ctx->ipv6 == NULL) in ipv6nd_handleifa()
1412 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) { in ipv6nd_handleifa()
1434 TAILQ_FOREACH_SAFE(rap, ifp->ctx->ipv6->ra_routers, next, ran) { in ipv6nd_expirera()
1526 if (ifp->ctx->ipv6 == NULL) in ipv6nd_drop()
1531 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_drop()
1534 TAILQ_REMOVE(ifp->ctx->ipv6->ra_routers, rap, next); in ipv6nd_drop()
1555 struct ipv6_ctx *ctx = dctx->ipv6; in ipv6nd_handlena()
1640 ctx = dctx->ipv6; in ipv6nd_handledata()