tcpip
OCaml TCP/IP networking stack, used in MirageOS
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package tcpip
-
icmpv4_socket
-
tcp_socket_options
-
tcpip
-
tcpip_arpv4
-
tcpip_ethif
-
tcpip_icmpv4
-
tcpip_stack_direct
-
tcpip_stack_socket
-
tcpip_unix
-
tcpip_xen
-
tcpv4_socket
-
tcpv6_socket
-
udpv4_socket
-
udpv6_socket
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
module N : Mirage_net_lwt.S
Signature
include Mirage_protocols_lwt.ETHIF
The type for ethernet interface errors.
type buffer = Cstruct.t
The type for memory buffers.
type macaddr = Macaddr.t
The type for unique MAC identifiers.
include Mirage_device.S with type 'a io = 'a Lwt.t
type 'a io = 'a Lwt.t
The type for potentially blocking I/O operation
writev nf bufs
output a list of buffers to netfront nf
as a single packet.
val mtu : t -> int
mtu nf
is the Maximum Transmission Unit of the nf
i.e. the maximum size of the payload, not including the ethernet frame header.
val input :
arpv4:( buffer -> unit io ) ->
ipv4:( buffer -> unit io ) ->
ipv6:( buffer -> unit io ) ->
t ->
buffer ->
unit io
listen nf fn
is a blocking operation that calls fn buf
with every packet that is read from the interface. The function can be stopped by calling disconnect
in the device layer.
ON THIS PAGE
No table of contents