On 10/11/06, Eugene Grosbein <[EMAIL PROTECTED]> wrote:
On Tue, Oct 10, 2006 at 04:25:23PM -0300, Eduardo Meyer wrote:

> ngctl: send msg: No such file or directory
> Exit 71
>
> Same problem.  With ngctl list the only node I see is:
>
> There are 1 total nodes:
>  Name: ngctl19792      Type: socket          ID: 0000003f   Num hooks: 0
>

You do not have ng_bpf node created and try to assing a program
to nonexisting node. That's what ngctl tries to say to you.

Eugene

Thank you for pointing a way Eugene. But isn't this command supposed
to be the one creating the node?

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?


--
===========
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [EMAIL PROTECTED]
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to