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 - pfil_run_hooks: Page 1 of 7 (7 Items)
   
pfil_run_hooks  
Hi,

we would be interested in porting io-net filters to io-pkt as well
and having pfil_run_hooks() calling filter code looks promising.

If doing so, what would be the best way of attaching the filter
code to io-pkt that gets called by pfil_run_hooks()? Could I
write a fake driver which uses only the entry and shutdown
functions and in the entry function instead of calling
dev_attach() I would call pfil_head_register()?
pfil_head_register() would be called on eth_input_pfil_hook for
the rx direction and on the interface hooks of
interest (&ifp->if_pfil) for the tx direction?

Thankful for any help,
Peter Engstrom
Prisma Engineering