LKML Archive on
help / color / mirror / Atom feed
From: "PV Juliet" <>
Subject: Change In sk_buff structure in 2.6.22 kernel
Date: Wed, 30 Jan 2008 10:49:49 +0530	[thread overview]
Message-ID: <> (raw)

Hi All,

The header fields in the sk_buff structure have been renamed and are
no longer unions.

Networking code and drivers are supposed to use skb->transport_header,
skb->network_header, and skb->skb_mac_header.
But when I am trying to access fields of TCP using the code
struct tcphdr *tcp = skb->transport_header;
tcp->   //accessing proper field
It is not accessing the value properly ...
Can anyone please help me ???

Thanks in advance

             reply	other threads:[~2008-01-30  5:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30  5:19 PV Juliet [this message]
2008-01-30  6:27 ` Stephen Hemminger
2008-01-31  0:41   ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: Change In sk_buff structure in 2.6.22 kernel' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).