Extracted kernel structures for device addressing in ifconfig.
[virt-mem.git] / lib / kernel_in_device.mli
1 type t = { in_device_ifa_list : Virt_mem_mmap.addr };;
2 val struct_name : string;;
3 type kernel_version = string;;
4 val in_device_known : kernel_version -> bool;;
5 val in_device_size : kernel_version -> int;;
6 val in_device_of_bits : kernel_version -> Bitstring.bitstring -> t;;
7 val get_in_device :
8   kernel_version ->
9     ('a, 'b, [ | `HasMapping ]) Virt_mem_mmap.t -> Virt_mem_mmap.addr -> t;;
10 val field_signature_of_in_device_ifa_list :
11   kernel_version -> Virt_mem_types.fieldsig;;