summaryrefslogtreecommitdiff
path: root/include/net/tso.h
blob: b7be852bfe9d5719aa86df7d788224a64fbce775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _TSO_H
#define _TSO_H

#include <net/ip.h>

struct tso_t {
	int next_frag_idx;
	void *data;
	size_t size;
	u16 ip_id;
	bool ipv6;
	u32 tcp_seq;
};

int tso_count_descs(struct sk_buff *skb);
void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso,
		   int size, bool is_last);
void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size);
void tso_start(struct sk_buff *skb, struct tso_t *tso);

#endif	/* _TSO_H */
org>2017-02-03 22:19:15 +0100 committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-03 22:19:15 +0100 commit424414947da3dd5cb0d60e4f299f7c51e472ae77 (patch) treea4067480c4256c80ae8f8438a3e4bb88e32050bc /include/crypto/pkcs7.h parenta3683e0c1410c5c8136a7a93b0336ce88d3b893a (diff)parentd07830db1bdb254e4b50d366010b219286b8c937 (diff)
Merge tag 'usb-serial-4.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
Johan writes: USB-serial fixes for v4.10-rc7 One more device ID for pl2303. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/crypto/pkcs7.h')