type t = Ipaddr.V4.t optiontype +'a io = 'a Lwt.ttype error = Mirage_protocols.Ip.errortype ipaddr = Ipaddr.V4.ttype buffer = Cstruct.tval pp_error : Mirage_protocols.Ip.error Fmt.tval pp_ipaddr : Stdlib.Format.formatter -> Ipaddr.V4.t -> unitval disconnect : 'a -> unit Lwt.tval connect : 'a -> unit Lwt.tval input : 'a -> tcp:'b -> udp:'c -> default:'d -> 'e -> unit Lwt.tval write : 'a -> ?fragment:'b -> ?ttl:'c -> ?src:'d -> 'e -> 'f -> ?size:'g -> 'h -> 'i -> 'j Lwt.tval get_ip : 'a -> Ipaddr.V4.t list