diff options
Diffstat (limited to 'include/linux/skbuff.h')
| -rw-r--r-- | include/linux/skbuff.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 8c5d6001a923..e5fd66c5650b 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define HAVE_ALLOC_SKB /* For the drivers to know */ | 33 | #define HAVE_ALLOC_SKB /* For the drivers to know */ |
| 34 | #define HAVE_ALIGNABLE_SKB /* Ditto 8) */ | 34 | #define HAVE_ALIGNABLE_SKB /* Ditto 8) */ |
| 35 | #define SLAB_SKB /* Slabified skbuffs */ | ||
| 36 | 35 | ||
| 37 | #define CHECKSUM_NONE 0 | 36 | #define CHECKSUM_NONE 0 |
| 38 | #define CHECKSUM_HW 1 | 37 | #define CHECKSUM_HW 1 |
| @@ -134,7 +133,7 @@ struct skb_frag_struct { | |||
| 134 | */ | 133 | */ |
| 135 | struct skb_shared_info { | 134 | struct skb_shared_info { |
| 136 | atomic_t dataref; | 135 | atomic_t dataref; |
| 137 | unsigned int nr_frags; | 136 | unsigned short nr_frags; |
| 138 | unsigned short tso_size; | 137 | unsigned short tso_size; |
| 139 | unsigned short tso_segs; | 138 | unsigned short tso_segs; |
| 140 | unsigned short ufo_size; | 139 | unsigned short ufo_size; |
| @@ -252,7 +251,7 @@ struct sk_buff { | |||
| 252 | * want to keep them across layers you have to do a skb_clone() | 251 | * want to keep them across layers you have to do a skb_clone() |
| 253 | * first. This is owned by whoever has the skb queued ATM. | 252 | * first. This is owned by whoever has the skb queued ATM. |
| 254 | */ | 253 | */ |
| 255 | char cb[40]; | 254 | char cb[48]; |
| 256 | 255 | ||
| 257 | unsigned int len, | 256 | unsigned int len, |
| 258 | data_len, | 257 | data_len, |
| @@ -1239,6 +1238,8 @@ extern int skb_copy_and_csum_datagram_iovec(struct sk_buff *skb, | |||
| 1239 | int hlen, | 1238 | int hlen, |
| 1240 | struct iovec *iov); | 1239 | struct iovec *iov); |
| 1241 | extern void skb_free_datagram(struct sock *sk, struct sk_buff *skb); | 1240 | extern void skb_free_datagram(struct sock *sk, struct sk_buff *skb); |
| 1241 | extern void skb_kill_datagram(struct sock *sk, struct sk_buff *skb, | ||
| 1242 | unsigned int flags); | ||
| 1242 | extern unsigned int skb_checksum(const struct sk_buff *skb, int offset, | 1243 | extern unsigned int skb_checksum(const struct sk_buff *skb, int offset, |
| 1243 | int len, unsigned int csum); | 1244 | int len, unsigned int csum); |
| 1244 | extern int skb_copy_bits(const struct sk_buff *skb, int offset, | 1245 | extern int skb_copy_bits(const struct sk_buff *skb, int offset, |
