X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_dev_mgr.h;h=8c80ffa274b3cd52a2987dff8fa9d967383900ed;hp=dd620930085b401c9c25c539d0ae83e93507bc95;hb=cfcc5717f659b3ed2954f41cf363d3bceae8dc84;hpb=123a1ba27ea09c8fa77a1b36ce625b43d7c48b14 diff --git a/palacios/include/palacios/vmm_dev_mgr.h b/palacios/include/palacios/vmm_dev_mgr.h index dd62093..8c80ffa 100644 --- a/palacios/include/palacios/vmm_dev_mgr.h +++ b/palacios/include/palacios/vmm_dev_mgr.h @@ -157,6 +157,8 @@ struct v3_dev_blk_ops { }; struct v3_dev_net_ops { + int (*send)(uint8_t * buf, uint32_t count, void * private_data, struct vm_device *dest_dev); + int (*receive)(uint8_t * buf, uint32_t count, void * private_data, struct vm_device *src_dev); }; @@ -186,6 +188,7 @@ int v3_dev_add_net_frontend(struct guest_info * info, v3_cfg_tree_t * cfg, void * private_data), void * priv_data); + int v3_dev_connect_net(struct guest_info * info, char * frontend_name, struct v3_dev_net_ops * ops,