PF and custom kernel

Jayel Villamin jarthel at operamail.com
Thu Dec 9 17:37:40 PST 2004


struct ifnet *ifp = &sc->sc_if; -->> I also have this in my if_pfsync.c so I do not that is the problem. I would try bpf. maybe that'll work.

But according to the pf page in the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html), BPF is not required for pf.

----- Original Message -----
From: "Vlad GALU" <vladgalu at gmail.com>
To: "Jayel Villamin" <jarthel at operamail.com>
Subject: Re: PF and custom kernel
Date: Thu, 9 Dec 2004 12:40:27 +0200

> 
> On Thu, 9 Dec 2004 12:37:19 +0200, Vlad GALU <vladgalu at gmail.com> wrote:
> > On Thu, 09 Dec 2004 19:11:17 +0900, Jayel Villamin
> > <jarthel at operamail.com> wrote:
> > > here's a gist of the error message
> > > ------------
> > >
> > > if_pfsync.c: In function 'pfsync_sendout':
> > > if_pfsync.c:1532: unused variable 'ifp'
> >
> >     gcc is told to consider each warning as an error.  In my version
> > of if_pfsync.c I notice that the pointer is now initialized: "struct
> > ifnet *ifp = &sc->sc_if;". You can do this yourself or upgrade to the
> > last version of the file.
> 
>      Or simply add support for bpf to your kernel :)
> 
> 
> >
> > >
> > > -------------
> >
> >
> > >
> > > Thanks
> > > --
> > > _____________________________________________________________
> > > Web-based SMS services available at http://www.operamail.com.
> > > From your mailbox to local or overseas cell phones.
> > >
> > > Powered by Outblaze
> > > _______________________________________________
> > > freebsd-pf at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> > > To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
> > >
> >
> >
> > --
> > If it's there, and you can see it, it's real.
> > If it's not there, and you can see it, it's virtual.
> > If it's there, and you can't see it, it's transparent.
> > If it's not there, and you can't see it, you erased it.
> >
> 
> 
> --
> If it's there, and you can see it, it's real.
> If it's not there, and you can see it, it's virtual.
> If it's there, and you can't see it, it's transparent.
> If it's not there, and you can't see it, you erased it.

-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


More information about the freebsd-pf mailing list