package tcpip

  1. Overview
  2. Docs
OCaml TCP/IP networking stack, used in MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-9.0.0.tbz
sha256=59377ed359080d8da94aec91474a533bad955c12be79827bec853ccb496d659a
sha512=3f2ed5cbd5bdcd9a664e9ee0b7dbfc65b0a698e6c4bb77ee6a85a139b18cdee24415d76fb821466a9aff2e390318a8657b83871768c259557f25684ab6ccf83b

doc/tcpip.stack-socket/Ipv4_socket/index.html

Module Ipv4_socketSource

Sourcetype t = unit
Sourcetype ipaddr = Ipaddr.V4.t
Sourcetype callback = src:ipaddr -> dst:ipaddr -> Cstruct.t -> unit Lwt.t
Sourcetype prefix = Ipaddr.V4.Prefix.t
Sourceval pp_error : Tcpip.Ip.error Fmt.t
Sourceval pp_ipaddr : Format.formatter -> Ipaddr.V4.t -> unit
Sourceval pp_prefix : Format.formatter -> Ipaddr.V4.Prefix.t -> unit
Sourceval mtu : 'a -> dst:'b -> int
Sourceval disconnect : 'a -> unit Lwt.t
Sourceval connect : 'a -> unit Lwt.t
Sourceval input : 'a -> tcp:'b -> udp:'c -> default:'d -> 'e -> unit Lwt.t
Sourceval write : 'a -> ?fragment:'b -> ?ttl:'c -> ?src:'d -> 'e -> 'f -> ?size:'g -> 'h -> 'i -> 'j Lwt.t
Sourceval get_ip : 'a -> Ipaddr.V4.t list
Sourceval configured_ips : 'a -> Ipaddr.V4.Prefix.t list
Sourceval src : 'a -> dst:'b -> 'c
Sourceval pseudoheader : 'a -> ?src:'b -> 'c -> 'd -> 'e -> 'f
OCaml

Innovation. Community. Security.