tcpip

OCaml TCP/IP networking stack, used in MirageOS
Library tcpip_udpv4
Module Udp_wire
val sizeof_udp : int
val get_udp_source_port : Cstruct.t -> Cstruct.uint16
val set_udp_source_port : Cstruct.t -> Cstruct.uint16 -> unit
val get_udp_dest_port : Cstruct.t -> Cstruct.uint16
val set_udp_dest_port : Cstruct.t -> Cstruct.uint16 -> unit
val get_udp_length : Cstruct.t -> Cstruct.uint16
val set_udp_length : Cstruct.t -> Cstruct.uint16 -> unit
val get_udp_checksum : Cstruct.t -> Cstruct.uint16
val set_udp_checksum : Cstruct.t -> Cstruct.uint16 -> unit
val hexdump_udp_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_udp : Cstruct.t -> unit