diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9b2957d203c9..910560e85561 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -205,7 +205,9 @@ typedef unsigned char *sk_buff_data_t; | |||
205 | * @len: Length of actual data | 205 | * @len: Length of actual data |
206 | * @data_len: Data length | 206 | * @data_len: Data length |
207 | * @mac_len: Length of link layer header | 207 | * @mac_len: Length of link layer header |
208 | * @csum: Checksum | 208 | * @csum: Checksum (must include start/offset pair) |
209 | * @csum_start: Offset from skb->head where checksumming should start | ||
210 | * @csum_offset: Offset from csum_start where checksum should be stored | ||
209 | * @local_df: allow local fragmentation | 211 | * @local_df: allow local fragmentation |
210 | * @cloned: Head may be cloned (check refcnt to be sure) | 212 | * @cloned: Head may be cloned (check refcnt to be sure) |
211 | * @nohdr: Payload reference only, must not modify header | 213 | * @nohdr: Payload reference only, must not modify header |
@@ -261,7 +263,10 @@ struct sk_buff { | |||
261 | mac_len; | 263 | mac_len; |
262 | union { | 264 | union { |
263 | __wsum csum; | 265 | __wsum csum; |
264 | __u32 csum_offset; | 266 | struct { |
267 | __u16 csum_start; | ||
268 | __u16 csum_offset; | ||
269 | }; | ||
265 | }; | 270 | }; |
266 | __u32 priority; | 271 | __u32 priority; |
267 | __u8 local_df:1, | 272 | __u8 local_df:1, |