X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_packet.h;h=f3438211f4bda465df0da9d51cb8b49d57129fcd;hb=5b1f618cf74dbcd7e490fa3fe4da5a4c53d79b5d;hp=78585c16b967382330ed8c80770a098328092307;hpb=13d8e5d4035b90bf1ab8b1da115c7d6310c76526;p=palacios.git diff --git a/palacios/include/palacios/vmm_packet.h b/palacios/include/palacios/vmm_packet.h index 78585c1..f343821 100644 --- a/palacios/include/palacios/vmm_packet.h +++ b/palacios/include/palacios/vmm_packet.h @@ -25,25 +25,16 @@ #ifdef __V3VEE__ -#define V3_send_Raw(pkt, size, data) ({ \ - extern struct v3_packet_hooks * packet_hooks; \ - int ret; \ - if ((packet_hooks) && (packet_hooks)->send) { \ - ret = (packet_hooks)->send(pkt,size,data); \ - } \ - ret; \ - }) +int V3_send_raw(const char * pkt, uint32_t len); #endif - struct v3_packet_hooks { - int (*send)(const char * pkt, const int size, void * private_data); + int (*send)(const char * pkt, unsigned int size, void * private_data); }; - extern void V3_Init_Packet(struct v3_packet_hooks * hooks); #endif