Date: Thu, 15 Oct 2009 23:30:57 +0000 (UTC) From: Ermal Luçi <eri@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r198163 - user/eri/pf45/head/sys/contrib/pf/net Message-ID: <200910152330.n9FNUviR087658@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eri Date: Thu Oct 15 23:30:56 2009 New Revision: 198163 URL: http://svn.freebsd.org/changeset/base/198163 Log: Make visible to userland the ioctl definitions so ifconfig can compile. Modified: user/eri/pf45/head/sys/contrib/pf/net/if_pflow.h user/eri/pf45/head/sys/contrib/pf/net/if_pfsync.h Modified: user/eri/pf45/head/sys/contrib/pf/net/if_pflow.h ============================================================================== --- user/eri/pf45/head/sys/contrib/pf/net/if_pflow.h Thu Oct 15 23:20:23 2009 (r198162) +++ user/eri/pf45/head/sys/contrib/pf/net/if_pflow.h Thu Oct 15 23:30:56 2009 (r198163) @@ -123,12 +123,12 @@ struct pflowreq { #define PFLOW_MASK_DSTPRT 0x04 }; -#ifdef _KERNEL #ifdef __FreeBSD__ #define SIOCSETPFLOW _IOW('i', 249, struct ifreq) #define SIOCGETPFLOW _IOWR('i', 250, struct ifreq) #endif +#ifdef _KERNEL int export_pflow(struct pf_state *); int pflow_sysctl(int *, u_int, void *, size_t *, void *, size_t); #endif /* _KERNEL */ Modified: user/eri/pf45/head/sys/contrib/pf/net/if_pfsync.h ============================================================================== --- user/eri/pf45/head/sys/contrib/pf/net/if_pfsync.h Thu Oct 15 23:20:23 2009 (r198162) +++ user/eri/pf45/head/sys/contrib/pf/net/if_pfsync.h Thu Oct 15 23:30:56 2009 (r198163) @@ -268,13 +268,13 @@ struct pfsyncreq { int pfsyncr_authlevel; }; -#ifdef _KERNEL - #ifdef __FreeBSD__ #define SIOCSETPFSYNC _IOW('i', 247, struct ifreq) #define SIOCGETPFSYNC _IOWR('i', 248, struct ifreq) #endif +#ifdef _KERNEL + /* * this shows where a pf state is with respect to the syncing. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910152330.n9FNUviR087658>