Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Sending packets: (3 Items)
   
Sending packets  
Hello.

I have some difficulties on my driver to send packets.
For packet reception, it's OK, but I have any TX activities...

For example, I'm pinging from the target my devel host, in order to generate a TX trafic, and I get the following 
message : 

# ping 192.168.38.31
PING 192.168.38.31 (192.168.38.31): 56 data bytes
ping: sendto: Network is down
ping: sendto: Network is down
ping: sendto: Network is down
ping: sendto: Network is down
ping: sendto: Network is down
ping: sendto: Network is down

The if_start function is never called, and I do not get any TX interrupt.

Can you please advise me on the point I shall verify, and why if_startis never called.

Thank you very much.
Guillaume.
Re: Sending packets  
On Tue, Jun 23, 2009 at 11:30:17AM -0400, Guillaume Varlet wrote:
> Hello.
> 
> I have some difficulties on my driver to send packets.
> For packet reception, it's OK, but I have any TX activities...
> 
> For example, I'm pinging from the target my devel host, in order to generate a TX trafic, and I get the following 
message : 
> 
> # ping 192.168.38.31
> PING 192.168.38.31 (192.168.38.31): 56 data bytes
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down

'ifconfig <iface>' should show (IFF_RUNNING|IFF_UP).  The
IFF_RUNNING flag is under the driver's control.  Please see
sys/dev_qnx/sample/sam.c

-seanb
RE: Sending packets  
Thank you very much, Sean, it works now!

Guillaume Varlet.


-----Message d'origine-----
De : Sean Boudreau [mailto:community-noreply@qnx.com] 
Envoyé : mardi 23 juin 2009 17:36
À : drivers-networking
Objet : Re: Sending packets

On Tue, Jun 23, 2009 at 11:30:17AM -0400, Guillaume Varlet wrote:
> Hello.
> 
> I have some difficulties on my driver to send packets.
> For packet reception, it's OK, but I have any TX activities...
> 
> For example, I'm pinging from the target my devel host, in order to generate a TX trafic, and I get the following 
message : 
> 
> # ping 192.168.38.31
> PING 192.168.38.31 (192.168.38.31): 56 data bytes
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down
> ping: sendto: Network is down

'ifconfig <iface>' should show (IFF_RUNNING|IFF_UP).  The
IFF_RUNNING flag is under the driver's control.  Please see
sys/dev_qnx/sample/sam.c

-seanb

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post32333

 

__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4180 (20090623) 
__________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4180 (20090623) 
__________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com