Sourcetype ipaddr = Ipaddr.V6.t Sourceval set_switched_off : t -> unit Lwt.t -> unit Sourceval ignore_canceled : exn -> unit Lwt.t Sourcetype error = [ | `Sendto_failed
] Sourceval connect : Ipaddr.V6.Prefix.t option -> t Lwt.t Sourceval disconnect : t -> unit Lwt.t Sourceval write :
?src:'a ->
?src_port:int ->
?ttl:'b ->
dst:Ipaddr.V6.t ->
dst_port:int ->
t ->
Cstruct.t ->
(unit, [> `Sendto_failed ]) result Lwt.t Sourceval unlisten : t -> port:int -> unit Sourceval listen :
t ->
port:int ->
(src:Ipaddr.V6.t ->
dst:Ipaddr.V6.t ->
src_port:int ->
Cstruct.t ->
unit Lwt.t) ->
unit