package tcpip
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-8.0.2.tbz
sha256=d452e23f4e62c8b32c977f742e72c50fe673b82e23dc80b29d8263be764d2c72
sha512=9a4aeb5c7ec0392524d1d261026e5de047dec09054f2dca63d9743aed1d27ccfd655ae693554091b4ef7d9eabfeef218e71e8bf13ea8304ebedd8e8a7d4f484a
doc/tcpip.icmpv4/Icmpv4_packet/Marshal/index.html
Module Icmpv4_packet.Marshal
Source
into_cstruct t buf ~payload
generates an ICMPv4 header from t
and writes it into buf
at offset 0. payload
is used to calculate the ICMPv4 header checksum, but is not included in the generated buffer. into_cstruct
may fail if the buffer is of insufficient size.
make_cstruct t ~payload
allocates, fills, and returns a Cstruct.t with the header information from t
. The payload is used to calculate the ICMPv4 header checksum, but is not included in the generated buffer. make_cstruct
allocates 8 bytes for the ICMPv4 header.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>