From eb3b85388944b4e15b6db2db99d136f538384c4e Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Sun, 17 Apr 2016 14:29:36 +0300 Subject: preparation for DPDK intergation (part 7) --- accel-dp/if_dp.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'accel-dp') diff --git a/accel-dp/if_dp.h b/accel-dp/if_dp.h index 5c209a79..72a9d724 100644 --- a/accel-dp/if_dp.h +++ b/accel-dp/if_dp.h @@ -4,6 +4,7 @@ #include enum { + MSG_PIPE, MSG_SOCKET, MSG_CONNECT, MSG_BIND, @@ -22,6 +23,11 @@ struct msg_hdr { uint8_t id; }; +struct msg_pipe { + uint8_t id; + uint8_t pid; +}; + struct msg_socket { uint8_t id; int domain; @@ -55,6 +61,7 @@ struct msg_recv { struct msg_send { uint8_t id; + uint8_t pid; size_t len; int flags; socklen_t addrlen; @@ -62,7 +69,8 @@ struct msg_send { struct msg_ioctl { uint8_t id; - unsigned long request; + uint8_t pid; + unsigned int request; char arg[0]; }; -- cgit v1.2.3