Page MenuHomePhabricator

[Tunnelbroker] Add message types for existing protobuf messages
ClosedPublic

Authored by jon on Apr 12 2023, 11:15 AM.
Tags
None
Referenced Files
F3298334: D7400.id25049.diff
Sun, Nov 17, 5:47 AM
F3298108: D7400.id25059.diff
Sun, Nov 17, 4:35 AM
F3297402: D7400.diff
Sun, Nov 17, 2:46 AM
Unknown Object (File)
Tue, Oct 29, 10:29 AM
Unknown Object (File)
Mon, Oct 28, 2:10 PM
Unknown Object (File)
Mon, Oct 28, 2:10 PM
Unknown Object (File)
Mon, Oct 28, 2:10 PM
Unknown Object (File)
Mon, Oct 28, 2:08 PM
Subscribers

Details

Summary

In the transition to a websocket based protocol, we need some way serialize
the messages which will come into tunnelbroker. This change just translates
the existing protobuf message structure into a rust datastructures.

Later diffs will deal with properly seralizing / deserializing the messages, and
likely changing the structure of the messages to be more ergonomic with websockets.

Depends on D7392

Test Plan
cd services/tunnelbroker
cargo build

Diff Detail

Repository
rCOMM Comm
Branch
jonringer/tunnelbroker-websocket (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage