diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-04-17 14:29:36 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-04-17 14:29:36 +0300 |
commit | eb3b85388944b4e15b6db2db99d136f538384c4e (patch) | |
tree | 64a7fa8cc1d27059bf411198259939745e4bf34a /accel-dp | |
parent | b80e64a320b22c0e966ec1e42bda4929d5a748ec (diff) | |
download | accel-ppp-eb3b85388944b4e15b6db2db99d136f538384c4e.tar.gz accel-ppp-eb3b85388944b4e15b6db2db99d136f538384c4e.zip |
preparation for DPDK intergation (part 7)
Diffstat (limited to 'accel-dp')
-rw-r--r-- | accel-dp/if_dp.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 <stdint.h> 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]; }; |