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.


added utility socket functions
[palacios.git] / palacios / include / palacios / vmm_socket.h
index deeb1a4..1e1d5f3 100644 (file)
@@ -41,7 +41,7 @@
            extern struct v3_socket_hooks * sock_hooks;         \
            int sock = 0;                                       \
            if ((sock_hooks) && (sock_hooks)->tcp_socket) {     \
-               sock = (sock_hooks)->tcp_socket(0,0,0);         \
+               sock = (sock_hooks)->tcp_socket(0,1,0);         \
            }                                                   \
            sock;                                               \
        })
 #define V3_SOCK_ZERO(p)    memset((void*)(p), 0, sizeof(*(p)))
 
 
+uint32_t v3_inet_addr(const char * ip_str);
+char * v3_inet_ntoa(uint32_t addr);
+uint16_t v3_htons(uint16_t s);
+uint16_t v3_ntohs(uint16_t s);
+uint32_t v3_htonl(uint32_t s);
+uint32_t v3_ntohl(uint32_t s);
+
+
+
 #endif