module TRX:sig..end
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.
Create it with an Arp.HwProto.t, a prio and vlan id.
type t = {
|
prio : |
|
id : |
|
proto : |
|
mutable emit : |
|
mutable recv : |
val tx : t -> Tools.Payload.outer_t -> unittx t payload will tunnel the payload through this TRX.val rx : t -> string * int * int -> unitval make : int -> int -> Arp.HwProto.t -> Tools.trxVlan.TRX.t.
prio : the tunnel priority (0 = default = lowest, 7 = highest).id : then vlan tag.proto : the Arp.HwProto.t we want to transmit/receive.