Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - open BPF filter - open failed (error no 2): Page 1 of 7 (7 Items)
   
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?