Revision 8e433d6a nest/rt-table.c

View differences:

nest/rt-table.c
717 717
 * @net: network in question
718 718
 * @new: the new route to be announced
719 719
 * @old: the previous route for the same network
720
 * @new_best: the new best route for the same network
721
 * @old_best: the previous best route for the same network
722
 * @before_old: The previous route before @old for the same network.
723
 * 		If @before_old is NULL @old was the first.
720 724
 *
721 725
 * This function gets a routing table update and announces it
722 726
 * to all protocols that acccepts given type of route announcement
723 727
 * and are connected to the same table by their announcement hooks.
724 728
 *
725
 * Route announcement of type RA_OPTIMAL si generated when optimal
729
 * Route announcement of type %RA_OPTIMAL si generated when optimal
726 730
 * route (in routing table @tab) changes. In that case @old stores the
727 731
 * old optimal route.
728 732
 *
729
 * Route announcement of type RA_ANY si generated when any route (in
733
 * Route announcement of type %RA_ANY si generated when any route (in
730 734
 * routing table @tab) changes In that case @old stores the old route
731 735
 * from the same protocol.
732 736
 *
......
1616 1620

  
1617 1621
/**
1618 1622
 * rt_prune_table - prune a routing table
1623
 * @tab: a routing table for pruning
1619 1624
 *
1620 1625
 * This function scans the routing table @tab and removes routes belonging to
1621 1626
 * flushing protocols, discarded routes and also stale network entries, in a

Also available in: Unified diff