Sean Boudreau(deleted)
|
Re: Raw (Ethernet) Sockets over io-net net stack on QNX 6.3.2
|
Sean Boudreau(deleted)
08/10/2011 8:48 AM
post87973
|
Re: Raw (Ethernet) Sockets over io-net net stack on QNX 6.3.2
The closest we have is BPF under io-pkt.
Regards,
-seanb
----- Original Message -----
From: Phil Shiel [mailto:community-noreply@qnx.com]
Sent: Wednesday, August 10, 2011 08:39 AM
To: technology-networking <post87971@community.qnx.com>
Subject: Raw (Ethernet) Sockets over io-net net stack on QNX 6.3.2
Hi,
I am attempting to port an application to run under QNX version 6.3.2.
The application makes use of the socket(AF_PACKET,SOCK_RAW,0) function call to allow it to create its own ethernet based
protocol packets. It also makes use of QOS and VLANs in the extended ethernet header.
As far as I can see this functionality does not seem to exist in the io-net network stack include with 6.3.2 , so my
question is what is the best approach I should take to migrate the application.
Do later version of QNX support this functionality? I know there is a new network stack;- io-pkt. Does this give me what
I need, and because we are stuck as 6.3.2 is it possible to migrate this stack to run under 6.3.2?
Any ideas, suggestions would be greatly appreciated!!
Thanks
Phil
_______________________________________________
Technology
http://community.qnx.com/sf/go/post87971
|
|
|
Vineet Garg
|
Re: Raw (Ethernet) Sockets over io-net net stack on QNX 6.3.2
|
Vineet Garg
08/10/2011 12:05 PM
post87985
|
Re: Raw (Ethernet) Sockets over io-net net stack on QNX 6.3.2
Hi Phil
We achieved similar functionality on io-net using io-net filter module
such that is has ethernet below it and IP above it. so, this way we
can get access to all ethernet frames entering the system and can
generate ethernet frames of our own.
Other scenario is hacking the network driver code but that might not
be a great design.
HTH
Vineet
On Wed, Aug 10, 2011 at 8:39 AM, Phil Shiel <community-noreply@qnx.com> wrote:
>
> Hi,
>
> I am attempting to port an application to run under QNX version 6.3.2.
> The application makes use of the socket(AF_PACKET,SOCK_RAW,0) function call to allow it to create its own ethernet
based protocol packets. It also makes use of QOS and VLANs in the extended ethernet header.
>
> As far as I can see this functionality does not seem to exist in the io-net network stack include with 6.3.2 , so my
question is what is the best approach I should take to migrate the application.
>
> Do later version of QNX support this functionality? I know there is a new network stack;- io-pkt. Does this give me
what I need, and because we are stuck as 6.3.2 is it possible to migrate this stack to run under 6.3.2?
>
> Any ideas, suggestions would be greatly appreciated!!
>
> Thanks
>
> Phil
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Technology
> http://community.qnx.com/sf/go/post87971
>
>
|
|
|