Using optional fields, navigate net_device list in its various incarnations.
[virt-mem.git] / lib / virt_mem.mli
index ab5ba47..6356981 100644 (file)
@@ -22,6 +22,7 @@ val register :
   ?needs_ksyms:bool ->
   ?needs_utsname:bool ->
   ?needs_tasks:bool ->
+  ?needs_net_devices:bool ->
   ?needs_everything:bool ->
   run:(bool -> Virt_mem_types.image -> Virt_mem_types.kdata -> unit) ->
   ?external_cmd:bool ->
@@ -41,7 +42,8 @@ val register :
       these structures in before calling [~run].
       - [~needs_ksyms:true] if kernel symbols are needed
       - [~needs_utsname:true] if kernel version (utsname) is needed
-      - [~needs_task_struct:true] if all task_struct (processes) are needed
+      - [~needs_tasks:true] if all task_struct (processes) are needed
+      - [~needs_net_devices:true] if all net devices are needed
       - [~needs_everything:true] if the tool requires as much as
       possible (but will not fail if we cannot determine everything)