Follower code now works
[virt-mem.git] / lib / virt_mem_types.mli
index 9792f03..58fadb5 100644 (file)
@@ -90,7 +90,11 @@ type task = {
 
 type net_device = {
   netdev_name : string;                        (** Device name. *)
-  netdev_dev_addr : string;            (** Interface network address. *)
+  netdev_flags : int64;
+  netdev_operstate : int64;
+  netdev_mtu : int64;
+  netdev_perm_addr : string;
+  netdev_addr_len : int64;
 }
   (** Internal version of the kernel [net_device] (network device struct). *)
 
@@ -126,12 +130,6 @@ exception ParseError of string * string * string
       The fields are: structure name, function which raised the error,
       error message. *)
 
-type fieldsig = {
-  field_available : bool; (** Field available in this kernel version? *)
-  field_offset : int;   (** Offset of field in this kernel version. *)
-}
-  (** Returned by [Kernel_*.field_signature_of_*] functions. *)
-
 (** {2 Functions to load kernel memory} *)
 
 type load_memory_error =