Network filter problem

Hello,

I am writing a network filter for QNX 6.2 that sits above the ethernet
driver.
When I receive a packet from the network, I’m trying to rebuild the
npkt structure thanks to ionet API.
But I get “tcpip : blown stack handling 0x102. See “stacksize” option”
and io-net crashes.

Does somebody understands this message ??

Jeff
Poster

The tcpip protocol module runs with a very limited stack. If your
filter is stack hungry, it can easily be blown. If you can’t reduce
your stack requirements, the other option is to increase npm-tcpip.so’s
stacksize: the “stacksize” option was added for this purpose. For
example:

io-net -ptcpip stacksize=4096 …

See the docs or ‘use /lib/dll/npm-tpcip.so’ for more info.

-seanb

Jeff <fleuryj@thmulti.com> wrote:

Hello,

I am writing a network filter for QNX 6.2 that sits above the ethernet
driver.
When I receive a packet from the network, I’m trying to rebuild the
npkt structure thanks to ionet API.
But I get “tcpip : blown stack handling 0x102. See “stacksize” option”
and io-net crashes.

Does somebody understands this message ??

Jeff
Poster