I´m using the Berkley Packet Filter for watching some packets on the
network. Can we configure the bpf device file into the /dev folder… if so
do we need to build the main kernel again ?
Any help in this direction wud be appreciated.
Regards,
Harshit.
Harshit Srivastava <h.srivastava@ideasoft.de> wrote:
I?m using the Berkley Packet Filter for watching some packets on the
network. Can we configure the bpf device file into the /dev folder… if so
do we need to build the main kernel again ?
QNX doesn’t really work that way. Entries in /dev are done on the
fly since everything is handled as resource managers. Is there a problem
with it being in /dev/socket? (I think that is where it appears now).
chris
–
cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Chris McKillop <cdm@qnx.com> wrote:
Harshit Srivastava <> h.srivastava@ideasoft.de> > wrote:
I?m using the Berkley Packet Filter for watching some packets on the
network. Can we configure the bpf device file into the /dev folder… if so
do we need to build the main kernel again ?
QNX doesn’t really work that way. > > Entries in /dev are done on the
fly since everything is handled as resource managers. Is there a problem
with it being in /dev/socket? (I think that is where it appears now).
It is in /dev/socket/bpf, if you really want it in /dev, just like them.
ln -sP socket/bpf /dev/bpf0
-xtang