Source file udp_wire.ml

1
2
3
4
5
6
7
8
9
[%%cstruct
type udp = {
    source_port: uint16_t;
    dest_port: uint16_t;
    length: uint16_t;
    checksum: uint16_t;
  } [@@big_endian]
]