module Pdu:sig..end
type t = {
|
prio : |
(* |
Priority from 0 - best effot - to 7 - highest
| *) |
|
cfi : |
(* |
Should be zero if you live after 1990
| *) |
|
id : |
(* |
The vlan trag itself
| *) |
|
proto : |
(* |
What's the payload
| *) |
|
payload : |
val make : ?prio:int ->
?cfi:bool -> int -> Arp.HwProto.t -> Tools.Payload.outer_t -> tVlan.Pdu.t for the given payload.val random : unit -> tVlan.Pdu.t.val pack : t -> Bitstring.bitstringVlan.Pdu.t into its bitstring raw representation, ready for
encapsulation into a Eth.Pdu.t (or anywhere you like).val unpack : string * int * int -> t optionbitstring into a Vlan.Pdu.t