• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/lib/

Lines Matching refs:connected

132   ifp->connected = list_new ();
133 ifp->connected->del = (void (*) (void *)) connected_free;
148 /* Free connected address list */
149 list_delete_all_node (ifp->connected);
160 list_free (ifp->connected);
255 struct connected *c;
259 for (ALL_LIST_ELEMENTS_RO (ifp->connected, cnode, c))
282 struct connected *c;
293 for (ALL_LIST_ELEMENTS_RO (ifp->connected, cnode, c))
314 struct connected *c;
318 for (ALL_LIST_ELEMENTS_RO (ifp->connected, cnode, c))
454 struct connected *c __attribute__((unused));
456 for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, c))
626 struct connected *ifc;
631 for (ALL_LIST_ELEMENTS_RO (ifp->connected, node2, ifc))
643 /* Allocate connected structure. */
644 struct connected *
647 return XCALLOC (MTYPE_CONNECTED, sizeof (struct connected));
650 /* Free connected structure. */
652 connected_free (struct connected *connected)
654 if (connected->address)
655 prefix_free (connected->address);
657 if (connected->destination)
658 prefix_free (connected->destination);
660 if (connected->label)
661 XFREE (MTYPE_CONNECTED_LABEL, connected->label);
663 XFREE (MTYPE_CONNECTED, connected);
668 connected_log (struct connected *connected, char *str)
675 ifp = connected->ifp;
676 p = connected->address;
683 p = connected->destination;
692 /* If two connected address has same prefix return 1. */
710 struct connected *
715 struct connected *ifc;
718 for (node = listhead (ifp->connected); node; node = next)
725 listnode_delete (ifp->connected, ifc);
734 struct connected *
739 struct connected *c;
740 struct connected *match;
748 for (ALL_LIST_ELEMENTS_RO (ifp->connected, cnode, c))
758 struct connected *
762 struct connected *ifc;
764 /* Allocate new connected address. */
779 /* Add connected address to the interface. */
780 listnode_add (ifp->connected, ifc);
808 #if 0 /* this route_table of struct connected's is unused