From 27162d197de7232ce8179c57774b554000eaa35a Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Mon, 10 Mar 2025 16:54:25 -0400 Subject: [PATCH] add key request and response opcodes (not implemented yet); --- docs/TN.1000 - FNE Network.adoc | 8 ++++++++ src/common/network/RTPFNEHeader.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/docs/TN.1000 - FNE Network.adoc b/docs/TN.1000 - FNE Network.adoc index 03c63622..f6552601 100644 --- a/docs/TN.1000 - FNE Network.adoc +++ b/docs/TN.1000 - FNE Network.adoc @@ -142,6 +142,14 @@ The function parameter of the extension header defines the major operation opcod |$7B |This function is a Master -> Peer request, for In-Call control operations (usually to terminate a call in progress). +|Encryption Key Request +|$7C +|This function is a Peer -> Master request, for an encryption key. + +|Encryption Key Response +|$7D +|This function is a Master -> Peer response, for an encryption key. + |Ack |$7E |This function is a general acknowledgment. diff --git a/src/common/network/RTPFNEHeader.h b/src/common/network/RTPFNEHeader.h index 2e650027..d615ac01 100644 --- a/src/common/network/RTPFNEHeader.h +++ b/src/common/network/RTPFNEHeader.h @@ -64,6 +64,8 @@ namespace network GRANT_REQ = 0x7AU, //! Grant Request INCALL_CTRL = 0x7BU, //! In-Call Control + KEY_REQ = 0x7CU, //! Encryption Key Request + KEY_RSP = 0x7DU, //! Encryption Key Response ACK = 0x7EU, //! Packet Acknowledge NAK = 0x7FU, //! Packet Negative Acknowledge