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 ***
Jack Lange [Tue, 2 Sep 2008 21:05:24 +0000 (21:05 +0000)]
palacios/include/geekos/socket.h
palacios/src/geekos/socket.c

index a868851..7b919f4 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef GEEKOS_SOCKET_H
 #define GEEKOS_SOCKET_H
 
+#include <geekos/queue.h>
+
 
 struct socket {
   int in_use;
index 255afb3..322e2d3 100644 (file)
@@ -10,8 +10,8 @@ void init_network() {
 
   for (i = 0; i < MAX_SOCKS; i++) {
     sockets[i].in_use = 0;
-    init_queue(&(sockets[i].send_queue))
-    init_queue(&(sockets[i].recv_queue))
+    init_queue(&(sockets[i].send_queue));
+    init_queue(&(sockets[i].recv_queue));
   }
 
   // set up interrupt handler
@@ -51,5 +51,6 @@ int connect(const uint_t ip_addr) {
 
 
 
+  return sockfd;
 
 }