Lines Matching full:ipv6
50 #include "ipv6.h"
82 /* Minimal IPv6 MTU */
164 ctx = dctx->ipv6;
282 ctx = ifp->ctx->ipv6;
313 "%s: no IPv6 Routers available", ifp->name);
327 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
387 if (ctx->ipv6) {
388 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) {
416 if (ctx->ipv6 == NULL)
419 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) {
441 TAILQ_REMOVE(rap->iface->ctx->ipv6->ra_routers, rap, next);
464 TAILQ_FOREACH_SAFE(rap, ifp->ctx->ipv6->ra_routers, next, ran) {
471 /* If we don't have any more IPv6 enabled interfaces,
479 if (ctx->ipv6->nd_fd != -1) {
480 eloop_event_delete(ctx->eloop, ctx->ipv6->nd_fd, 0);
481 close(ctx->ipv6->nd_fd);
482 ctx->ipv6->nd_fd = -1;
600 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
683 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
728 struct ipv6_ctx *ctx = dctx->ipv6;
754 "IPv6 RA packet too short from %s", ctx->sfrom);
1171 add_router(ifp->ctx->ipv6, rap);
1239 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
1265 if (ifp->ctx->ipv6) {
1266 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next)
1278 if (ifp->ctx->ipv6) {
1279 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
1300 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
1410 if (ctx->ipv6 == NULL)
1412 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) {
1434 TAILQ_FOREACH_SAFE(rap, ifp->ctx->ipv6->ra_routers, next, ran) {
1526 if (ifp->ctx->ipv6 == NULL)
1531 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) {
1534 TAILQ_REMOVE(ifp->ctx->ipv6->ra_routers, rap, next);
1555 struct ipv6_ctx *ctx = dctx->ipv6;
1571 logger(ifp->ctx, LOG_ERR, "%s: IPv6 NA too short from %s",
1640 ctx = dctx->ipv6;
1654 logger(dctx, LOG_ERR, "IPv6 ICMP packet too short from %s",
1681 "IPv6 RA/NA did not contain index or hop limit from %s",
1708 logger(dctx, LOG_ERR, "invalid IPv6 type %d or code %d from %s",
1718 logger(ifp->ctx, LOG_INFO, "%s: soliciting an IPv6 router", ifp->name);
1758 "%s: delaying IPv6 router solicitation for %0.1f seconds",