Lines Matching defs:xi
838 struct iface *i, *xi, *ni;
862 for (xi = LIST_FIRST(&xa->iface_list); xi != NULL; xi = ni) {
863 ni = LIST_NEXT(xi, entry);
864 if ((i = iface_lookup(a, xi)) == NULL) {
868 xi->name);
869 LIST_REMOVE(xi, entry);
870 LIST_INSERT_HEAD(&a->iface_list, xi, entry);
871 xi->area = a;
873 xi->state = IF_STA_NEW;
878 i->dst = xi->dst;
879 i->abr_id = xi->abr_id;
880 i->baudrate = xi->baudrate;
881 i->dead_interval = xi->dead_interval;
882 i->mtu = xi->mtu;
883 i->transmit_delay = xi->transmit_delay;
884 i->hello_interval = xi->hello_interval;
885 i->rxmt_interval = xi->rxmt_interval;
886 if (i->metric != xi->metric)
888 i->metric = xi->metric;
889 i->priority = xi->priority;
892 i->flags = xi->flags; /* needed? */
893 i->if_type = xi->if_type; /* needed? */
894 i->linkstate = xi->linkstate; /* needed? */
896 i->auth_type = xi->auth_type;
897 strncpy(i->auth_key, xi->auth_key, MAX_SIMPLE_AUTH_LEN);
899 md_list_copy(&i->auth_md_list, &xi->auth_md_list);
901 strlcpy(i->dependon, xi->dependon,
903 i->depend_ok = xi->depend_ok;
905 if (i->passive != xi->passive) {
909 i->passive = xi->passive;
914 if (i->type != xi->type) {
918 i->type = xi->type;