type ipaddr = Ipaddr.V4.ttype flow = Lwt_unix.file_descrtype ip = Ipaddr.V4.t optiontype ipinput = unit Lwt.ttype t = {interface : Unix.inet_addr; |
listen_fds : (Unix.inet_addr * int, Lwt_unix.file_descr) Stdlib.Hashtbl.t; |
}val get_udpv4_listening_fd : t -> int -> Lwt_unix.file_descr Lwt.tval pp_error : Stdlib.Format.formatter -> [< `Sendto_failed ] -> unitval disconnect : 'a -> unit Lwt.tval id : t -> Ipaddr.V4.t optionval input : listeners:'a -> 'b -> 'c Lwt.tval write : ?src_port:int -> ?ttl:'a -> dst:Ipaddr.V4.t -> dst_port:int -> t -> Cstruct.t -> (unit, [> `Sendto_failed ]) Stdlib.result Lwt.t