* Which function at link layer sends packet?
@ 2005-02-03 13:18 cranium 2003
0 siblings, 0 replies; only message in thread
From: cranium 2003 @ 2005-02-03 13:18 UTC (permalink / raw)
To: netdev, kernelnewbies
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-03 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-03 13:18 Which function at link layer sends packet? cranium 2003
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).