From owner-freebsd-pf@FreeBSD.ORG Fri Jan 7 06:22:36 2005 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 988B716A4CE for ; Fri, 7 Jan 2005 06:22:36 +0000 (GMT) Received: from ns.kt-is.co.kr (ns.kt-is.co.kr [211.218.149.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id F14DD43D39 for ; Fri, 7 Jan 2005 06:22:35 +0000 (GMT) (envelope-from yongari@kt-is.co.kr) Received: from michelle.kt-is.co.kr (ns2.kt-is.co.kr [220.76.118.193]) (authenticated bits=128) by ns.kt-is.co.kr (8.12.10/8.12.10) with ESMTP id j076MVAh090377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 7 Jan 2005 15:22:31 +0900 (KST) Received: from michelle.kt-is.co.kr (localhost.kt-is.co.kr [127.0.0.1]) by michelle.kt-is.co.kr (8.13.1/8.13.1) with ESMTP id j076MWq1016204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Jan 2005 15:22:32 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Received: (from yongari@localhost) by michelle.kt-is.co.kr (8.13.1/8.13.1/Submit) id j076MKL0016203; Fri, 7 Jan 2005 15:22:20 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Date: Fri, 7 Jan 2005 15:22:19 +0900 From: Pyun YongHyeon To: sam Message-ID: <20050107062219.GA15701@kt-is.co.kr> References: <41DE275A.7020300@authtec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41DE275A.7020300@authtec.com> User-Agent: Mutt/1.4.2.1i X-Filter-Version: 1.11a (ns.kt-is.co.kr) cc: freebsd-pf@freebsd.org Subject: Re: structure has no member named `anchor_call' X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: yongari@kt-is.co.kr List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 06:22:36 -0000 On Fri, Jan 07, 2005 at 02:08:26PM +0800, sam wrote: > Hi, > > I got the following error with anchor_call: > > error: structure has no member named `anchor_call' > > The line of code is: > /* Create the anchor call rule in main */ > bzero(&rule, sizeof(struct pfioc_rule)); > strncpy(rule.rule.ifname, pfp->iface, IFNAMSIZ-1); > strncpy(rule.anchor_call, pfp->anchorname, PF_ANCHOR_NAME_SIZE-1); > member anchor_call was introduced in OpenBSD 3.6 pf(rev. 1.195 pfvar.h). Unfortunatly, FreeBSD pf is based on OpenBSD 3.5 pf. > I don't know what change made to pf in freebsd. The machine I m using > is a FreeBSD beta 6. Should I try it under 5.3 stable? > If there is change, what should I modify the code? > > Thanks > Sam > -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org