package tcpip
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-8.0.0.tbz
sha256=36b4c156be16702ba4c6d781a2da8ba1462b22370d15570e1116056cbf025233
sha512=56a1aab616349152beff7d0a504db15dc3d0010cb36322ce06b7abb43bd9d1a6ec0daa23fd6632fcc758c89737ba48046bb591d4a70021e273b80e716b55c44f
doc/tcpip.ipv4/Static_ipv4/Make/argument-4-A/index.html
Parameter Make.A
Disconnect from the ARP layer. While this might take some time to complete, it can never result in an error.
val pp_error : error Fmt.t
pp_error
is the pretty-printer for errors.
val pp : t Fmt.t
Prettyprint cache contents
val get_ips : t -> Ipaddr.V4.t list
get_ips arp
gets the bound IP address list in the arp
value.
val set_ips : t -> Ipaddr.V4.t list -> unit Lwt.t
set_ips arp
sets the bound IP address list, which will transmit a GARP packet also.
val remove_ip : t -> Ipaddr.V4.t -> unit Lwt.t
remove_ip arp ip
removes ip
to the bound IP address list in the arp
value, which will transmit a GARP packet for any remaining IPs in the bound IP address list after the removal.
val add_ip : t -> Ipaddr.V4.t -> unit Lwt.t
add_ip arp ip
adds ip
to the bound IP address list in the arp
value, which will transmit a GARP packet also.
val query : t -> Ipaddr.V4.t -> (Macaddr.t, error) result Lwt.t
query arp ip
queries the cache in arp
for an ARP entry corresponding to ip
, which may result in the sender sleeping waiting for a response.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>