search for: vif_getinfo

Displaying 1 result from an estimated 1 matches for "vif_getinfo".

Did you mean: ti_getinfo
2003 Dec 09
2
modules and hypercall
...: 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; } return 0; } /** * cl...