| To: | linux781@xxxxxxxxx |
|---|---|
| Subject: | Re: Difference between skb_put() and skb_push() |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxx> |
| Date: | Thu, 31 Mar 2005 14:54:42 +0900 (JST) |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <72252ed05033021463a1f45b6@xxxxxxxxxxxxxx> |
| References: | <72252ed05033021463a1f45b6@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
In article <72252ed05033021463a1f45b6@xxxxxxxxxxxxxx> (at Thu, 31 Mar 2005 00:46:03 -0500), Akshay Kawale <linux781@xxxxxxxxx> says: > I was wondering about the difference between skb_put() and skb_push(). > Both appear to take in the same parameters and produce the same result > - that of lengthening the data area. > > If I wanted to add data before the current data area, which one should I use? > (e.g. my data is 5678... and I wanted to prepend 1234 to it). http://www.skbuff.net/skbbasic.html --yoshfuji |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Difference between skb_put() and skb_push(), Akshay Kawale |
|---|---|
| Next by Date: | [RFC/PATCH] network configs: disconnect network options from drivers, Randy.Dunlap |
| Previous by Thread: | Difference between skb_put() and skb_push(), Akshay Kawale |
| Next by Thread: | [RFC/PATCH] network configs: disconnect network options from drivers, Randy.Dunlap |
| Indexes: | [Date] [Thread] [Top] [All Lists] |