summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/include')
-rw-r--r--c/src/lib/include/sys/sockio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/include/sys/sockio.h b/c/src/lib/include/sys/sockio.h
index 020061170f..03ec16e43a 100644
--- a/c/src/lib/include/sys/sockio.h
+++ b/c/src/lib/include/sys/sockio.h
@@ -83,4 +83,11 @@
#define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq) /* set net media */
#define SIOCGIFMEDIA _IOWR('i', 56, struct ifmediareq) /* get net media */
+
+/*
+ * RTEMS additions for setting/getting `tap' function on incoming packets.
+ */
+#define SIOCSIFTAP _IOW('i', 80, struct ifreq) /* set tap function */
+#define SIOCGIFTAP _IOWR('i', 81, struct ifreq) /* get tap function */
+
#endif /* !_SYS_SOCKIO_H_ */