Skip navigation.
Home
The QNX Community Portal

View topic - Help : How to implement linux/if_packet.h

Help : How to implement linux/if_packet.h

Read-only archive of qnx.porting (Discuss migrating applications from QNX4, VxWorks, PSOS, or Linux to QNX Neutrino) at inn.qnx.com

Help : How to implement linux/if_packet.h

Postby digiwizard » Fri Feb 15, 2008 5:01 am

In Linux we have

#include <linux/if_packet.h>

in QNX Momentics IDE for QNX Neutrino 6.3.2 how to implement the same?
example

for
#include <linux/if.h> we have #include <net/if.h>....
digiwizard
New Member
 
Posts: 5
Joined: Thu Feb 14, 2008 7:17 am

Re: Help : How to implement linux/if_packet.h

Postby seanb » Fri Feb 15, 2008 3:36 pm

digiwizard <deethugopinath@kalkitech-dot-in.no-spam.invalid> wrote:
In Linux we have

#include <linux/if_packet.h

in QNX Momentics IDE for QNX Neutrino 6.3.2 how to implement the
same?
example


There's no real released equivalent to AF_PACKET in io-net.
In io-pkt there is (will be) BPF / libpcap which should
provide the same functionality but the interface is
different.

-seanb
seanb
QNX Master
 
Posts: 133
Joined: Fri Jul 28, 2006 5:36 pm


Return to qnx.porting

Who is online

Users browsing this forum: No registered users and 1 guest