]> git.proxmox.com Git - mirror_frr.git/blobdiff - eigrpd/eigrp_neighbor.h
zebra: Allow ns delete to happen after under/over flow checks
[mirror_frr.git] / eigrpd / eigrp_neighbor.h
index e9ddc22f9ea122673d97028d0d1a144dea89fc48..21a8c6a0042ef074bdfa51c30f7eea528d7edf38 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with GNU Zebra; see the file COPYING.  If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _ZEBRA_EIGRP_NEIGHBOR_H
 
 /* Prototypes */
 extern struct eigrp_neighbor *eigrp_nbr_get(struct eigrp_interface *,
-                                           struct eigrp_header *,
-                                           struct ip *);
-extern struct eigrp_neighbor *eigrp_nbr_new (struct eigrp_interface *);
+                                           struct eigrp_header *, struct ip *);
+extern struct eigrp_neighbor *eigrp_nbr_new(struct eigrp_interface *);
 extern void eigrp_nbr_delete(struct eigrp_neighbor *);
 
 extern int holddown_timer_expired(struct thread *);
 
-extern int eigrp_neighborship_check(struct eigrp_neighbor *,struct TLV_Parameter_Type *);
+extern int eigrp_neighborship_check(struct eigrp_neighbor *,
+                                   struct TLV_Parameter_Type *);
 extern void eigrp_nbr_state_update(struct eigrp_neighbor *);
-extern void eigrp_nbr_state_set(struct eigrp_neighbor *, u_char state);
-extern u_char eigrp_nbr_state_get(struct eigrp_neighbor *);
+extern void eigrp_nbr_state_set(struct eigrp_neighbor *, uint8_t state);
+extern uint8_t eigrp_nbr_state_get(struct eigrp_neighbor *);
 extern int eigrp_nbr_count_get(void);
 extern const char *eigrp_nbr_state_str(struct eigrp_neighbor *);
-extern struct eigrp_neighbor *eigrp_nbr_lookup_by_addr (struct eigrp_interface *, struct in_addr *);
-extern struct eigrp_neighbor *eigrp_nbr_lookup_by_addr_process (struct eigrp *, struct in_addr);
+extern struct eigrp_neighbor *eigrp_nbr_lookup_by_addr(struct eigrp_interface *,
+                                                      struct in_addr *);
+extern struct eigrp_neighbor *eigrp_nbr_lookup_by_addr_process(struct eigrp *,
+                                                              struct in_addr);
 extern void eigrp_nbr_hard_restart(struct eigrp_neighbor *nbr, struct vty *vty);
 
+extern int eigrp_nbr_split_horizon_check(struct eigrp_nexthop_entry *ne,
+                                        struct eigrp_interface *ei);
 #endif /* _ZEBRA_EIGRP_NEIGHBOR_H */