Lines Matching defs:ictl
475 static struct ctl_iface ictl;
479 ictl.af = ei->eigrp->af;
480 ictl.as = ei->eigrp->as;
481 memcpy(ictl.name, ei->iface->name, sizeof(ictl.name));
482 ictl.ifindex = ei->iface->ifindex;
485 ictl.addr.v4.s_addr = if_primary_addr(ei->iface);
486 ictl.prefixlen = if_primary_addr_prefixlen(ei->iface);
489 ictl.addr.v6 = ei->iface->linklocal;
491 ictl.prefixlen = 64;
493 ictl.prefixlen = 0;
498 ictl.flags = ei->iface->flags;
499 ictl.linkstate = ei->iface->linkstate;
500 ictl.mtu = ei->iface->mtu;
501 ictl.type = ei->iface->type;
502 ictl.if_type = ei->iface->if_type;
503 ictl.baudrate = ei->iface->baudrate;
504 ictl.delay = ei->delay;
505 ictl.bandwidth = ei->bandwidth;
506 ictl.hello_holdtime = ei->hello_holdtime;
507 ictl.hello_interval = ei->hello_interval;
508 ictl.splithorizon = ei->splithorizon;
509 ictl.passive = ei->passive;
510 ictl.nbr_cnt = 0;
514 ictl.uptime = now.tv_sec - ei->uptime;
516 ictl.uptime = 0;
520 ictl.nbr_cnt++;
522 return (&ictl);