netdev
[Top] [All Lists]

Which function at link layer sends packet?

To: netdev@xxxxxxxxxxx, kernelnewbies <kernelnewbies@xxxxxxxxxxxx>
Subject: Which function at link layer sends packet?
From: cranium 2003 <cranium.2003@xxxxxxxxx>
Date: Thu, 3 Feb 2005 18:48:19 +0530
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=D26WPYq1HfHPFVC6sKeCtv2ndcC5/3hW4Xr50EGfPn4QHNsTrn27tcSNlJtOkRML2r+gTarck0HzutUtQ691pqv/9yAFQyP6Strd4+9rkzmCHSJiBBGIn3s89dzvt4D6rc0cHVZG5meFqN3XbkUocdzmhm3HRDnjlp6fhVPtp2k=
Reply-to: cranium 2003 <cranium.2003@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
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.

<Prev in Thread] Current Thread [Next in Thread>
  • Which function at link layer sends packet?, cranium 2003 <=