Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


*** empty log message ***
[palacios-OLD.git] / palacios / include / geekos / socket.h
index 0bf1b08..cdd17d2 100644 (file)
@@ -3,16 +3,17 @@
 
 #include <geekos/ring_buffer.h>
 #include <uip/uip.h>
+#include <geekos/kthread.h>
 
 struct socket {
   int in_use;
-  struct ring_buffer send_queue;
-  struct ring_buffer 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);