Bluehost.com Web Hosting $6.95

Which function at link layer sends packet?

This is a discussion on Which function at link layer sends packet? within the Linux Networking forums, part of the Linux Forums category; Hello, In a LAN i have 2 pcs host1 with 10.0.2.10 and host2 with eth0:10.0....


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-03-2005
kernel.lover
 
Posts: n/a
Default Which function at link layer sends packet?

Hello,
In a LAN i have 2 pcs host1 with 10.0.2.10 and host2 with
eth0:10.0.0.100 and eth1:192.168.1.1 Both are connected to switch.
what i observe that when i ping from 10.0.2.10 to 192.168.1.1 then
packet is sent through dev_queue_xmit_nit. In that function it goes
upto ptype->func(skb2, skb->dev, ptype);
and then i am not getting which functions get called but then i found
call goes to ethernet driver to NIC card. Does that mean above
statement calls hard_start_xmit?
Then i reboot my linux RH9 with 2.4.24 kernel PC and again ping
to 192.168.1.1 and found that packet transmission
is not going through dev_queu_xmit_nit but from dev_queue_xmit to
hard_start_xmit.
regards,
cranium
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0