package tcpip

  1. Overview
  2. Docs
type error = Udpv6.error
val pp_error : error Fmt.t
type ipaddr = Ipaddr.V6.t
type ipinput = direct_ipv6_input
type t = Udpv6.t
val disconnect : t -> unit Lwt.t
type callback = src:ipaddr -> dst:ipaddr -> src_port:int -> Cstruct.t -> unit Lwt.t
val input : listeners:(dst_port:int -> callback option) -> t -> ipinput
val write : ?src:ipaddr -> ?src_port:int -> ?ttl:int -> dst:ipaddr -> dst_port:int -> t -> Cstruct.t -> (unit, error) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.