Page
Library
Module
Module type
Parameter
Class
Class type
Source
Mirage_protocolsMirageOS signatures for network protocols
v3.1.0
module Ethernet : sig ... endmodule type ETHERNET = sig ... endEthernet (IEEE 802.3) is a widely used data link layer. The hardware is usually a twisted pair or fibre connection, on the software side it consists of an Ethernet header where source and destination mac addresses, and a type field, indicating the type of the next layer, are present. The Ethernet layer consists of network card mac address and MTU information, and provides decapsulation and encapsulation.
module Ip : sig ... endIP errors.
module type IP = sig ... endAn Internet Protocol (IP) stack reassembles IP fragments into packets, removes the IP header, and on the sending side fragments overlong payload and inserts IP headers.
module Arp : sig ... endArp error.
module type ARP = sig ... endmodule type IPV4 = sig ... endmodule type IPV6 = sig ... endNo Icmp module, as there are no exposed error polymorphic variants
module type ICMP = sig ... endmodule type ICMPV4 = sig ... endNo Udp module, as there are no exposed error polymorphic variants
module type UDP = sig ... endmodule Tcp : sig ... endTCP errors.
module Keepalive : sig ... endConfiguration for TCP keep-alives. Keep-alive messages are probes sent on an idle connection. If no traffic is received after a certain number of probes are sent, then the connection is assumed to have been lost.
module type TCP = sig ... endA TCP stack that can send and receive reliable streams using the TCP protocol.