add 0x04 relay data

This commit is contained in:
c0repwn3r 2023-01-25 18:29:35 -05:00
parent fb05e6e956
commit 7c0a636f76
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,18 @@ pub mod initbound;
pub mod recvbound; pub mod recvbound;
pub mod relaybound; pub mod relaybound;
/*
TODO
[x] 0x01 Channel Wait
[x] 0x02 Channel Not Ready
[x] 0x03 Channel Ready
[x] 0x04 Relay Data
[ ] 0x05 Channel In Use
[ ] 0x06 Handshake Start
[ ] 0x07 Handshake Response
[ ] 0x08 Encrypted Data
*/
#[derive(Debug)] #[derive(Debug)]
pub enum PacketParseError { pub enum PacketParseError {
IncorrectPacketType, IncorrectPacketType,