aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authortadeusz.struk@intel.com <tadeusz.struk@intel.com>2015-03-19 12:31:25 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-23 16:41:36 -0400
commit0345f93138b2224e0d7ce91fcffdb3dd23f364d7 (patch)
tree7cd37a309382dfc7dd6b028c2b1a88a181692a1c /include/linux/socket.h
parentnetlink: Remove netlink_compare_arg.trailer (diff)
downloadlinux-dev-0345f93138b2224e0d7ce91fcffdb3dd23f364d7.tar.xz
linux-dev-0345f93138b2224e0d7ce91fcffdb3dd23f364d7.zip
net: socket: add support for async operations
Add support for async operations. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index fab4d0ddf4ed..c9852ef7e317 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -51,6 +51,7 @@ struct msghdr {
void *msg_control; /* ancillary data */
__kernel_size_t msg_controllen; /* ancillary data buffer length */
unsigned int msg_flags; /* flags on received message */
+ struct kiocb *msg_iocb; /* ptr to iocb for async requests */
};
struct user_msghdr {