mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Added few basic commands: show status, show interfaces [summary],
show protocols (incomplete).
This commit is contained in:
@@ -43,7 +43,7 @@ struct iface {
|
||||
#define IF_UNNUMBERED 4
|
||||
#define IF_BROADCAST 8
|
||||
#define IF_MULTICAST 0x10
|
||||
#define IF_TUNNEL 0x20
|
||||
#define IF_TUNNEL 0x20 /* FIXME: Remove? */
|
||||
#define IF_ADMIN_DOWN 0x40
|
||||
#define IF_LOOPBACK 0x80
|
||||
#define IF_IGNORE 0x100 /* Not to be used by routing protocols (loopbacks etc.) */
|
||||
@@ -69,6 +69,8 @@ void if_init(void);
|
||||
void if_dump(struct iface *);
|
||||
void if_dump_all(void);
|
||||
void ifa_dump(struct ifa *);
|
||||
void if_show(void);
|
||||
void if_show_summary(void);
|
||||
struct iface *if_update(struct iface *);
|
||||
struct ifa *ifa_update(struct ifa *);
|
||||
void ifa_delete(struct ifa *);
|
||||
|
Reference in New Issue
Block a user