package mirage-net-socket

  1. Overview
  2. Docs
type ipv4_src = Ipaddr.V4.t option * int
type ipv4_dst = Ipaddr.V4.t * int
val inet_addr_of_ipaddr : Ipaddr.V4.t -> Unix.inet_addr
val ipaddr_of_inet_addr : Unix.inet_addr -> Ipaddr.V4.t
type arp = {
  1. op : [ `Reply | `Request | `Unknown of int ];
  2. sha : Macaddr.t;
  3. spa : Ipaddr.V4.t;
  4. tha : Macaddr.t;
  5. tpa : Ipaddr.V4.t;
}
type peer_uid = int
exception Closed
module type FLOW = sig ... end
module type DATAGRAM = sig ... end
module type CHANNEL = sig ... end