aboutsummaryrefslogtreecommitdiffstats
path: root/xen-2.4.16/include/hypervisor-ifs/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen-2.4.16/include/hypervisor-ifs/network.h')
-rw-r--r--xen-2.4.16/include/hypervisor-ifs/network.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xen-2.4.16/include/hypervisor-ifs/network.h b/xen-2.4.16/include/hypervisor-ifs/network.h
index 6f528fcf63..28cb94618c 100644
--- a/xen-2.4.16/include/hypervisor-ifs/network.h
+++ b/xen-2.4.16/include/hypervisor-ifs/network.h
@@ -84,6 +84,12 @@ typedef struct net_rule_st
u16 action;
} net_rule_t;
+typedef struct vif_query_st
+{
+ unsigned int domain;
+ char *buf; // where to put the reply -- guest virtual address
+} vif_query_t;
+
/* Network trap operations and associated structure.
* This presently just handles rule insertion and deletion, but will
* evenually have code to add and remove interfaces.
@@ -92,6 +98,7 @@ typedef struct net_rule_st
#define NETWORK_OP_ADDRULE 0
#define NETWORK_OP_DELETERULE 1
#define NETWORK_OP_GETRULELIST 2
+#define NETWORK_OP_VIFQUERY 3
typedef struct network_op_st
{
@@ -99,6 +106,7 @@ typedef struct network_op_st
union
{
net_rule_t net_rule;
+ vif_query_t vif_query;
}
u;
} network_op_t;