Lalit Koli
|
open BPF filter - open failed (error no 2)
|
Lalit Koli
11/10/2009 3:21 AM
post41679
|
open BPF filter - open failed (error no 2)
I am using BPF filter to capture Qnet packets and can do it successfully when I compile separate executable. Now I am
trying to do same thing in a shared library to add an new option for lsm-qnet.so - resolve=myresolve. Here I am using
nr_template.c in ..../lsm/qnet/doc/ directory and building my shared library nr-myresolve.so. In this the open fails
when trying to open /dev/bpf0 in read only mode. Can any one help me to get the thing working?
|
|
|