Lines Matching defs:ifc
131 Interface *ifc;
133 for (ifc = node->u.interfaces; ifc; ifc = ifc->next)
134 if (ifc->addr == addr)
135 return ifc;
137 ifc = (Interface *) malloc(sizeof(Interface));
138 ifc->addr = addr;
139 ifc->next = node->u.interfaces;
140 node->u.interfaces = ifc;
141 ifc->neighbors = 0;
143 return ifc;
149 Interface *ifc;
151 for (ifc = node->u.interfaces; ifc; ifc = ifc->next) {
154 for (nb = ifc->neighbors; nb; nb = nb->next)
312 Interface *ifc;
383 ifc = find_interface(ifc_addr, node);
384 old_neighbors = ifc->neighbors;
413 nb->next = ifc->neighbors;
414 ifc->neighbors = nb;
447 Interface *ifc;
524 ifc = find_interface(ifc_addr, node);
525 old_neighbors = ifc->neighbors;
557 nb->next = ifc->neighbors;
558 ifc->neighbors = nb;
634 Interface *ifc;
640 for (ifc = node->u.interfaces; ifc; ifc = ifc->next) {
642 char *ifc_name = inet_fmt(ifc->addr);
647 for (nb = ifc->neighbors; nb; nb = nb->next) {
694 Interface *ifc;
706 for (ifc = node->u.interfaces; ifc; ifc = ifc->next)
707 for (nb = ifc->neighbors; nb; nb = nb->next) {
741 Interface *ifc;
743 for (ifc = node->u.interfaces; ifc; ifc = ifc->next) {
746 for (nb = ifc->neighbors; nb; nb = nb->next) {