Date: Sun, 14 Sep 2014 22:10:35 +0000 (UTC) From: Bryan Venteicher <bryanv@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271603 - head/sbin/ifconfig Message-ID: <201409142210.s8EMAZkf061814@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409142210.s8EMAZkf061814>