UDE

The wire protocol
Login

The wire protocol

Purpose: a narrative of the protocol, enough to write a client without reading lib/proto.h; the tables are in ude-protocol(7).

Template. This page is an outline. Each TODO heading lists what the section should cover; replace the notes with prose.

TODO: DATA and CONTROL

TODO: Registration

TODO: Management and monitors

'U' 'D' 'E' ver type flags length TLV: type, len, value ... TODO: the 8-byte control header and a TLV
boxht = 0.35
boxwid = 0.55
U: box "'U'"
D: box "'D'"
E: box "'E'"
V: box "ver"
T: box "type"
F: box "flags"
L: box "length" wid 1.1
TL: box "TLV: type, len, value ..." wid 4.4 with .nw at U.sw
text "TODO: the 8-byte control header and a TLV" at TL.s + (0, -0.3)
udedump monitor udeswitch capture hook -w file MONITOR MIRROR TODO: one capture hook, two sinks
M: box "udedump" "monitor" fit
S: box "udeswitch" fit at M + (2.6, 0)
H: box "capture hook" fit at S + (0, -1.1)
W: box "-w file" fit at H + (2.2, 0)
arrow from M.e to S.w "MONITOR" above
arrow from H.w to M.s "MIRROR" below
arrow from S.s to H.n
arrow from H.e to W.w
text "TODO: one capture hook, two sinks" at H + (0, -0.7)