socsvn commit: r307749 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Tue Aug 16 18:05:28 UTC 2016
Author: yuanxunzhang
Date: Tue Aug 16 18:05:27 2016
New Revision: 307749
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307749
Log:
EAPS: query eaps domian status
Modified:
soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c
soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.h
Modified: soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Tue Aug 16 18:03:13 2016 (r307748)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Tue Aug 16 18:05:27 2016 (r307749)
@@ -51,15 +51,6 @@
#include <strings.h>
#include <unistd.h>
-/*
-* eaps ring information
-*/
-struct eaps_reqall {
- char eaps_ifname[IFNAMSIZ]; /* name of the eaps */
- uint8_t eaps_state; /* state of eaps */
- uint8_t enable_state; /* enable or disable eaps ring */
-};
-
/*
* EAPS Command Line Module - configure, and display eaps
Modified: soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.h
==============================================================================
--- soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.h Tue Aug 16 18:03:13 2016 (r307748)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.h Tue Aug 16 18:05:27 2016 (r307749)
@@ -33,3 +33,14 @@
*
* $FreeBSD$
*/
+
+/*
+* eaps ring information
+*/
+struct eaps_reqall {
+ char eaps_ifname[IFNAMSIZ]; /* name of the eaps */
+ uint8_t eaps_state; /* state of eaps */
+ uint8_t enable_state; /* enable or disable eaps ring */
+};
+
+#define SIOCSEAPSDOMAIN _IOWR('i', 300, struct eaps_reqall)
More information about the svn-soc-all
mailing list