Date: Wed, 11 Oct 2006 13:02:50 -0300 From: "Eduardo Meyer" <dudu.meyer@gmail.com> To: "Eugene Grosbein" <eugen@kuzbass.ru>, stable@freebsd.org Subject: Re: Netgraph - ng_bpf help (first experience) Message-ID: <d3ea75b30610110902h337f3805v895c5046677d80a7@mail.gmail.com> In-Reply-To: <20061011155017.GA63687@svzserv.kemerovo.su> References: <d3ea75b30610100938k5fe929a7n3641b469b16c8bd1@mail.gmail.com> <57d710000610101008h47c96971v35b5483ca6052fad@mail.gmail.com> <d3ea75b30610101200w4c7338aag8e4ca48ee742fbf0@mail.gmail.com> <d3ea75b30610101225y18048b4sb11b44900a62671e@mail.gmail.com> <20061011042733.GA12604@svzserv.kemerovo.su> <d3ea75b30610110812m1e91379exa5dedbe4ddfc19db@mail.gmail.com> <20061011155017.GA63687@svzserv.kemerovo.su>
next in thread | previous in thread | raw e-mail | index | archive | help
> > ngctl msg my_node: setprogram { thisHook="hook1" ifMatch="hook2" > > ifNotMatch="hook3" bpf_prog_len=16 bpf_prog=[ { code=40 jt=0 jf=0 k=12 > > } { code=21 jt=0 jf=4 k=34525 } { code=48 jt=0 jf=0 k=20 } { code=21 > > jt=0 jf=11 k=6 } { code=40 jt=0 jf=0 k=56 } { code=21 jt=8 jf=9 k=80 } > > { code=21 jt=0 jf=8 k=2048 } { code=48 jt=0 jf=0 k=23 } { code=21 jt=0 > > jf=6 k=6 } { code=40 jt=0 jf=0 k=20 } { code=69 jt=4 jf=0 k=8191 } { > > code=177 jt=0 jf=0 k=14 } { code=72 jt=0 jf=0 k=16 } { code=21 jt=0 > > jf=1 k=80 } { code=6 jt=0 jf=0 k=8192 } { code=6 jt=0 jf=0 k=0 } ] } } > > > > How should I create "my_node" before? > > Absolutely. Absolutely what? I meant "how should I create", say "how to create" my node. The man page does not mentions anything about it. Thanks again for the help. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3ea75b30610110902h337f3805v895c5046677d80a7>