diff options
Diffstat (limited to 'accel-pppd/net/if_dpdk.h')
-rw-r--r-- | accel-pppd/net/if_dpdk.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/accel-pppd/net/if_dpdk.h b/accel-pppd/net/if_dpdk.h deleted file mode 100644 index 4981dc9..0000000 --- a/accel-pppd/net/if_dpdk.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef __IF_DPDK_H -#define __IF_DPDK_H - -#define MSG_SOCKET 1 -#define MSG_CONNECT 2 -#define MSG_BIND 3 -#define MSG_LISTEN 4 -#define MSG_RECV 5 -#define MSG_SEND 6 -#define MSG_PPP_OPEN 7 -#define MSG_PPP_IOCTL 8 -#define MSG_SOCK_IOCTL 9 -#define MSG_RESULT 10 - -struct msg_socket { - int id; - int domain; - int type; - int proto; -}; - -struct msg_connect { - int id; - socklen_t addrlen; - char addr[0]; -}; - -struct msg_bind { - int id; - socklen_t addrlen; - char addr[0]; -}; - -struct msg_listen { - int id; - int backlog; -}; - -struct msg_recv { - int id; - size_t len; - int flags; - socklen_t addrlen; -}; - -struct msg_send { - int id; - size_t len; - int flags; - socklen_t addrlen; -}; - -struct msg_ioctl { - int id; - unsigned long request; - char arg[0]; -}; - -struct msg_result { - int err; - ssize_t len; - socklen_t addrlen; - struct sockaddr_storage ss; -}; - -#endif - |