Networking Forums

Networking Forums > Computer Networking > Linux Networking > Which function at link layer sends packet?

Reply
Thread Tools Display Modes

Which function at link layer sends packet?

 
 
kernel.lover
Guest
Posts: n/a

 
      02-03-2005, 12:06 PM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
function set packet capture promisc mode in linux? Xend Linux Networking 1 06-23-2008 08:29 PM
Application Layer Gateway: custom packet treatment Ludovic Felten Windows Networking 0 11-30-2007 04:38 PM
sending a packet from transport layer mihir Linux Networking 0 04-17-2006 10:07 AM
When Linux PC boots, Does it sends RARP packet to get its IP address by embedding its Hardware address? santa19992000@yahoo.com Linux Networking 2 10-16-2005 10:40 PM
IP packet logging function help cranium.2003@gmail.com Linux Networking 0 05-20-2005 03:50 AM



1 2 3 4 5 6 7 8 9 10 11