From ae97b946e99bef043613d210489a926fe4807ec1 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 25 Nov 1999 15:35:30 +0000 Subject: Added few basic commands: show status, show interfaces [summary], show protocols (incomplete). --- nest/iface.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nest/iface.h') diff --git a/nest/iface.h b/nest/iface.h index 9f3a2395..bee9caf6 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -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 *); -- cgit v1.2.3