]> git.proxmox.com Git - mirror_frr.git/blame_incremental - ripngd/ripng_debug.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / ripngd / ripng_debug.h
... / ...
CommitLineData
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * RIPng debug output routines
4 * Copyright (C) 1998, 1999 Kunihiro Ishiguro
5 */
6
7#ifndef _ZEBRA_RIPNG_DEBUG_H
8#define _ZEBRA_RIPNG_DEBUG_H
9
10/* Debug flags. */
11#define RIPNG_DEBUG_EVENT 0x01
12
13#define RIPNG_DEBUG_PACKET 0x01
14#define RIPNG_DEBUG_SEND 0x20
15#define RIPNG_DEBUG_RECV 0x40
16
17#define RIPNG_DEBUG_ZEBRA 0x01
18
19/* Debug related macro. */
20#define IS_RIPNG_DEBUG_EVENT (ripng_debug_event & RIPNG_DEBUG_EVENT)
21
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)
25
26#define IS_RIPNG_DEBUG_ZEBRA (ripng_debug_zebra & RIPNG_DEBUG_ZEBRA)
27
28extern unsigned long ripng_debug_event;
29extern unsigned long ripng_debug_packet;
30extern unsigned long ripng_debug_zebra;
31
32extern void ripng_debug_init(void);
33
34#endif /* _ZEBRA_RIPNG_DEBUG_H */