diff options
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index a8b24eff5b5f..420a689c3fb4 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
@@ -18,6 +18,7 @@ | |||
18 | #define _LINUX_TCP_H | 18 | #define _LINUX_TCP_H |
19 | 19 | ||
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
21 | #include <linux/dmaengine.h> | ||
21 | #include <asm/byteorder.h> | 22 | #include <asm/byteorder.h> |
22 | 23 | ||
23 | struct tcphdr { | 24 | struct tcphdr { |
@@ -232,6 +233,13 @@ struct tcp_sock { | |||
232 | struct iovec *iov; | 233 | struct iovec *iov; |
233 | int memory; | 234 | int memory; |
234 | int len; | 235 | int len; |
236 | #ifdef CONFIG_NET_DMA | ||
237 | /* members for async copy */ | ||
238 | struct dma_chan *dma_chan; | ||
239 | int wakeup; | ||
240 | struct dma_pinned_list *pinned_list; | ||
241 | dma_cookie_t dma_cookie; | ||
242 | #endif | ||
235 | } ucopy; | 243 | } ucopy; |
236 | 244 | ||
237 | __u32 snd_wl1; /* Sequence for window update */ | 245 | __u32 snd_wl1; /* Sequence for window update */ |