package tcpip

  1. Overview
  2. Docs
type t = unit
type error = Tcpip.Ip.error
type ipaddr = Ipaddr.t
type callback = src:ipaddr -> dst:ipaddr -> Cstruct.t -> unit Lwt.t
val pp_error : Tcpip.Ip.error Fmt.t
val pp_ipaddr : Stdlib.Format.formatter -> Ipaddr.t -> unit
val mtu : 'a -> dst:('b, 'c) Ipaddr.v4v6 -> int
val disconnect : 'a -> unit Lwt.t
val connect : 'a -> unit Lwt.t
val input : 'a -> tcp:'b -> udp:'c -> default:'d -> 'e -> unit Lwt.t
val write : 'a -> ?fragment:'b -> ?ttl:'c -> ?src:'d -> 'e -> 'f -> ?size:'g -> 'h -> 'i -> 'j Lwt.t
val get_ip : 'a -> ('b, Ipaddr.V6.t) Ipaddr.v4v6 list
val src : 'a -> dst:'b -> 'c
val pseudoheader : 'a -> ?src:'b -> 'c -> 'd -> 'e -> 'f
OCaml

Innovation. Community. Security.