diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-06-12 17:32:23 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-03-25 08:52:36 +0100 |
| commit | 3012671ffadbd839626b5c0b0b1fd36b3698f582 (patch) | |
| tree | 847bacd0156e5e8dc2e64cbfbbf10c2f6e3ac9ac /bgpd/bgp_fsm.h | |
| parent | 46081234b48eb9569271f868e1fbd5f2bc78c9d6 (diff) | |
*: use hooks for sending SNMP traps
This means there are no ties into the SNMP code anymore other than the
init call at startup.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_fsm.h')
| -rw-r--r-- | bgpd/bgp_fsm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h index e47d07702b..4d0b48f529 100644 --- a/bgpd/bgp_fsm.h +++ b/bgpd/bgp_fsm.h @@ -109,4 +109,8 @@ extern void bgp_start_routeadv (struct bgp *); */ extern void bgp_adjust_routeadv (struct peer *); +#include "hook.h" +DECLARE_HOOK(peer_backward_transition, (struct peer *peer), (peer)) +DECLARE_HOOK(peer_established, (struct peer *peer), (peer)) + #endif /* _QUAGGA_BGP_FSM_H */ |
