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 - How to set filters for capturing ethernet raw packets in BPF?: Page 1 of 6 (6 Items)
   
How to set filters for capturing ethernet raw packets in BPF?  
Hi,

I want to send and receive ethernet raw packets using BPF interface. 

The ethernet raw packet frame = destination hardware (MAC) address [6 bytes]+	source hardware (MAC) address [6 bytes]  +
 layer-3 protocol type [2 bytes]  + payload [46 - 1500 bytes] +FCS [4 bytes].

While receiveing, how to set filters for capturing ethernet raw packets only in BPF interface? 

Thanks, 
BVB