From owner-svn-src-user@FreeBSD.ORG Thu Oct 15 23:30:57 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ADEF1065676; Thu, 15 Oct 2009 23:30:57 +0000 (UTC) (envelope-from eri@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3A7F08FC0C; Thu, 15 Oct 2009 23:30:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9FNUv8B087661; Thu, 15 Oct 2009 23:30:57 GMT (envelope-from eri@svn.freebsd.org) Received: (from eri@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9FNUviR087658; Thu, 15 Oct 2009 23:30:57 GMT (envelope-from eri@svn.freebsd.org) Message-Id: <200910152330.n9FNUviR087658@svn.freebsd.org> From: Ermal Luçi Date: Thu, 15 Oct 2009 23:30:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198163 - user/eri/pf45/head/sys/contrib/pf/net X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 23:30:57 -0000 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. */