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.


More fix on VNET code
[palacios.releases.git] / palacios / src / devices / nic_bridge.c
index 4ed1d50..eb5500b 100644 (file)
@@ -36,13 +36,13 @@ struct nic_bridge_state {
 };
 
 static int bridge_send(uint8_t * buf, uint32_t len, 
-                      void * private_data, struct vm_device *dev){
+                        void * private_data, struct vm_device *dev){
     //struct nic_bridge_state *bridge = (struct nic_bridge_state *)private_data;
 
 #ifdef CONFIG_DEBUG_NIC_BRIDGE
     {
        PrintDebug("NIC Bridge: send pkt size: %d\n", len);
-       v3_hexdump(buf, len, NULL, 0);
+       //v3_hexdump(buf, len, NULL, 0);
     }
 #endif
 
@@ -50,9 +50,9 @@ static int bridge_send(uint8_t * buf, uint32_t len,
 }
 
 
-static int packet_input(struct v3_vm_info * vm,
-                       struct v3_packet_event * evt, 
-                       void * private_data) {
+static int packet_input(struct v3_vm_info * vm, 
+                            struct v3_packet_event * evt, 
+                            void * private_data) {
     struct nic_bridge_state *bridge = (struct nic_bridge_state *)private_data;
 
     PrintDebug("NIC_BRIDGE: Incoming packet size: %d\n", evt->size);