unet-cli: strip initial newline in usage message
[project/unetd.git] / pex-msg.h
index b365aeb5bcb166bb5f947d227acef879a8affb12..3ca1984063b37e190103295b5e9b35ba1c4cc179 100644 (file)
--- a/pex-msg.h
+++ b/pex-msg.h
@@ -24,6 +24,7 @@ enum pex_opcode {
        PEX_MSG_UPDATE_RESPONSE_DATA,
        PEX_MSG_UPDATE_RESPONSE_NO_DATA,
        PEX_MSG_ENDPOINT_NOTIFY,
+       PEX_MSG_ENDPOINT_PORT_NOTIFY,
 };
 
 #define PEX_ID_LEN             8
@@ -76,6 +77,10 @@ struct pex_update_response_no_data {
        uint64_t cur_version;
 };
 
+struct pex_endpoint_port_notify {
+       uint16_t port;
+};
+
 struct pex_msg_update_send_ctx {
        const uint8_t *pubkey;
        const uint8_t *auth_key;