summaryrefslogtreecommitdiff
path: root/nest/iface.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-25 15:35:30 +0000
committerMartin Mares <mj@ucw.cz>1999-11-25 15:35:30 +0000
commitae97b946e99bef043613d210489a926fe4807ec1 (patch)
tree6e8d2e4cd898dd67ef44e7bb851156039f681bbe /nest/iface.h
parent35793769273f7286aafa0455547d1d7cfeef3931 (diff)
Added few basic commands: show status, show interfaces [summary],
show protocols (incomplete).
Diffstat (limited to 'nest/iface.h')
-rw-r--r--nest/iface.h4
1 files changed, 3 insertions, 1 deletions
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 *);