]> err.no Git - linux-2.6/blobdiff - include/linux/tcp.h
[PATCH] Driver Core: remove unused exports
[linux-2.6] / include / linux / tcp.h
index a8b24eff5b5f6a22b415d86c32f8d2c19f11ee68..420a689c3fb45c5f088837424f0b3a705a640082 100644 (file)
@@ -18,6 +18,7 @@
 #define _LINUX_TCP_H
 
 #include <linux/types.h>
+#include <linux/dmaengine.h>
 #include <asm/byteorder.h>
 
 struct tcphdr {
@@ -232,6 +233,13 @@ struct tcp_sock {
                struct iovec            *iov;
                int                     memory;
                int                     len;
+#ifdef CONFIG_NET_DMA
+               /* members for async copy */
+               struct dma_chan         *dma_chan;
+               int                     wakeup;
+               struct dma_pinned_list  *pinned_list;
+               dma_cookie_t            dma_cookie;
+#endif
        } ucopy;
 
        __u32   snd_wl1;        /* Sequence for window update           */