netdev
[Top] [All Lists]

which are these packet types??

To: netdev@xxxxxxxxxxx
Subject: which are these packet types??
From: linux lover <linux_lover2004@xxxxxxxxx>
Date: Sat, 22 Jan 2005 20:22:09 -0800 (PST)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=X9CZGQV+/uReStiVWjgoDkimvrSvRMYMzzd8uO6KUTPn1kKHydLER3Jy+jnh6+s4sRZ+vEr/1cdJcm9/Zgg4pIrHkkWSBxJmd7sScUwt5howibtuS1E1aBVsERrWaVSBGtgFiPIJOI3RPc4isocyya6mcymsiAPBIll0ybMtKHI= ;
Sender: netdev-bounce@xxxxxxxxxxx
Hello all,
             I have added some debug statements in
linux kernel 2.4.24 in /usr/src/linux/net/core/dev.c
printk(KERN_DEBUG "in netif_receive_skb after skb->len
= %d and address = %p\n",skb->len,skb->data);
printk(KERN_DEBUG "In netif_receive_skb
skb->nh.iph->ihl = %d && skb->nh.iph->version =
%d\n",skb->nh.iph->ihl,skb->nh.iph->version);
printk(KERN_DEBUG "packet type is =%d\n",type);
where all these 3 statemets are placed in
netif_receive_skb function of dev.c and type is
defined as unsigned short type = skb->protocol;
Then i rebuild kernel and check it on network and
found following results.

in netif_receive_skb after skb->len = 186 and address
= c75ec620
In netif_receive_skb skb->nh.iph->ihl = 0 &&
skb->nh.iph->version = 14
packet type is =1024

in netif_receive_skb after skb->len = 46 and address =
c74633a0
In netif_receive_skb skb->nh.iph->ihl = 0 &&
skb->nh.iph->version = 0
packet type is =1544

in netif_receive_skb after skb->len = 84 and address =
c7463aa0
In netif_receive_skb skb->nh.iph->ihl = 0 &&
skb->nh.iph->version = 14
packet type is =1024

in netif_receive_skb after skb->len = 100 and address
= c74639a0
In netif_receive_skb skb->nh.iph->ihl = 0 &&
skb->nh.iph->version = 14
packet type is =1024

in netif_receive_skb after skb->len = 78 and address =
c7463aa0
In netif_receive_skb skb->nh.iph->ihl = 5 &&
skb->nh.iph->version = 4
packet type is =8

I want to know which are these packet types?
I know only values 8 for IP and 2054 for ARP packets
then which are these packets 1024,1544.
regards,
linux_lover


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

<Prev in Thread] Current Thread [Next in Thread>
  • which are these packet types??, linux lover <=