]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/nexthop_group.h
isisd: implemented the 'sequence-number-skipped' notification
[mirror_frr.git] / lib / nexthop_group.h
index a44f4e35426e65f21b072d0347975d7a3fa43af5..473ecb34fc4df110bf0b3d27be0261f5e9a5ba21 100644 (file)
@@ -56,6 +56,11 @@ void copy_nexthops(struct nexthop **tnh, struct nexthop *nh,
        (nhop);                                                         \
        (nhop) = nexthop_next(nhop)
 
+#define ALL_NEXTHOPS_PTR(head, nhop)                                   \
+       (nhop) = ((head)->nexthop);                                     \
+       (nhop);                                                         \
+       (nhop) = nexthop_next(nhop)
+
 
 struct nexthop_hold {
        char *nhvrf_name;