package tcpip
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-9.0.1.tbz
sha256=fac07ce986811cf5e3d71373d92b631cc30fbef548d6da21b0917212dcf90b03
sha512=01de13f560d58b1524c39619e4e4cb6ebbf069155eb43d0f264aa12b00e0cc8c39792719e3ca46585dd596b692b8e1e3f8c132f005ed9e2d77747c0c158bf4d9
doc/src/tcpip/ip.ml.html
Source file ip.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
type error = [ | `No_route of string (** can't send a message to that destination *) | `Would_fragment ] let pp_error ppf = function | `No_route s -> Fmt.pf ppf "no route to destination: %s" s | `Would_fragment -> Fmt.string ppf "would fragment" type proto = [ `TCP | `UDP | `ICMP ] let pp_proto ppf = function | `TCP -> Fmt.string ppf "TCP" | `UDP -> Fmt.string ppf "UDP" | `ICMP -> Fmt.string ppf "ICMP" module type S = sig type nonrec error = private [> error] val pp_error: error Fmt.t type ipaddr val pp_ipaddr : ipaddr Fmt.t type prefix val pp_prefix : prefix Fmt.t type t val disconnect : t -> unit Lwt.t type callback = src:ipaddr -> dst:ipaddr -> Cstruct.t -> unit Lwt.t val input: t -> tcp:callback -> udp:callback -> default:(proto:int -> callback) -> Cstruct.t -> unit Lwt.t val write: t -> ?fragment:bool -> ?ttl:int -> ?src:ipaddr -> ipaddr -> proto -> ?size:int -> (Cstruct.t -> int) -> Cstruct.t list -> (unit, error) result Lwt.t val pseudoheader : t -> ?src:ipaddr -> ipaddr -> proto -> int -> Cstruct.t val src: t -> dst:ipaddr -> ipaddr val get_ip: t -> ipaddr list [@@ocaml.deprecated "this function will be removed soon, use [configured_ips] instead."] val configured_ips: t -> prefix list val mtu: t -> dst:ipaddr -> int end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>