X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fsocket.h;h=cdd17d2cab40a5c3c13f2b045f742d3f82b3e8cb;hb=fb8c4864a1d840edf0be5a84ca30bc1517af8796;hp=341c687522525ca2e048e6556ae8c5f005cbcb5b;hpb=410089191febd4884a3a5a513052b0ae12aa7ebf;p=palacios.releases.git diff --git a/palacios/include/geekos/socket.h b/palacios/include/geekos/socket.h index 341c687..cdd17d2 100644 --- a/palacios/include/geekos/socket.h +++ b/palacios/include/geekos/socket.h @@ -1,18 +1,19 @@ #ifndef GEEKOS_SOCKET_H #define GEEKOS_SOCKET_H -#include +#include #include +#include struct socket { int in_use; - struct gen_queue send_queue; - struct gen_queue recv_queue; + struct Thread_Queue recv_wait_queue; + struct ring_buffer *send_buf; + struct ring_buffer *recv_buf; struct uip_conn *con; }; - void init_network(); int connect(const uchar_t ip_addr[4], ushort_t port);