diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 8f5d9e7f8734..4286d832166f 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -137,6 +137,8 @@ struct skb_shared_info { | |||
137 | unsigned int nr_frags; | 137 | unsigned int nr_frags; |
138 | unsigned short tso_size; | 138 | unsigned short tso_size; |
139 | unsigned short tso_segs; | 139 | unsigned short tso_segs; |
140 | unsigned short ufo_size; | ||
141 | unsigned int ip6_frag_id; | ||
140 | struct sk_buff *frag_list; | 142 | struct sk_buff *frag_list; |
141 | skb_frag_t frags[MAX_SKB_FRAGS]; | 143 | skb_frag_t frags[MAX_SKB_FRAGS]; |
142 | }; | 144 | }; |
@@ -171,7 +173,6 @@ enum { | |||
171 | * struct sk_buff - socket buffer | 173 | * struct sk_buff - socket buffer |
172 | * @next: Next buffer in list | 174 | * @next: Next buffer in list |
173 | * @prev: Previous buffer in list | 175 | * @prev: Previous buffer in list |
174 | * @list: List we are on | ||
175 | * @sk: Socket we are owned by | 176 | * @sk: Socket we are owned by |
176 | * @tstamp: Time we arrived | 177 | * @tstamp: Time we arrived |
177 | * @dev: Device we arrived on/are leaving by | 178 | * @dev: Device we arrived on/are leaving by |
@@ -190,6 +191,7 @@ enum { | |||
190 | * @cloned: Head may be cloned (check refcnt to be sure) | 191 | * @cloned: Head may be cloned (check refcnt to be sure) |
191 | * @nohdr: Payload reference only, must not modify header | 192 | * @nohdr: Payload reference only, must not modify header |
192 | * @pkt_type: Packet class | 193 | * @pkt_type: Packet class |
194 | * @fclone: skbuff clone status | ||
193 | * @ip_summed: Driver fed us an IP checksum | 195 | * @ip_summed: Driver fed us an IP checksum |
194 | * @priority: Packet queueing priority | 196 | * @priority: Packet queueing priority |
195 | * @users: User count - see {datagram,tcp}.c | 197 | * @users: User count - see {datagram,tcp}.c |
@@ -202,6 +204,7 @@ enum { | |||
202 | * @destructor: Destruct function | 204 | * @destructor: Destruct function |
203 | * @nfmark: Can be used for communication between hooks | 205 | * @nfmark: Can be used for communication between hooks |
204 | * @nfct: Associated connection, if any | 206 | * @nfct: Associated connection, if any |
207 | * @ipvs_property: skbuff is owned by ipvs | ||
205 | * @nfctinfo: Relationship of this skb to the connection | 208 | * @nfctinfo: Relationship of this skb to the connection |
206 | * @nf_bridge: Saved data about a bridged frame - see br_netfilter.c | 209 | * @nf_bridge: Saved data about a bridged frame - see br_netfilter.c |
207 | * @tc_index: Traffic control index | 210 | * @tc_index: Traffic control index |
@@ -340,6 +343,11 @@ extern void skb_over_panic(struct sk_buff *skb, int len, | |||
340 | extern void skb_under_panic(struct sk_buff *skb, int len, | 343 | extern void skb_under_panic(struct sk_buff *skb, int len, |
341 | void *here); | 344 | void *here); |
342 | 345 | ||
346 | extern int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb, | ||
347 | int getfrag(void *from, char *to, int offset, | ||
348 | int len,int odd, struct sk_buff *skb), | ||
349 | void *from, int length); | ||
350 | |||
343 | struct skb_seq_state | 351 | struct skb_seq_state |
344 | { | 352 | { |
345 | __u32 lower_offset; | 353 | __u32 lower_offset; |