3fd4ce91293d72e4254d45ae3cb1cb022c758e98
[virt-mem.git] / lib / kernel_net_device.mli
1 exception ParseError of string * string * string;;
2 type t = { net_device_dev_addr : string; net_device_name : string };;
3 val struct_name : string;;
4 type kernel_version = string;;
5 val net_device_known : kernel_version -> bool;;
6 val net_device_size : kernel_version -> int;;
7 val net_device_of_bits : kernel_version -> Bitstring.bitstring -> t;;
8 val get_net_device :
9   kernel_version ->
10     ('a, 'b, [ | `HasMapping ]) Virt_mem_mmap.t -> Virt_mem_mmap.addr -> t;;