Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2016 18:05:27 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r307749 - soc2016/yuanxunzhang/head/usr.sbin/eaps
Message-ID:  <201608161805.u7GI5RCo059824@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608161805.u7GI5RCo059824>