diff packages/net/tcpip/current/include/sys/sockio.h @ 117:bd1a71e3e476 ecos-sw-2000-08-25

Merge from eCos master repository on 2000-08-25-19:22:58-BST
author jlarmour
date Fri, 25 Aug 2000 19:17:22 +0000
parents 02ea4320376c
children e0c0827131d1
line wrap: on
line diff
--- a/packages/net/tcpip/current/include/sys/sockio.h
+++ b/packages/net/tcpip/current/include/sys/sockio.h
@@ -119,6 +119,9 @@
 #define	SIOCGIFHWADDR	_IOWR('i', 15, struct ifreq)	/* get MAC address */
 #ifdef __ECOS
 #define	SIOCSIFHWADDR	 _IOW('i',101, struct ifreq)	/* set MAC address */
+/* NB these two take a struct ifreq followed by the useful data */
+#define SIOCGIFSTATSUD  _IOWR('i',102, struct ifreq)    /* get uptodate if stats */
+#define SIOCGIFSTATS    _IOWR('i',103, struct ifreq)    /* get interface stats */
 #endif
 #define	SIOCSIFDSTADDR	 _IOW('i', 14, struct ifreq)	/* set p-p address */
 #define	OSIOCGIFDSTADDR	_IOWR('i', 15, struct ifreq)	/* get p-p address */