diff options
author | bryanv <bryanv@FreeBSD.org> | 2014-09-14 22:10:35 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2014-09-14 22:10:35 +0000 |
commit | 80ccb248ca5a4784c12f1eb4893ff05034603733 (patch) | |
tree | e9fefb16ea6c9a52b856034dfbdb9eaa0bd85a2e /sbin/ifconfig/ifconfig.h | |
parent | 3872faab0157ae97ca9647fdffcfc3e640e6b8ec (diff) | |
download | FreeBSD-src-80ccb248ca5a4784c12f1eb4893ff05034603733.zip FreeBSD-src-80ccb248ca5a4784c12f1eb4893ff05034603733.tar.gz |
Add DEF_CLONE_CMD_ARG2
This will be used in the forthcoming vxlan import.
Reviewed by: gnn
Phabric: https://reviews.freebsd.org/D382
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r-- | sbin/ifconfig/ifconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h index e449c1d..6df9acf 100644 --- a/sbin/ifconfig/ifconfig.h +++ b/sbin/ifconfig/ifconfig.h @@ -74,6 +74,7 @@ void callback_register(callback_func *, void *); #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; |