module Pdu:sig
..end
type
t = {
|
src_port : |
|
dst_port : |
|
payload : |
Udp.Pdu.pack
, and filled in by Ip.Pdu.pack
,
since it's computed over some IP fields.val make : ?src_port:Udp.Port.t ->
?dst_port:Udp.Port.t -> Tools.Payload.outer_t -> t
val random : unit -> t
val pack : t -> Bitstring.bitstring
val unpack : string * int * int -> t option