This commit is contained in:
Josh Deprez 2024-03-24 21:24:53 +11:00
parent 2b2325534b
commit ccfbfc31ba
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

32
main.go
View file

@ -215,7 +215,37 @@ func (p *peer) handle() {
// Close the connection
}
// TODO
// TODO: Make other requests
case *aurp.RIReqPacket:
// TODO: Respond with RI-Rsp
case *aurp.RIRspPacket:
// TODO: Repsond with RI-Ack
// TODO: Integrate info into route table
case *aurp.RIAckPacket:
// TODO: Continue sending next RI-Rsp (streamed)
// TODO: If SZI flag is set, send ZI-Rsp (transaction)
case *aurp.RIUpdPacket:
// TODO: Integrate info into route table
case *aurp.RDPacket:
// TODO: Remove router from tables
// TODO: Close connection
case *aurp.ZIReqPacket:
// TODO: Respond with ZI-Rsp
case *aurp.ZIRspPacket:
// TODO: Integrate info into zone table
case *aurp.TicklePacket:
// TODO: Respond with TickleAck
case *aurp.TickleAckPacket:
// TODO: Reset LHFT
}
}
}