netstat

Where could one found a description of item reported by netstat -n. I’m
interrested in PCB hash missed?

  • Mario

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:eda5h2$4si$1@inn.qnx.com

Where could one found a description of item reported by netstat -n. I’m
interrested in PCB hash missed?

meant netstat -s

  • Mario

Mario Charest postmaster@127.0.0.1 wrote:

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:eda5h2$4si$> 1@inn.qnx.com> …


Where could one found a description of item reported by netstat -n. I’m
interrested in PCB hash missed?

meant netstat -s

A packet came in and there was no connect()ed socket
on this end. The lists of connected sockets are
searched via a hash (all 4 of the local ip, remote ip,
local port and remote port must match for this search
to pass).

Regards,

-seanb

Mario Charest postmaster@127.0.0.1 wrote:

“Sean Boudreau” <> seanb@qnx.com> > wrote in message
news:ednthc$csk$> 1@inn.qnx.com> …
Mario Charest postmaster@127.0.0.1 wrote:

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:eda5h2$4si$> 1@inn.qnx.com> …


Where could one found a description of item reported by netstat -n. I’m
interrested in PCB hash missed?

meant netstat -s


A packet came in and there was no connect()ed socket
on this end. The lists of connected sockets are
searched via a hash (all 4 of the local ip, remote ip,
local port and remote port must match for this search
to pass).

Is this normal? A device is sending the QNX box UDP packets but they are
making it to the application.

It can be. If you don’t connect() a udp socket it will
receive all packets sent to the bound local port.

I"m trying to understand a strange behavior. The device is sending UDP at
steady rate (12K packets a seconds). io-net will for use less then 1% for 4
secondes then ramp to 40% for about 3 secondes then back to 1%. The
application receiving the packet seems fine.

Doesn’t ring a bell. Any other interfaces / protcols involved?

Regards,

-seanb

“Sean Boudreau” <seanb@qnx.com> wrote in message
news:ednthc$csk$1@inn.qnx.com

Mario Charest postmaster@127.0.0.1 wrote:

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:eda5h2$4si$> 1@inn.qnx.com> …


Where could one found a description of item reported by netstat -n. I’m
interrested in PCB hash missed?

meant netstat -s


A packet came in and there was no connect()ed socket
on this end. The lists of connected sockets are
searched via a hash (all 4 of the local ip, remote ip,
local port and remote port must match for this search
to pass).

Is this normal? A device is sending the QNX box UDP packets but they are
making it to the application.

I"m trying to understand a strange behavior. The device is sending UDP at
steady rate (12K packets a seconds). io-net will for use less then 1% for 4
secondes then ramp to 40% for about 3 secondes then back to 1%. The
application receiving the packet seems fine.

Regards,

-seanb

“Sean Boudreau” <seanb@qnx.com> wrote in message
news:eem57o$oco$1@inn.qnx.com

Mario Charest postmaster@127.0.0.1 wrote:

“Sean Boudreau” <> seanb@qnx.com> > wrote in message
news:ednthc$csk$> 1@inn.qnx.com> …
Mario Charest postmaster@127.0.0.1 wrote:

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:eda5h2$4si$> 1@inn.qnx.com> …


Where could one found a description of item reported by netstat -n.
I’m
interrested in PCB hash missed?

meant netstat -s


A packet came in and there was no connect()ed socket
on this end. The lists of connected sockets are
searched via a hash (all 4 of the local ip, remote ip,
local port and remote port must match for this search
to pass).

Is this normal? A device is sending the QNX box UDP packets but they
are
making it to the application.

It can be. If you don’t connect() a udp socket it will
receive all packets sent to the bound local port.

Does that mean that not doing a connect increase CPU usage versus doing a
connect?

I"m trying to understand a strange behavior. The device is sending UDP
at
steady rate (12K packets a seconds). io-net will for use less then 1%
for 4
secondes then ramp to 40% for about 3 secondes then back to 1%. The
application receiving the packet seems fine.

Doesn’t ring a bell. Any other interfaces / protcols involved?

Aside phindows no, but the strange thing is that my application (which for
the moment
simply does a recvfrom in a loop) follow the same curve. I’m trying to use
the
system profile to figure out what is going, but so far no luck.

Regards,

-seanb

It can be. If you don’t connect() a udp socket it will
receive all packets sent to the bound local port.

Hum, I can’t use connect because multiple device will be sending UDP packets
to the same port.

Thanks.

  • Mario