Displaying 1 result from an estimated 1 matches for "network_op_vifgetinfo".
2003 Dec 09
2
modules and hypercall
...hen module is loaded
*
* Description: We try to get information concerning the vif #1
* in domain #0
*/
static int __init init_xvifgetinfo(void)
{
network_op_t netop;
long res;
printk(KERN_INFO "init_xvifgetinfo: Loaded\n");
netop.cmd = NETWORK_OP_VIFGETINFO;
netop.u.vif_getinfo.domain = 0;
netop.u.vif_getinfo.vif = 1;
res = HYPERVISOR_network_op(&netop);
if (res < 0) {
printk(KERN_INFO "init_xvifgetinfo: HYPERVISOR_network_op error
%ld\n", res)
;
return res;
}...