Module Vlan

module Vlan: sig .. end
Ethernet 802.1q Virtual Lan. We decode/encode it for the purpose of manipulating pcap files, but it's currently unused in the network simulator.

For more informations see for instance Wikipedia.



802.1q frames


module Pdu: sig .. end
Pack/Unpack a 802.1q tunnel

Transceiver


module TRX: sig .. end
A Vlan TRX accepts raw packets (presumably from some Eth.TRX), unpack them and forward the payload to a callback; and it can be given some payload to tunnel and it will tag it and pass it presumably to an Eth.TRX.