socsvn commit: r308216 - soc2016/yuanxunzhang/head/sys/net

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Mon Aug 22 20:58:18 UTC 2016


Author: yuanxunzhang
Date: Mon Aug 22 20:58:16 2016
New Revision: 308216
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=308216

Log:
  EAPS: implement add primary/secondary port interface

Modified:
  soc2016/yuanxunzhang/head/sys/net/eaps.c

Modified: soc2016/yuanxunzhang/head/sys/net/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/sys/net/eaps.c	Mon Aug 22 20:52:41 2016	(r308215)
+++ soc2016/yuanxunzhang/head/sys/net/eaps.c	Mon Aug 22 20:58:16 2016	(r308216)
@@ -229,6 +229,15 @@
 	case SIOCSEAPSFAIL:
 		error = set_eaps_failtime(sc, es);
 		break;
+
+	case SIOCESAPSPRIMARY:
+		error = set_eaps_primary_port(sc, es);
+		break;
+
+	case SIOCESAPSSECONDARY:
+		error = set_eaps_secondary_port(sc, es);
+		break;
+		
 	default:
 		error = ether_ioctl(ifp, cmd, data);
 		break;


More information about the svn-soc-all mailing list