package tcpip
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-v6.4.0.tbz
sha256=6e32bf540d291e9b7325cb3dd00df2f695533e009c46ea534d5518b9492c7348
sha512=2e9f9ca2eeac637599eb48e087b4632598539f1c76f9251758995c7eedeb723f8b951d557a2a53b85a58d50a04e68e15598581f88fca8997733e800fcfca422b
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)"
>