sound: fix check for error condition of register_chrdev()
[linux/fpc-iii.git] / include / net / tso.h
blob47e5444f7d15bd971a337ad78960b094b771ec46
1 #ifndef _TSO_H
2 #define _TSO_H
4 #include <net/ip.h>
6 struct tso_t {
7 int next_frag_idx;
8 void *data;
9 size_t size;
10 u16 ip_id;
11 u32 tcp_seq;
14 int tso_count_descs(struct sk_buff *skb);
15 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso,
16 int size, bool is_last);
17 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size);
18 void tso_start(struct sk_buff *skb, struct tso_t *tso);
20 #endif /* _TSO_H */