aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2000-05-21 19:35:34 +0000
committerPhil Blundell <philb@gnu.org>2000-05-21 19:35:34 +0000
commitc32a1ce0e23dc000750f4e1cbce8cddb6b640530 (patch)
tree60fad3c7d6da2b4de2b3e26a3e99c00b364bd8ea /include
parentDocumentation updates. (diff)
downloadnet-tools-c32a1ce0e23dc000750f4e1cbce8cddb6b640530.tar.gz
net-tools-c32a1ce0e23dc000750f4e1cbce8cddb6b640530.tar.bz2
net-tools-c32a1ce0e23dc000750f4e1cbce8cddb6b640530.zip
Update manual pages to better match reality.
Pull code from ifconfig into interface.c; implement ifconfig -s and netstat -i -e.
Diffstat (limited to 'include')
-rw-r--r--include/interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/interface.h b/include/interface.h
index 8894fca..bd1b948 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -74,6 +74,10 @@ extern int do_if_print(struct interface *ife, void *cookie);
extern void ife_print(struct interface *ptr);
+extern int ife_short;
+
+extern const char *if_port_text[][4];
+
/* Defines for poor glibc2.0 users, the feature check is done at runtime */
#if !defined(SIOCSIFTXQLEN)
#define SIOCSIFTXQLEN 0x8943