Failed on loading the interface

We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Make sure that on your advertise packet, npkt->tot_iov is
set correctly (ie npkt->tot_iov = 1).

-seanb

Beth <id@address.com> wrote:

We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Sean, thanks for your response. I added the npkt->tot_iov=1 to the advertise
code, the interface is now listed when I did ifconfig, however, I got
following message:

mnc0: flags=8042<BROADCAST,RUNNING,MULTICAST> mtu 1500
nwid “”
tunnel inet →
ifconfig: mnc0: no media type?

Appreciate your help.

-Beth

Sean Boudreau wrote:

Make sure that on your advertise packet, npkt->tot_iov is
set correctly (ie npkt->tot_iov = 1).

-seanb

Beth <> id@address.com> > wrote:
We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth

Try to assign ap->dl.sdl_type in your advertising function. There is a
bunch of IFT_ types to choose from in <net/if_types.h>.
Cheers,
-Dmitri

Beth wrote:

Sean, thanks for your response. I added the npkt->tot_iov=1 to the advertise
code, the interface is now listed when I did ifconfig, however, I got
following message:

mnc0: flags=8042<BROADCAST,RUNNING,MULTICAST> mtu 1500
nwid “”
tunnel inet –
ifconfig: mnc0: no media type?

Appreciate your help.

-Beth

Sean Boudreau wrote:

Make sure that on your advertise packet, npkt->tot_iov is
set correctly (ie npkt->tot_iov = 1).

-seanb

Beth <> id@address.com> > wrote:
We have a custom interface type with a single producer_up. This
interface is mounted correctly on QNX 6.1a Tiny, full TCPIP, it also
works fine on QNX 6.2 Tiny TCPIP, however it failed running on QNX 6.2
Full TCPIP stack. On QNX 6.2 Full TCPIP machine, after we mounted the
driver, the interface was listed under /dev/io-net/, but if I do
ifconfig -a, the interface was not there. Any one know whether there is
any change on QNX 6.2 full TCP that could cause this problem?

Appreciate your help.

-Beth