From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: dccp@vger.kernel.org
Subject: Re: Backporting gerrit tree (from git) to 2.6.18. IT WAS:
Date: Sun, 19 Aug 2007 22:06:50 +0000 [thread overview]
Message-ID: <20070819220650.GA24792@ghostprotocols.net> (raw)
In-Reply-To: <5bc4c4570708180844g3618c9a0v1f6cb69222c9c7f8@mail.gmail.com>
Em Sun, Aug 19, 2007 at 09:38:13AM -0300, ツ Leandro Sales escreveu:
> Are these operations equivalent? Please, tell me where can I find docs about skb
>
> - skb->h.raw = skb->data;
>
> + skb_reset_transport_header(skb);
That is easy as I left all the old code in include/linux/skbuff.h. Just
look at what the operation does if NET_SKBUFF_DATA_USES_OFFSET is not
defined, that, for the above api is:
static inline void skb_reset_transport_header(struct sk_buff *skb)
{
skb->transport_header = skb->data;
}
skb->h.raw is the old name of skb->transport_header
skb->nh.raw is the old name of skb->network_header
skb->nac.raw is the old name of skb->mac_header
- Arnaldo
prev parent reply other threads:[~2007-08-19 22:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-18 15:44 Backporting gerrit tree (from git) to 2.6.18. IT WAS: "Backport" latest (git) DCCP code to 2.6.18
2007-08-18 16:04 ` Backporting gerrit tree (from git) to 2.6.18. IT WAS: "Backport" latest (git) DCCP code to 2.6.1
2007-08-18 18:20 ` Backporting gerrit tree (from git) to 2.6.18. IT WAS: Arnaldo Carvalho de Melo
2007-08-19 12:38 ` Backporting gerrit tree (from git) to 2.6.18. IT WAS: "Backport" latest (git) DCCP code to 2.6.1
2007-08-19 20:58 ` Ian McDonald
2007-08-19 22:06 ` Arnaldo Carvalho de Melo [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070819220650.GA24792@ghostprotocols.net \
--to=acme@ghostprotocols.net \
--cc=dccp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox