Network device various bindings for ocaml