]>
git.proxmox.com Git - mirror_frr.git/blob - ripngd/ripng_debug.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * RIPng debug output routines
4 * Copyright (C) 1998, 1999 Kunihiro Ishiguro
7 #ifndef _ZEBRA_RIPNG_DEBUG_H
8 #define _ZEBRA_RIPNG_DEBUG_H
11 #define RIPNG_DEBUG_EVENT 0x01
13 #define RIPNG_DEBUG_PACKET 0x01
14 #define RIPNG_DEBUG_SEND 0x20
15 #define RIPNG_DEBUG_RECV 0x40
17 #define RIPNG_DEBUG_ZEBRA 0x01
19 /* Debug related macro. */
20 #define IS_RIPNG_DEBUG_EVENT (ripng_debug_event & RIPNG_DEBUG_EVENT)
22 #define IS_RIPNG_DEBUG_PACKET (ripng_debug_packet & RIPNG_DEBUG_PACKET)
23 #define IS_RIPNG_DEBUG_SEND (ripng_debug_packet & RIPNG_DEBUG_SEND)
24 #define IS_RIPNG_DEBUG_RECV (ripng_debug_packet & RIPNG_DEBUG_RECV)
26 #define IS_RIPNG_DEBUG_ZEBRA (ripng_debug_zebra & RIPNG_DEBUG_ZEBRA)
28 extern unsigned long ripng_debug_event
;
29 extern unsigned long ripng_debug_packet
;
30 extern unsigned long ripng_debug_zebra
;
32 extern void ripng_debug_init(void);
34 #endif /* _ZEBRA_RIPNG_DEBUG_H */