add MAX_RETRANSMIT error code

pull/12/head
Kevin Hester 2021-02-07 10:05:41 +08:00
rodzic 1813b370ab
commit 106f4bfdeb
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -136,9 +136,13 @@ message RouteDiscovery {
repeated int32 route = 2;
}
/*
* A failure in delivering a message (usually used for routing control messages, but might be provided in addition to ack.fail_id to provide
* details on the type of failure).
*/
enum ErrorReason {
/** This message is not a failure */
/* This message is not a failure */
NONE = 0;
/*
@ -155,6 +159,9 @@ enum ErrorReason {
/* No suitable interface could be found for delivering this packet */
NO_INTERFACE = 4;
/* We reached the max retransmission count (typically for naive flood routing) */
MAX_RETRANSMIT = 5;
}
/*