Hello, I think it is not very hard to display them, in order to get ipheader checksum pleause try: __u16 ipcheck = skb->nh.iph->check; printk("%x\n", ipcheck); and tcpheader is skb->h.th->check. Have a good holiday. ----- Original Message ----- From: "linux lover" <linux_lover2004@xxxxxxxxx> To: <linux-net@xxxxxxxxxxxxxxx> Sent: Saturday, April 23, 2005 12:43 PM Subject: understandable skbuff behavioural problem > Hello, > I am learning the skbuff workings in kenrel for > that I added a fake header in TCP/IP with Fake header > containing 2 fields of type int ipchksum and tcpchksum > taken frpm upper layer and only copied to new header. > I directly push it after IP header is added and thus > sending packets to destination pc. At destination side > i am able to receive application data(payload) indeed > correctly in FTP transfer but how to display those 2 > fields in kernel using printk? > I am really stuck at this point please help me. > Thanks in advance. > regards, > linux_lover > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html