]> git.proxmox.com Git - mirror_frr.git/blame - eigrpd/eigrp_interface.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / eigrpd / eigrp_interface.h
CommitLineData
acddc0ed 1// SPDX-License-Identifier: GPL-2.0-or-later
7f57883e
DS
2/*
3 * EIGRP Interface Functions.
4 * Copyright (C) 2013-2016
5 * Authors:
6 * Donnie Savage
7 * Jan Janovic
8 * Matej Perina
9 * Peter Orsag
10 * Peter Paluch
11 * Frantisek Gazo
12 * Tomas Hvorkovy
13 * Martin Kontsek
14 * Lukas Koribsky
7f57883e
DS
15 */
16
17#ifndef _ZEBRA_EIGRP_INTERFACE_H_
18#define _ZEBRA_EIGRP_INTERFACE_H_
19
20/*Prototypes*/
d62a17ae 21extern void eigrp_if_init(void);
22extern int eigrp_if_new_hook(struct interface *);
23extern int eigrp_if_delete_hook(struct interface *);
7f57883e 24
b748db67 25extern bool eigrp_if_is_passive(struct eigrp_interface *ei);
d62a17ae 26extern void eigrp_del_if_params(struct eigrp_if_params *);
d62a17ae 27extern struct eigrp_interface *eigrp_if_new(struct eigrp *, struct interface *,
28 struct prefix *);
d62a17ae 29extern int eigrp_if_up(struct eigrp_interface *);
30extern void eigrp_if_stream_set(struct eigrp_interface *);
31extern void eigrp_if_set_multicast(struct eigrp_interface *);
d7c0a89a 32extern uint8_t eigrp_default_iftype(struct interface *);
d62a17ae 33extern void eigrp_if_free(struct eigrp_interface *, int);
34extern int eigrp_if_down(struct eigrp_interface *);
35extern void eigrp_if_stream_unset(struct eigrp_interface *);
7f57883e 36
d62a17ae 37extern struct eigrp_interface *eigrp_if_lookup_by_local_addr(struct eigrp *,
38 struct interface *,
39 struct in_addr);
40extern struct eigrp_interface *eigrp_if_lookup_by_name(struct eigrp *,
41 const char *);
7f57883e
DS
42
43/* Simulate down/up on the interface. */
d62a17ae 44extern void eigrp_if_reset(struct interface *);
7f57883e 45
7f57883e 46#endif /* ZEBRA_EIGRP_INTERFACE_H_ */