svn commit: r271603 - head/sbin/ifconfig

Bryan Venteicher bryanv at FreeBSD.org
Sun Sep 14 22:10:36 UTC 2014


Author: bryanv
Date: Sun Sep 14 22:10:35 2014
New Revision: 271603
URL: http://svnweb.freebsd.org/changeset/base/271603

Log:
  Add DEF_CLONE_CMD_ARG2
  
  This will be used in the forthcoming vxlan import.
  
  Reviewed by:	gnn
  Phabric:	https://reviews.freebsd.org/D382

Modified:
  head/sbin/ifconfig/ifconfig.h

Modified: head/sbin/ifconfig/ifconfig.h
==============================================================================
--- head/sbin/ifconfig/ifconfig.h	Sun Sep 14 22:03:41 2014	(r271602)
+++ head/sbin/ifconfig/ifconfig.h	Sun Sep 14 22:10:35 2014	(r271603)
@@ -74,6 +74,7 @@ void	callback_register(callback_func *, 
 #define	DEF_CMD_ARG2(name, func)	{ name, NEXTARG2, { .c_func2 = func }, 0, NULL }
 #define	DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL }
 #define	DEF_CLONE_CMD_ARG(name, func)	{ name, NEXTARG, { .c_func = func }, 1, NULL }
+#define	DEF_CLONE_CMD_ARG2(name, func)	{ name, NEXTARG2, { .c_func2 = func }, 1, NULL }
 
 struct ifaddrs;
 struct addrinfo;


More information about the svn-src-all mailing list