type +'a io = 'a Lwt.t
type ipaddr = Ipaddr.V6.t
type buffer = Cstruct.t
val disconnect : unit -> unit Lwt.t
val connect : unit -> unit Lwt.t
val input : 'a -> tcp:'b -> udp:'c -> default:'d -> 'e -> unit Lwt.t
val write : 'a -> 'b -> 'c -> 'd Lwt.t
val writev : 'a -> 'b -> 'c -> 'd Lwt.t
val get_ip : 'a -> Ipaddr.V6.t
val set_ip : 'a -> 'b -> 'c Lwt.t
val set_ip_gateways : 'a -> 'b -> 'c Lwt.t