提交 9462313d authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Rename .h files to .hpp

上级 61476d22
...@@ -19,7 +19,7 @@ Builds the production ready mediasoup worker binary at `worker/out/Release/`. Th ...@@ -19,7 +19,7 @@ Builds the production ready mediasoup worker binary at `worker/out/Release/`. Th
Builds a more verbose and non optimized mediasoup worker binary at `worker/out/Debug/` with some C flags enabled (such as `-O0`) and some macros defined (such as `DEBUG` and `MS_LOG_FILE_LINE`). Builds a more verbose and non optimized mediasoup worker binary at `worker/out/Debug/` with some C flags enabled (such as `-O0`) and some macros defined (such as `DEBUG` and `MS_LOG_FILE_LINE`).
Check the meaning of these macros in the [Logger.h](worker/include/Logger.h) header file. Check the meaning of these macros in the [Logger.hpp](worker/include/Logger.hpp) header file.
In order to instruct the **mediasoup** Node.js module to use the `Debug` mediasoup worker binary, an environment variable must be set before running the Node.js application: In order to instruct the **mediasoup** Node.js module to use the `Debug` mediasoup worker binary, an environment variable must be set before running the Node.js application:
......
#ifndef MS_CHANNEL_NOTIFIER_H #ifndef MS_CHANNEL_NOTIFIER_HPP
#define MS_CHANNEL_NOTIFIER_H #define MS_CHANNEL_NOTIFIER_HPP
#include "common.h" #include "common.hpp"
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include <string> #include <string>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_CHANNEL_REQUEST_H #ifndef MS_CHANNEL_REQUEST_HPP
#define MS_CHANNEL_REQUEST_H #define MS_CHANNEL_REQUEST_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_CHANNEL_UNIX_STREAM_SOCKET_H #ifndef MS_CHANNEL_UNIX_STREAM_SOCKET_HPP
#define MS_CHANNEL_UNIX_STREAM_SOCKET_H #define MS_CHANNEL_UNIX_STREAM_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include "handles/UnixStreamSocket.h" #include "handles/UnixStreamSocket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include <json/json.h> #include <json/json.h>
namespace Channel namespace Channel
......
#ifndef MS_DEP_LIBSRTP_H #ifndef MS_DEP_LIBSRTP_HPP
#define MS_DEP_LIBSRTP_H #define MS_DEP_LIBSRTP_HPP
#include <vector> #include <vector>
#include <srtp.h> #include <srtp.h>
......
#ifndef MS_DEP_LIBUV_H #ifndef MS_DEP_LIBUV_HPP
#define MS_DEP_LIBUV_H #define MS_DEP_LIBUV_HPP
#include "common.h" #include "common.hpp"
#include <uv.h> #include <uv.h>
class DepLibUV class DepLibUV
......
#ifndef MS_DEP_OPENSSL_H #ifndef MS_DEP_OPENSSL_HPP
#define MS_DEP_OPENSSL_H #define MS_DEP_OPENSSL_HPP
#include "common.h" #include "common.hpp"
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include <uv.h> #include <uv.h>
......
#ifndef MS_LOG_LEVEL_H #ifndef MS_LOG_LEVEL_HPP
#define MS_LOG_LEVEL_H #define MS_LOG_LEVEL_HPP
#include "common.h" #include "common.hpp"
enum class LogLevel : uint8_t enum class LogLevel : uint8_t
{ {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Logger facility. * Logger facility.
* *
* This include file defines logging macros for source files (.cpp). Each * This include file defines logging macros for source files (.cpp). Each
* source file including Logger.h MUST define its own MS_CLASS macro. Include * source file including Logger.hpp MUST define its own MS_CLASS macro. Include
* files (.h) MUST NOT include Logger.h. * files (.h) MUST NOT include Logger.hpp.
* *
* All the logging macros use the same format as printf(). The XXX_STD version * All the logging macros use the same format as printf(). The XXX_STD version
* of a macro logs to stdoud/stderr instead of using the Channel instance. * of a macro logs to stdoud/stderr instead of using the Channel instance.
...@@ -53,13 +53,12 @@ ...@@ -53,13 +53,12 @@
* If the condition is not satisfied, it calls MS_ABORT(). * If the condition is not satisfied, it calls MS_ABORT().
*/ */
#ifndef MS_LOGGER_H #ifndef MS_LOGGER_HPP
#define MS_LOGGER_H #define MS_LOGGER_HPP
#include "LogLevel.h" #include "LogLevel.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "handles/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "Channel/UnixStreamSocket.h"
#include <string> #include <string>
#include <cstdio> // std::snprintf(), std::fprintf(), stdout, stderr #include <cstdio> // std::snprintf(), std::fprintf(), stdout, stderr
#include <cstring> #include <cstring>
......
#ifndef MS_WORKER_H #ifndef MS_LOOP_HPP
#define MS_WORKER_H #define MS_LOOP_HPP
#include "common.h" #include "common.hpp"
#include "handles/SignalsHandler.h" #include "handles/SignalsHandler.hpp"
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include "RTC/Room.h" #include "RTC/Room.hpp"
#include <unordered_map> #include <unordered_map>
class Loop : class Loop :
......
#ifndef MS_MEDIASOUP_ERROR_H #ifndef MS_MEDIASOUP_ERROR_HPP
#define MS_MEDIASOUP_ERROR_H #define MS_MEDIASOUP_ERROR_HPP
#include "Logger.h" #include "Logger.hpp"
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include <cstdio> // std::snprintf #include <cstdio> // std::snprintf
......
#ifndef MS_RTC_DTLS_TRANSPORT_H #ifndef MS_RTC_DTLS_TRANSPORT_HPP
#define MS_RTC_DTLS_TRANSPORT_H #define MS_RTC_DTLS_TRANSPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/SrtpSession.h" #include "RTC/SrtpSession.hpp"
#include "handles/Timer.h" #include "handles/Timer.hpp"
#include <string> #include <string>
#include <map> #include <map>
#include <vector> #include <vector>
......
#ifndef MS_RTC_ICE_CANDIDATE_H #ifndef MS_RTC_ICE_CANDIDATE_HPP
#define MS_RTC_ICE_CANDIDATE_H #define MS_RTC_ICE_CANDIDATE_HPP
#include "common.h" #include "common.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpServer.h" #include "RTC/TcpServer.hpp"
#include <string> #include <string>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_Ice_SERVER_H #ifndef MS_RTC_ICE_SERVER_HPP
#define MS_RTC_Ice_SERVER_H #define MS_RTC_ICE_SERVER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/StunMessage.h" #include "RTC/StunMessage.hpp"
#include "RTC/TransportTuple.h" #include "RTC/TransportTuple.hpp"
#include <string> #include <string>
#include <list> #include <list>
......
#ifndef MS_RTC_PARAMETERS_H #ifndef MS_RTC_PARAMETERS_HPP
#define MS_RTC_PARAMETERS_H #define MS_RTC_PARAMETERS_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
......
#ifndef MS_RTC_PEER_H #ifndef MS_RTC_PEER_HPP
#define MS_RTC_PEER_H #define MS_RTC_PEER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/Transport.h" #include "RTC/Transport.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpSender.h" #include "RTC/RtpSender.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include "handles/Timer.h" #include "handles/Timer.hpp"
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
......
#ifndef MS_RTC_RTCP_BYE_H #ifndef MS_RTC_RTCP_BYE_HPP
#define MS_RTC_RTCP_BYE_H #define MS_RTC_RTCP_BYE_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include <vector> #include <vector>
#include <string> #include <string>
......
#ifndef MS_RTC_RTCP_COMPOUND_PACKET_H #ifndef MS_RTC_RTCP_COMPOUND_PACKET_HPP
#define MS_RTC_RTCP_COMPOUND_PACKET_H #define MS_RTC_RTCP_COMPOUND_PACKET_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_FEEDBACK_H #ifndef MS_RTC_RTCP_FEEDBACK_HPP
#define MS_RTC_RTCP_FEEDBACK_H #define MS_RTC_RTCP_FEEDBACK_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/FeedbackItem.h" #include "RTC/RTCP/FeedbackItem.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_ITEM_H #ifndef MS_RTC_RTCP_FEEDBACK_ITEM_HPP
#define MS_RTC_RTCP_FEEDBACK_ITEM_H #define MS_RTC_RTCP_FEEDBACK_ITEM_HPP
#include "common.h" #include "common.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_PS_H #ifndef MS_RTC_RTCP_FEEDBACK_PS_HPP
#define MS_RTC_RTCP_FEEDBACK_PS_H #define MS_RTC_RTCP_FEEDBACK_PS_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_FEEDBACK_AFB_H #ifndef MS_RTC_RTCP_FEEDBACK_AFB_HPP
#define MS_RTC_RTCP_FEEDBACK_AFB_H #define MS_RTC_RTCP_FEEDBACK_AFB_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_FIR_H #ifndef MS_RTC_RTCP_FEEDBACK_FIR_HPP
#define MS_RTC_RTCP_FEEDBACK_FIR_H #define MS_RTC_RTCP_FEEDBACK_FIR_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 5104 /* RFC 5104
* Full Intra Request (FIR) * Full Intra Request (FIR)
......
#ifndef MS_RTC_RTCP_FEEDBACK_PSLEI_H #ifndef MS_RTC_RTCP_FEEDBACK_PSLEI_HPP
#define MS_RTC_RTCP_FEEDBACK_PSLEI_H #define MS_RTC_RTCP_FEEDBACK_PSLEI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 6642 /* RFC 6642
* Payload-Specific Third-Party Loss Early Indication (PSLEI) * Payload-Specific Third-Party Loss Early Indication (PSLEI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_PLI_H #ifndef MS_RTC_RTCP_FEEDBACK_PLI_HPP
#define MS_RTC_RTCP_FEEDBACK_PLI_H #define MS_RTC_RTCP_FEEDBACK_PLI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_RPSI_H #ifndef MS_RTC_RTCP_FEEDBACK_RPSI_HPP
#define MS_RTC_RTCP_FEEDBACK_RPSI_H #define MS_RTC_RTCP_FEEDBACK_RPSI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 4585 /* RFC 4585
* Reference Picture Selection Indication (RPSI) * Reference Picture Selection Indication (RPSI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_SLI_H #ifndef MS_RTC_RTCP_FEEDBACK_SLI_HPP
#define MS_RTC_RTCP_FEEDBACK_SLI_H #define MS_RTC_RTCP_FEEDBACK_SLI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 4585 /* RFC 4585
* Slice Loss Indication (SLI) * Slice Loss Indication (SLI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_TST_H #ifndef MS_RTC_RTCP_FEEDBACK_TST_HPP
#define MS_RTC_RTCP_FEEDBACK_TST_H #define MS_RTC_RTCP_FEEDBACK_TST_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 5104 /* RFC 5104
* Temporal-Spatial Trade-off Request (TSTR) * Temporal-Spatial Trade-off Request (TSTR)
......
#ifndef MS_RTC_RTCP_FEEDBACK_VBCM_H #ifndef MS_RTC_RTCP_FEEDBACK_VBCM_HPP
#define MS_RTC_RTCP_FEEDBACK_VBCM_H #define MS_RTC_RTCP_FEEDBACK_VBCM_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 5104 /* RFC 5104
* H.271 Video Back Channel Message (VBCM) * H.271 Video Back Channel Message (VBCM)
......
#ifndef MS_RTC_RTCP_FEEDBACK_RTP_H #ifndef MS_RTC_RTCP_FEEDBACK_RTP_HPP
#define MS_RTC_RTCP_FEEDBACK_RTP_H #define MS_RTC_RTCP_FEEDBACK_RTP_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_FEEDBACK_ECN_H #ifndef MS_RTC_RTCP_FEEDBACK_ECN_HPP
#define MS_RTC_RTCP_FEEDBACK_ECN_H #define MS_RTC_RTCP_FEEDBACK_ECN_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 6679 /* RFC 6679
* Explicit Congestion Notification (ECN) for RTP over UDP * Explicit Congestion Notification (ECN) for RTP over UDP
......
#ifndef MS_RTC_RTCP_FEEDBACK_NACK_H #ifndef MS_RTC_RTCP_FEEDBACK_NACK_HPP
#define MS_RTC_RTCP_FEEDBACK_NACK_H #define MS_RTC_RTCP_FEEDBACK_NACK_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 4585 /* RFC 4585
* Generic NACK message (NACK) * Generic NACK message (NACK)
......
#ifndef MS_RTC_RTCP_FEEDBACK_SR_REQ_H #ifndef MS_RTC_RTCP_FEEDBACK_SR_REQ_HPP
#define MS_RTC_RTCP_FEEDBACK_SR_REQ_H #define MS_RTC_RTCP_FEEDBACK_SR_REQ_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_TLLEI_H #ifndef MS_RTC_RTCP_FEEDBACK_TLLEI_HPP
#define MS_RTC_RTCP_FEEDBACK_TLLEI_H #define MS_RTC_RTCP_FEEDBACK_TLLEI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 4585 /* RFC 4585
* Transport-Layer Third-Party Loss Early Indication (TLLEI) * Transport-Layer Third-Party Loss Early Indication (TLLEI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_TMMB_H #ifndef MS_RTC_RTCP_FEEDBACK_TMMB_HPP
#define MS_RTC_RTCP_FEEDBACK_TMMB_H #define MS_RTC_RTCP_FEEDBACK_TMMB_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 5104 /* RFC 5104
* Temporary Maximum Media Stream Bit Rate Request (TMMBR) * Temporary Maximum Media Stream Bit Rate Request (TMMBR)
......
#ifndef MS_RTC_RTCP_PACKET_H #ifndef MS_RTC_RTCP_PACKET_HPP
#define MS_RTC_RTCP_PACKET_H #define MS_RTC_RTCP_PACKET_HPP
#include "common.h" #include "common.hpp"
#include <map> #include <map>
#include <string> #include <string>
......
#ifndef MS_RTC_RTCP_RECEIVER_REPORT_H #ifndef MS_RTC_RTCP_RECEIVER_REPORT_HPP
#define MS_RTC_RTCP_RECEIVER_REPORT_H #define MS_RTC_RTCP_RECEIVER_REPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "Utils.h" #include "Utils.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_SDES_H #ifndef MS_RTC_RTCP_SDES_HPP
#define MS_RTC_RTCP_SDES_H #define MS_RTC_RTCP_SDES_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include <vector> #include <vector>
#include <map> #include <map>
#include <string> #include <string>
......
#ifndef MS_RTC_RTCP_SENDER_REPORT_H #ifndef MS_RTC_RTCP_SENDER_REPORT_HPP
#define MS_RTC_RTCP_SENDER_REPORT_H #define MS_RTC_RTCP_SENDER_REPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_ROOM_H #ifndef MS_RTC_ROOM_HPP
#define MS_RTC_ROOM_H #define MS_RTC_ROOM_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/Peer.h" #include "RTC/Peer.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpSender.h" #include "RTC/RtpSender.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <unordered_map> #include <unordered_map>
#include <unordered_set> #include <unordered_set>
#include <vector> #include <vector>
......
#ifndef MS_RTC_RTP_DATA_COUNTER_H #ifndef MS_RTC_RTP_DATA_COUNTER_HPP
#define MS_RTC_RTP_DATA_COUNTER_H #define MS_RTC_RTP_DATA_COUNTER_HPP
#include "common.h" #include "common.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_RTP_DICTIONARIES_H #ifndef MS_RTC_RTP_DICTIONARIES_HPP
#define MS_RTC_RTP_DICTIONARIES_H #define MS_RTC_RTP_DICTIONARIES_HPP
#include "common.h" #include "common.hpp"
#include "RTC/Parameters.h" #include "RTC/Parameters.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
......
#ifndef MS_RTC_LISTENER_H #ifndef MS_RTC_LISTENER_HPP
#define MS_RTC_LISTENER_H #define MS_RTC_LISTENER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
......
#ifndef MS_RTC_RTP_PACKET_H #ifndef MS_RTC_RTP_PACKET_HPP
#define MS_RTC_RTP_PACKET_H #define MS_RTC_RTP_PACKET_HPP
#include "common.h" #include "common.hpp"
#include <map> #include <map>
namespace RTC namespace RTC
......
#ifndef MS_RTC_RTP_RECEIVER_H #ifndef MS_RTC_RTP_RECEIVER_HPP
#define MS_RTC_RTP_RECEIVER_H #define MS_RTC_RTP_RECEIVER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RtpStreamRecv.h" #include "RTC/RtpStreamRecv.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <string> #include <string>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_RTP_SENDER_H #ifndef MS_RTC_RTP_SENDER_HPP
#define MS_RTC_RTP_SENDER_H #define MS_RTC_RTP_SENDER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/Transport.h" #include "RTC/Transport.hpp"
#include "RTC/RtpStreamSend.h" #include "RTC/RtpStreamSend.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RtpDataCounter.h" #include "RTC/RtpDataCounter.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <unordered_set> #include <unordered_set>
#include <vector> #include <vector>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_RTP_STREAM_H #ifndef MS_RTC_RTP_STREAM_HPP
#define MS_RTC_RTP_STREAM_H #define MS_RTC_RTP_STREAM_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_RTP_STREAM_RECV_H #ifndef MS_RTC_RTP_STREAM_RECV_HPP
#define MS_RTC_RTP_STREAM_RECV_H #define MS_RTC_RTP_STREAM_RECV_HPP
#include "RTC/RtpStream.h" #include "RTC/RtpStream.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_RTP_STREAM_SEND_H #ifndef MS_RTC_RTP_STREAM_SEND_HPP
#define MS_RTC_RTP_STREAM_SEND_H #define MS_RTC_RTP_STREAM_SEND_HPP
#include "RTC/RtpStream.h" #include "RTC/RtpStream.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include <vector> #include <vector>
#include <list> #include <list>
......
#ifndef MS_RTC_SRTP_SESSION_H #ifndef MS_RTC_SRTP_SESSION_HPP
#define MS_RTC_SRTP_SESSION_H #define MS_RTC_SRTP_SESSION_HPP
#include "common.h" #include "common.hpp"
#include <srtp.h> #include <srtp.h>
namespace RTC namespace RTC
......
#ifndef MS_RTC_STUN_MESSAGE_H #ifndef MS_RTC_STUN_MESSAGE_HPP
#define MS_RTC_STUN_MESSAGE_H #define MS_RTC_STUN_MESSAGE_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
namespace RTC namespace RTC
......
#ifndef MS_RTC_TCP_CONNECTION_H #ifndef MS_RTC_TCP_CONNECTION_HPP
#define MS_RTC_TCP_CONNECTION_H #define MS_RTC_TCP_CONNECTION_HPP
#include "common.h" #include "common.hpp"
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_TCP_SERVER_H #ifndef MS_RTC_TCP_SERVER_HPP
#define MS_RTC_TCP_SERVER_H #define MS_RTC_TCP_SERVER_HPP
#include "common.h" #include "common.hpp"
#include "handles/TcpServer.h" #include "handles/TcpServer.hpp"
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include <unordered_map> #include <unordered_map>
#include <uv.h> #include <uv.h>
......
#ifndef MS_RTC_TRANSPORT_H #ifndef MS_RTC_TRANSPORT_HPP
#define MS_RTC_TRANSPORT_H #define MS_RTC_TRANSPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpServer.h" #include "RTC/TcpServer.hpp"
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include "RTC/IceCandidate.h" #include "RTC/IceCandidate.hpp"
#include "RTC/IceServer.h" #include "RTC/IceServer.hpp"
#include "RTC/StunMessage.h" #include "RTC/StunMessage.hpp"
#include "RTC/TransportTuple.h" #include "RTC/TransportTuple.hpp"
#include "RTC/DtlsTransport.h" #include "RTC/DtlsTransport.hpp"
#include "RTC/SrtpSession.h" #include "RTC/SrtpSession.hpp"
#include "RTC/RtpListener.h" #include "RTC/RtpListener.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_TRANSPORT_TUPLE_H #ifndef MS_RTC_TRANSPORT_TUPLE_HPP
#define MS_RTC_TRANSPORT_TUPLE_H #define MS_RTC_TRANSPORT_TUPLE_HPP
#include "common.h" #include "common.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include "Utils.h" #include "Utils.hpp"
#include <json/json.h> #include <json/json.h>
namespace RTC namespace RTC
......
#ifndef MS_RTC_UDP_SOCKET_H #ifndef MS_RTC_UDP_SOCKET_HPP
#define MS_RTC_UDP_SOCKET_H #define MS_RTC_UDP_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include "handles/UdpSocket.h" #include "handles/UdpSocket.hpp"
#include <unordered_map> #include <unordered_map>
#include <uv.h> #include <uv.h>
......
#ifndef MS_SETTINGS_H #ifndef MS_SETTINGS_HPP
#define MS_SETTINGS_H #define MS_SETTINGS_HPP
#include "common.h" #include "common.hpp"
#include "LogLevel.h" #include "LogLevel.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>
......
#ifndef MS_UTILS_H #ifndef MS_UTILS_HPP
#define MS_UTILS_H #define MS_UTILS_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <cstring> // std::memcmp(), std::memcpy() #include <cstring> // std::memcmp(), std::memcpy()
#include <openssl/hmac.h> #include <openssl/hmac.h>
......
#ifndef MS_COMMON_H #ifndef MS_COMMON_HPP
#define MS_COMMON_H #define MS_COMMON_HPP
#include <memory> // std::addressof() #include <memory> // std::addressof()
#include <algorithm> // std::transform(), std::find() #include <algorithm> // std::transform(), std::find()
......
#ifndef MS_SIGNALS_HANDLER_H #ifndef MS_SIGNALS_HANDLER_HPP
#define MS_SIGNALS_HANDLER_H #define MS_SIGNALS_HANDLER_HPP
#include <vector> #include <vector>
#include <string> #include <string>
......
#ifndef MS_TCP_CONNECTION_H #ifndef MS_TCP_CONNECTION_HPP
#define MS_TCP_CONNECTION_H #define MS_TCP_CONNECTION_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <uv.h> #include <uv.h>
......
#ifndef MS_TCP_SERVER_H #ifndef MS_TCP_SERVER_HPP
#define MS_TCP_SERVER_H #define MS_TCP_SERVER_HPP
#include "common.h" #include "common.hpp"
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
#include <string> #include <string>
#include <unordered_set> #include <unordered_set>
#include <uv.h> #include <uv.h>
......
#ifndef MS_TIMER_H #ifndef MS_TIMER_HPP
#define MS_TIMER_H #define MS_TIMER_HPP
#include "common.h" #include "common.hpp"
#include <uv.h> #include <uv.h>
class Timer class Timer
......
#ifndef MS_UDP_SOCKET_H #ifndef MS_UDP_SOCKET_HPP
#define MS_UDP_SOCKET_H #define MS_UDP_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <uv.h> #include <uv.h>
......
#ifndef MS_UNIX_STREAM_SOCKET_H #ifndef MS_UNIX_STREAM_SOCKET_HPP
#define MS_UNIX_STREAM_SOCKET_H #define MS_UNIX_STREAM_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <uv.h> #include <uv.h>
......
...@@ -86,70 +86,70 @@ ...@@ -86,70 +86,70 @@
'src/handles/UdpSocket.cpp', 'src/handles/UdpSocket.cpp',
'src/handles/UnixStreamSocket.cpp', 'src/handles/UnixStreamSocket.cpp',
# C++ include files # C++ include files
'include/DepLibSRTP.h', 'include/DepLibSRTP.hpp',
'include/DepLibUV.h', 'include/DepLibUV.hpp',
'include/DepOpenSSL.h', 'include/DepOpenSSL.hpp',
'include/LogLevel.h', 'include/LogLevel.hpp',
'include/Logger.h', 'include/Logger.hpp',
'include/Loop.h', 'include/Loop.hpp',
'include/MediaSoupError.h', 'include/MediaSoupError.hpp',
'include/Settings.h', 'include/Settings.hpp',
'include/Utils.h', 'include/Utils.hpp',
'include/common.h', 'include/common.hpp',
'include/Channel/Notifier.h', 'include/Channel/Notifier.hpp',
'include/Channel/Request.h', 'include/Channel/Request.hpp',
'include/Channel/UnixStreamSocket.h', 'include/Channel/UnixStreamSocket.hpp',
'include/RTC/DtlsTransport.h', 'include/RTC/DtlsTransport.hpp',
'include/RTC/IceCandidate.h', 'include/RTC/IceCandidate.hpp',
'include/RTC/IceServer.h', 'include/RTC/IceServer.hpp',
'include/RTC/Parameters.h', 'include/RTC/Parameters.hpp',
'include/RTC/Peer.h', 'include/RTC/Peer.hpp',
'include/RTC/Room.h', 'include/RTC/Room.hpp',
'include/RTC/RtpDictionaries.h', 'include/RTC/RtpDictionaries.hpp',
'include/RTC/RtpListener.h', 'include/RTC/RtpListener.hpp',
'include/RTC/RtpPacket.h', 'include/RTC/RtpPacket.hpp',
'include/RTC/RtpReceiver.h', 'include/RTC/RtpReceiver.hpp',
'include/RTC/RtpSender.h', 'include/RTC/RtpSender.hpp',
'include/RTC/RtpStream.h', 'include/RTC/RtpStream.hpp',
'include/RTC/RtpStreamRecv.h', 'include/RTC/RtpStreamRecv.hpp',
'include/RTC/RtpStreamSend.h', 'include/RTC/RtpStreamSend.hpp',
'include/RTC/RtpDataCounter.h', 'include/RTC/RtpDataCounter.hpp',
'include/RTC/SrtpSession.h', 'include/RTC/SrtpSession.hpp',
'include/RTC/StunMessage.h', 'include/RTC/StunMessage.hpp',
'include/RTC/TcpConnection.h', 'include/RTC/TcpConnection.hpp',
'include/RTC/TcpServer.h', 'include/RTC/TcpServer.hpp',
'include/RTC/Transport.h', 'include/RTC/Transport.hpp',
'include/RTC/TransportTuple.h', 'include/RTC/TransportTuple.hpp',
'include/RTC/UdpSocket.h', 'include/RTC/UdpSocket.hpp',
'include/RTC/RTCP/Packet.h', 'include/RTC/RTCP/Packet.hpp',
'include/RTC/RTCP/CompoundPacket.h', 'include/RTC/RTCP/CompoundPacket.hpp',
'include/RTC/RTCP/SenderReport.h', 'include/RTC/RTCP/SenderReport.hpp',
'include/RTC/RTCP/ReceiverReport.h', 'include/RTC/RTCP/ReceiverReport.hpp',
'include/RTC/RTCP/Sdes.h', 'include/RTC/RTCP/Sdes.hpp',
'include/RTC/RTCP/Bye.h', 'include/RTC/RTCP/Bye.hpp',
'include/RTC/RTCP/Feedback.h', 'include/RTC/RTCP/Feedback.hpp',
'include/RTC/RTCP/FeedbackItem.h', 'include/RTC/RTCP/FeedbackItem.hpp',
'include/RTC/RTCP/FeedbackPs.h', 'include/RTC/RTCP/FeedbackPs.hpp',
'include/RTC/RTCP/FeedbackRtp.h', 'include/RTC/RTCP/FeedbackRtp.hpp',
'include/RTC/RTCP/FeedbackRtpNack.h', 'include/RTC/RTCP/FeedbackRtpNack.hpp',
'include/RTC/RTCP/FeedbackRtpTmmb.h', 'include/RTC/RTCP/FeedbackRtpTmmb.hpp',
'include/RTC/RTCP/FeedbackRtpSrReq.h', 'include/RTC/RTCP/FeedbackRtpSrReq.hpp',
'include/RTC/RTCP/FeedbackRtpTllei.h', 'include/RTC/RTCP/FeedbackRtpTllei.hpp',
'include/RTC/RTCP/FeedbackRtpEcn.h', 'include/RTC/RTCP/FeedbackRtpEcn.hpp',
'include/RTC/RTCP/FeedbackPsPli.h', 'include/RTC/RTCP/FeedbackPsPli.hpp',
'include/RTC/RTCP/FeedbackPsSli.h', 'include/RTC/RTCP/FeedbackPsSli.hpp',
'include/RTC/RTCP/FeedbackPsRpsi.h', 'include/RTC/RTCP/FeedbackPsRpsi.hpp',
'include/RTC/RTCP/FeedbackPsFir.h', 'include/RTC/RTCP/FeedbackPsFir.hpp',
'include/RTC/RTCP/FeedbackPsTst.h', 'include/RTC/RTCP/FeedbackPsTst.hpp',
'include/RTC/RTCP/FeedbackPsVbcm.h', 'include/RTC/RTCP/FeedbackPsVbcm.hpp',
'include/RTC/RTCP/FeedbackPsLei.h', 'include/RTC/RTCP/FeedbackPsLei.hpp',
'include/RTC/RTCP/FeedbackPsAfb.h', 'include/RTC/RTCP/FeedbackPsAfb.hpp',
'include/handles/SignalsHandler.h', 'include/handles/SignalsHandler.hpp',
'include/handles/TcpConnection.h', 'include/handles/TcpConnection.hpp',
'include/handles/TcpServer.h', 'include/handles/TcpServer.hpp',
'include/handles/Timer.h', 'include/handles/Timer.hpp',
'include/handles/UdpSocket.h', 'include/handles/UdpSocket.hpp',
'include/handles/UnixStreamSocket.h' 'include/handles/UnixStreamSocket.hpp'
], ],
'include_dirs': 'include_dirs':
[ [
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
'test/test-bitrate.cpp', 'test/test-bitrate.cpp',
# C++ include files # C++ include files
'test/catch.hpp', 'test/catch.hpp',
'test/helpers.h' 'test/helpers.hpp'
] ]
} }
] ]
......
...@@ -107,9 +107,9 @@ function get_catch() ...@@ -107,9 +107,9 @@ function get_catch()
get_dep "${GIT_REPO}" "${GIT_TAG}" "${DEST}" get_dep "${GIT_REPO}" "${GIT_TAG}" "${DEST}"
echo ">>> [INFO] copying include file to test2/ directory ..." echo ">>> [INFO] copying include file to test/ directory ..."
cd ${WORKER_PWD} cd ${WORKER_PWD}
cp ${DEST}/single_include/catch.hpp test2/ cp ${DEST}/single_include/catch.hpp test/
} }
case "${DEP}" in case "${DEP}" in
......
#define MS_CLASS "Channel::Notifier" #define MS_CLASS "Channel::Notifier"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace Channel namespace Channel
{ {
......
#define MS_CLASS "Channel::Request" #define MS_CLASS "Channel::Request"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace Channel namespace Channel
{ {
......
#define MS_CLASS "Channel::UnixStreamSocket" #define MS_CLASS "Channel::UnixStreamSocket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include <sstream> // std::ostringstream #include <sstream> // std::ostringstream
#include <cstring> // std::memmove() #include <cstring> // std::memmove()
#include <cmath> // std::ceil() #include <cmath> // std::ceil()
......
#define MS_CLASS "DepLibSRTP" #define MS_CLASS "DepLibSRTP"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "DepLibSRTP.h" #include "DepLibSRTP.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
/* Static variables. */ /* Static variables. */
......
#define MS_CLASS "DepLibUV" #define MS_CLASS "DepLibUV"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstdlib> // std::abort() #include <cstdlib> // std::abort()
/* Static variables. */ /* Static variables. */
......
#define MS_CLASS "DepOpenSSL" #define MS_CLASS "DepOpenSSL"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "DepOpenSSL.h" #include "DepOpenSSL.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/engine.h> // ENGINE_cleanup() #include <openssl/engine.h> // ENGINE_cleanup()
......
#define MS_CLASS "Logger" #define MS_CLASS "Logger"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Logger.h" #include "Logger.hpp"
/* Class variables. */ /* Class variables. */
......
#define MS_CLASS "Loop" #define MS_CLASS "Loop"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Loop.h" #include "Loop.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <string> #include <string>
#include <utility> // std::pair() #include <utility> // std::pair()
#include <cerrno> #include <cerrno>
......
#define MS_CLASS "RTC::DtlsTransport" #define MS_CLASS "RTC::DtlsTransport"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/DtlsTransport.h" #include "RTC/DtlsTransport.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <algorithm> // std::remove #include <algorithm> // std::remove
#include <cstdio> // std::sprintf(), std::fopen() #include <cstdio> // std::sprintf(), std::fopen()
#include <cstring> // std::memcpy(), std::strcmp() #include <cstring> // std::memcpy(), std::strcmp()
......
#define MS_CLASS "RTC::IceCandidate" #define MS_CLASS "RTC::IceCandidate"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/IceCandidate.h" #include "RTC/IceCandidate.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::IceServer" #define MS_CLASS "RTC::IceServer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/IceServer.h" #include "RTC/IceServer.hpp"
#include "Logger.h" #include "Logger.hpp"
#define MS_STUN_SERIALIZE_BUFFER_SIZE 65536 #define MS_STUN_SERIALIZE_BUFFER_SIZE 65536
......
#define MS_CLASS "RTC::Peer" #define MS_CLASS "RTC::Peer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/Peer.h" #include "RTC/Peer.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RTCP::Bye" #define MS_CLASS "RTC::RTCP::Bye"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Bye.h" #include "RTC/RTCP/Bye.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::CompoundPacket" #define MS_CLASS "RTC::RTCP::CompoundPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::Feedback" #define MS_CLASS "RTC::RTCP::Feedback"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
// Feedback RTP. // Feedback RTP.
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "RTC/RTCP/FeedbackRtpSrReq.h" #include "RTC/RTCP/FeedbackRtpSrReq.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
// Feedback PS. // Feedback PS.
#include "RTC/RTCP/FeedbackPsPli.h" #include "RTC/RTCP/FeedbackPsPli.hpp"
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "RTC/RTCP/FeedbackPsAfb.h" #include "RTC/RTCP/FeedbackPsAfb.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackPsAfbPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsAfbPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsAfb.h" #include "RTC/RTCP/FeedbackPsAfb.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsFirPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsFirPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
#include <string.h> // std::memset() #include <string.h> // std::memset()
......
#define MS_CLASS "RTC::RTCP::FeedbackPsPsLeiPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsPsLeiPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsPliPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsPliPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsPli.h" #include "RTC/RTCP/FeedbackPsPli.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackPsRpsiPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsRpsiPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsSliPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsSliPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsTstPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsTstPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsVbcmPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsVbcmPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpEcnPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpEcnPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpNackPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpNackPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpSrReqPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpSrReqPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpSrReq.h" #include "RTC/RTCP/FeedbackRtpSrReq.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpTlleiPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpTlleiPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpTmmbPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpTmmbPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::Packet" #define MS_CLASS "RTC::RTCP::Packet"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "RTC/RTCP/Bye.h" #include "RTC/RTCP/Bye.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::ReceiverReport" #define MS_CLASS "RTC::RTCP::ReceiverReport"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::Sdes" #define MS_CLASS "RTC::RTCP::Sdes"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::SenderReport" #define MS_CLASS "RTC::RTCP::SenderReport"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::Room" #define MS_CLASS "RTC::Room"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/Room.h" #include "RTC/Room.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "Utils.h" #include "Utils.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <set> #include <set>
......
#define MS_CLASS "RTC::RtpDataCounter" #define MS_CLASS "RTC::RtpDataCounter"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDataCounter.h" #include "RTC/RtpDataCounter.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::Media" #define MS_CLASS "RTC::Media"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::Parameters" #define MS_CLASS "RTC::Parameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/Parameters.h" #include "RTC/Parameters.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtcpFeedback" #define MS_CLASS "RTC::RtcpFeedback"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtcpParameters" #define MS_CLASS "RTC::RtcpParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpCapabilities" #define MS_CLASS "RTC::RtpCapabilities"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <unordered_set> #include <unordered_set>
namespace RTC namespace RTC
......
#define MS_CLASS "RTC::RtpCodecMime" #define MS_CLASS "RTC::RtpCodecMime"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpCodecParameters" #define MS_CLASS "RTC::RtpCodecParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpEncodingParameters" #define MS_CLASS "RTC::RtpEncodingParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpFecParameters" #define MS_CLASS "RTC::RtpFecParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpHeaderExtension" #define MS_CLASS "RTC::RtpHeaderExtension"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpHeaderExtensionParameters" #define MS_CLASS "RTC::RtpHeaderExtensionParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpParameters" #define MS_CLASS "RTC::RtpParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <unordered_set> #include <unordered_set>
namespace RTC namespace RTC
......
#define MS_CLASS "RTC::RtpRtxParameters" #define MS_CLASS "RTC::RtpRtxParameters"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpListener" #define MS_CLASS "RTC::RtpListener"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpListener.h" #include "RTC/RtpListener.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpPacket" #define MS_CLASS "RTC::RtpPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> // std::memcpy() #include <cstring> // std::memcpy()
namespace RTC namespace RTC
......
#define MS_CLASS "RTC::RtpReceiver" #define MS_CLASS "RTC::RtpReceiver"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/Transport.h" #include "RTC/Transport.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpSender" #define MS_CLASS "RTC::RtpSender"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpSender.h" #include "RTC/RtpSender.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <unordered_set> #include <unordered_set>
namespace RTC namespace RTC
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#define MS_CLASS "RTC::RtpStream" #define MS_CLASS "RTC::RtpStream"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpStream.h" #include "RTC/RtpStream.hpp"
#include "Logger.h" #include "Logger.hpp"
#define MIN_SEQUENTIAL 0 #define MIN_SEQUENTIAL 0
#define MAX_DROPOUT 3000 #define MAX_DROPOUT 3000
......
#define MS_CLASS "RTC::RtpStreamRecv" #define MS_CLASS "RTC::RtpStreamRecv"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpStreamRecv.h" #include "RTC/RtpStreamRecv.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RtpStreamSend" #define MS_CLASS "RTC::RtpStreamSend"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpStreamSend.h" #include "RTC/RtpStreamSend.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Utils.h" // CurrentTimeNtp() #include "Utils.hpp"
#define RTP_SEQ_MOD (1<<16) #define RTP_SEQ_MOD (1<<16)
#define MAX_RETRANSMISSION_AGE 200 // Don't retransmit packets older than this (ms). #define MAX_RETRANSMISSION_AGE 200 // Don't retransmit packets older than this (ms).
......
#define MS_CLASS "RTC::SrtpSession" #define MS_CLASS "RTC::SrtpSession"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/SrtpSession.h" #include "RTC/SrtpSession.hpp"
#include "DepLibSRTP.h" #include "DepLibSRTP.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> // std::memset(), std::memcpy() #include <cstring> // std::memset(), std::memcpy()
#define MS_ENCRYPT_BUFFER_SIZE 65536 #define MS_ENCRYPT_BUFFER_SIZE 65536
......
#define MS_CLASS "RTC::StunMessage" #define MS_CLASS "RTC::StunMessage"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/StunMessage.h" #include "RTC/StunMessage.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstdio> // std::snprintf() #include <cstdio> // std::snprintf()
#include <cstring> // std::memcmp(), std::memcpy() #include <cstring> // std::memcmp(), std::memcpy()
......
#define MS_CLASS "RTC::TcpConnection" #define MS_CLASS "RTC::TcpConnection"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> // std::memmove() #include <cstring> // std::memmove()
namespace RTC namespace RTC
......
#define MS_CLASS "RTC::TcpServer" #define MS_CLASS "RTC::TcpServer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/TcpServer.h" #include "RTC/TcpServer.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <string> #include <string>
#define MAX_BIND_ATTEMPTS 20 #define MAX_BIND_ATTEMPTS 20
......
#define MS_CLASS "RTC::Transport" #define MS_CLASS "RTC::Transport"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/Transport.h" #include "RTC/Transport.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cmath> // std::pow() #include <cmath> // std::pow()
#define ICE_CANDIDATE_DEFAULT_LOCAL_PRIORITY 20000 #define ICE_CANDIDATE_DEFAULT_LOCAL_PRIORITY 20000
......
#define MS_CLASS "RTC::TransportTuple" #define MS_CLASS "RTC::TransportTuple"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/TransportTuple.h" #include "RTC/TransportTuple.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "Utils.h" #include "Utils.hpp"
#include <string> #include <string>
namespace RTC namespace RTC
......
#define MS_CLASS "RTC::UdpSocket" #define MS_CLASS "RTC::UdpSocket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <string> #include <string>
#define MAX_BIND_ATTEMPTS 20 #define MAX_BIND_ATTEMPTS 20
......
#define MS_CLASS "Settings" #define MS_CLASS "Settings"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Settings.h" #include "Settings.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cctype> // isprint() #include <cctype> // isprint()
#include <cerrno> #include <cerrno>
#include <unistd.h> // close() #include <unistd.h> // close()
......
#define MS_CLASS "Utils::Crypto" #define MS_CLASS "Utils::Crypto"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <openssl/sha.h> #include <openssl/sha.h>
namespace Utils namespace Utils
......
#define MS_CLASS "Utils::File" #define MS_CLASS "Utils::File"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cerrno> #include <cerrno>
#include <unistd.h> // access(), R_OK #include <unistd.h> // access(), R_OK
#include <sys/stat.h> // stat() #include <sys/stat.h> // stat()
......
#line 1 "src/Utils/IP.rl" #line 1 "src/Utils/IP.rl"
#define MS_CLASS "Utils::IP" #define MS_CLASS "Utils::IP"
// #define MS_LOG_DEV
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <uv.h> #include <uv.h>
namespace Utils namespace Utils
...@@ -15,10 +16,10 @@ namespace Utils ...@@ -15,10 +16,10 @@ namespace Utils
int ip_family = 0; int ip_family = 0;
/** /**
* Ragel: machine definition * Ragel: machine definition.
*/ */
#line 37 "src/Utils/IP.rl" #line 38 "src/Utils/IP.rl"
/** /**
...@@ -26,7 +27,7 @@ namespace Utils ...@@ -26,7 +27,7 @@ namespace Utils
* This generates Ragel's static variables. * This generates Ragel's static variables.
*/ */
#line 30 "src/Utils/IP.cpp" #line 31 "src/Utils/IP.cpp"
static const int IPParser_start = 1; static const int IPParser_start = 1;
...@@ -34,7 +35,7 @@ static const int IPParser_start = 1; ...@@ -34,7 +35,7 @@ static const int IPParser_start = 1;
#line 44 "src/Utils/IP.rl" #line 45 "src/Utils/IP.rl"
// Used by Ragel: // Used by Ragel:
size_t cs; size_t cs;
...@@ -48,19 +49,19 @@ static const int IPParser_start = 1; ...@@ -48,19 +49,19 @@ static const int IPParser_start = 1;
* Ragel: %%write init * Ragel: %%write init
*/ */
#line 52 "src/Utils/IP.cpp" #line 53 "src/Utils/IP.cpp"
{ {
cs = IPParser_start; cs = IPParser_start;
} }
#line 57 "src/Utils/IP.rl" #line 58 "src/Utils/IP.rl"
/** /**
* Ragel: %%write exec * Ragel: %%write exec
* This updates cs variable needed by Ragel. * This updates cs variable needed by Ragel.
*/ */
#line 64 "src/Utils/IP.cpp" #line 65 "src/Utils/IP.cpp"
{ {
if ( p == pe ) if ( p == pe )
goto _test_eof; goto _test_eof;
...@@ -153,13 +154,13 @@ case 7: ...@@ -153,13 +154,13 @@ case 7:
goto tr23; goto tr23;
goto st0; goto st0;
tr20: tr20:
#line 24 "src/Utils/IP.rl" #line 25 "src/Utils/IP.rl"
{ {
ip_family = AF_INET; ip_family = AF_INET;
} }
goto st86; goto st86;
tr77: tr77:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -168,10 +169,10 @@ st86: ...@@ -168,10 +169,10 @@ st86:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof86; goto _test_eof86;
case 86: case 86:
#line 172 "src/Utils/IP.cpp" #line 173 "src/Utils/IP.cpp"
goto st0; goto st0;
tr21: tr21:
#line 24 "src/Utils/IP.rl" #line 25 "src/Utils/IP.rl"
{ {
ip_family = AF_INET; ip_family = AF_INET;
} }
...@@ -180,12 +181,12 @@ st87: ...@@ -180,12 +181,12 @@ st87:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof87; goto _test_eof87;
case 87: case 87:
#line 184 "src/Utils/IP.cpp" #line 185 "src/Utils/IP.cpp"
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr23; goto tr23;
goto st0; goto st0;
tr23: tr23:
#line 24 "src/Utils/IP.rl" #line 25 "src/Utils/IP.rl"
{ {
ip_family = AF_INET; ip_family = AF_INET;
} }
...@@ -194,12 +195,12 @@ st88: ...@@ -194,12 +195,12 @@ st88:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof88; goto _test_eof88;
case 88: case 88:
#line 198 "src/Utils/IP.cpp" #line 199 "src/Utils/IP.cpp"
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr20; goto tr20;
goto st0; goto st0;
tr22: tr22:
#line 24 "src/Utils/IP.rl" #line 25 "src/Utils/IP.rl"
{ {
ip_family = AF_INET; ip_family = AF_INET;
} }
...@@ -208,7 +209,7 @@ st89: ...@@ -208,7 +209,7 @@ st89:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof89; goto _test_eof89;
case 89: case 89:
#line 212 "src/Utils/IP.cpp" #line 213 "src/Utils/IP.cpp"
if ( (*p) == 53u ) if ( (*p) == 53u )
goto tr120; goto tr120;
if ( (*p) > 52u ) { if ( (*p) > 52u ) {
...@@ -218,7 +219,7 @@ case 89: ...@@ -218,7 +219,7 @@ case 89:
goto tr23; goto tr23;
goto st0; goto st0;
tr120: tr120:
#line 24 "src/Utils/IP.rl" #line 25 "src/Utils/IP.rl"
{ {
ip_family = AF_INET; ip_family = AF_INET;
} }
...@@ -227,7 +228,7 @@ st90: ...@@ -227,7 +228,7 @@ st90:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof90; goto _test_eof90;
case 90: case 90:
#line 231 "src/Utils/IP.cpp" #line 232 "src/Utils/IP.cpp"
if ( 48u <= (*p) && (*p) <= 53u ) if ( 48u <= (*p) && (*p) <= 53u )
goto tr20; goto tr20;
goto st0; goto st0;
...@@ -772,7 +773,7 @@ case 50: ...@@ -772,7 +773,7 @@ case 50:
goto tr80; goto tr80;
goto st0; goto st0;
tr78: tr78:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -781,12 +782,12 @@ st91: ...@@ -781,12 +782,12 @@ st91:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof91; goto _test_eof91;
case 91: case 91:
#line 785 "src/Utils/IP.cpp" #line 786 "src/Utils/IP.cpp"
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr80; goto tr80;
goto st0; goto st0;
tr80: tr80:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -795,12 +796,12 @@ st92: ...@@ -795,12 +796,12 @@ st92:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof92; goto _test_eof92;
case 92: case 92:
#line 799 "src/Utils/IP.cpp" #line 800 "src/Utils/IP.cpp"
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr77; goto tr77;
goto st0; goto st0;
tr79: tr79:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -809,7 +810,7 @@ st93: ...@@ -809,7 +810,7 @@ st93:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof93; goto _test_eof93;
case 93: case 93:
#line 813 "src/Utils/IP.cpp" #line 814 "src/Utils/IP.cpp"
if ( (*p) == 53u ) if ( (*p) == 53u )
goto tr121; goto tr121;
if ( (*p) > 52u ) { if ( (*p) > 52u ) {
...@@ -819,7 +820,7 @@ case 93: ...@@ -819,7 +820,7 @@ case 93:
goto tr80; goto tr80;
goto st0; goto st0;
tr121: tr121:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -828,7 +829,7 @@ st94: ...@@ -828,7 +829,7 @@ st94:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof94; goto _test_eof94;
case 94: case 94:
#line 832 "src/Utils/IP.cpp" #line 833 "src/Utils/IP.cpp"
if ( 48u <= (*p) && (*p) <= 53u ) if ( 48u <= (*p) && (*p) <= 53u )
goto tr77; goto tr77;
goto st0; goto st0;
...@@ -967,7 +968,7 @@ case 62: ...@@ -967,7 +968,7 @@ case 62:
goto tr85; goto tr85;
goto st0; goto st0;
tr85: tr85:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -976,7 +977,7 @@ st95: ...@@ -976,7 +977,7 @@ st95:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof95; goto _test_eof95;
case 95: case 95:
#line 980 "src/Utils/IP.cpp" #line 981 "src/Utils/IP.cpp"
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr122; goto tr122;
...@@ -987,7 +988,7 @@ case 95: ...@@ -987,7 +988,7 @@ case 95:
goto tr122; goto tr122;
goto st0; goto st0;
tr122: tr122:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -996,7 +997,7 @@ st96: ...@@ -996,7 +997,7 @@ st96:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof96; goto _test_eof96;
case 96: case 96:
#line 1000 "src/Utils/IP.cpp" #line 1001 "src/Utils/IP.cpp"
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr123; goto tr123;
...@@ -1007,7 +1008,7 @@ case 96: ...@@ -1007,7 +1008,7 @@ case 96:
goto tr123; goto tr123;
goto st0; goto st0;
tr123: tr123:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1016,7 +1017,7 @@ st97: ...@@ -1016,7 +1017,7 @@ st97:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof97; goto _test_eof97;
case 97: case 97:
#line 1020 "src/Utils/IP.cpp" #line 1021 "src/Utils/IP.cpp"
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr77; goto tr77;
...@@ -1153,7 +1154,7 @@ case 69: ...@@ -1153,7 +1154,7 @@ case 69:
goto st59; goto st59;
goto st0; goto st0;
tr62: tr62:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1162,7 +1163,7 @@ st98: ...@@ -1162,7 +1163,7 @@ st98:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof98; goto _test_eof98;
case 98: case 98:
#line 1166 "src/Utils/IP.cpp" #line 1167 "src/Utils/IP.cpp"
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
if ( 48u <= (*p) && (*p) <= 57u ) if ( 48u <= (*p) && (*p) <= 57u )
goto tr85; goto tr85;
...@@ -1188,7 +1189,7 @@ case 70: ...@@ -1188,7 +1189,7 @@ case 70:
goto st59; goto st59;
goto st0; goto st0;
tr53: tr53:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1197,7 +1198,7 @@ st99: ...@@ -1197,7 +1198,7 @@ st99:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof99; goto _test_eof99;
case 99: case 99:
#line 1201 "src/Utils/IP.cpp" #line 1202 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 48u: goto tr90; case 48u: goto tr90;
case 49u: goto tr91; case 49u: goto tr91;
...@@ -1213,7 +1214,7 @@ case 99: ...@@ -1213,7 +1214,7 @@ case 99:
goto tr94; goto tr94;
goto st0; goto st0;
tr90: tr90:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1222,7 +1223,7 @@ st100: ...@@ -1222,7 +1223,7 @@ st100:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof100; goto _test_eof100;
case 100: case 100:
#line 1226 "src/Utils/IP.cpp" #line 1227 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1237,7 +1238,7 @@ case 100: ...@@ -1237,7 +1238,7 @@ case 100:
goto tr124; goto tr124;
goto st0; goto st0;
tr124: tr124:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1246,7 +1247,7 @@ st101: ...@@ -1246,7 +1247,7 @@ st101:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof101; goto _test_eof101;
case 101: case 101:
#line 1250 "src/Utils/IP.cpp" #line 1251 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st71; goto st71;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1259,7 +1260,7 @@ case 101: ...@@ -1259,7 +1260,7 @@ case 101:
goto tr126; goto tr126;
goto st0; goto st0;
tr126: tr126:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1268,7 +1269,7 @@ st102: ...@@ -1268,7 +1269,7 @@ st102:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof102; goto _test_eof102;
case 102: case 102:
#line 1272 "src/Utils/IP.cpp" #line 1273 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st71; goto st71;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1281,7 +1282,7 @@ case 102: ...@@ -1281,7 +1282,7 @@ case 102:
goto tr127; goto tr127;
goto st0; goto st0;
tr127: tr127:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1290,7 +1291,7 @@ st103: ...@@ -1290,7 +1291,7 @@ st103:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof103; goto _test_eof103;
case 103: case 103:
#line 1294 "src/Utils/IP.cpp" #line 1295 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st71; goto st71;
goto st0; goto st0;
...@@ -1308,7 +1309,7 @@ case 71: ...@@ -1308,7 +1309,7 @@ case 71:
goto tr85; goto tr85;
goto st0; goto st0;
tr91: tr91:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1317,7 +1318,7 @@ st104: ...@@ -1317,7 +1318,7 @@ st104:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof104; goto _test_eof104;
case 104: case 104:
#line 1321 "src/Utils/IP.cpp" #line 1322 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1332,7 +1333,7 @@ case 104: ...@@ -1332,7 +1333,7 @@ case 104:
goto tr124; goto tr124;
goto st0; goto st0;
tr128: tr128:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1341,7 +1342,7 @@ st105: ...@@ -1341,7 +1342,7 @@ st105:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof105; goto _test_eof105;
case 105: case 105:
#line 1345 "src/Utils/IP.cpp" #line 1346 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1356,7 +1357,7 @@ case 105: ...@@ -1356,7 +1357,7 @@ case 105:
goto tr126; goto tr126;
goto st0; goto st0;
tr129: tr129:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1365,7 +1366,7 @@ st106: ...@@ -1365,7 +1366,7 @@ st106:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof106; goto _test_eof106;
case 106: case 106:
#line 1369 "src/Utils/IP.cpp" #line 1370 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1380,7 +1381,7 @@ case 106: ...@@ -1380,7 +1381,7 @@ case 106:
goto tr127; goto tr127;
goto st0; goto st0;
tr92: tr92:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1389,7 +1390,7 @@ st107: ...@@ -1389,7 +1390,7 @@ st107:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof107; goto _test_eof107;
case 107: case 107:
#line 1393 "src/Utils/IP.cpp" #line 1394 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 53u: goto tr130; case 53u: goto tr130;
...@@ -1408,7 +1409,7 @@ case 107: ...@@ -1408,7 +1409,7 @@ case 107:
goto tr131; goto tr131;
goto st0; goto st0;
tr130: tr130:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1417,7 +1418,7 @@ st108: ...@@ -1417,7 +1418,7 @@ st108:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof108; goto _test_eof108;
case 108: case 108:
#line 1421 "src/Utils/IP.cpp" #line 1422 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1435,7 +1436,7 @@ case 108: ...@@ -1435,7 +1436,7 @@ case 108:
goto tr126; goto tr126;
goto st0; goto st0;
tr131: tr131:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1444,7 +1445,7 @@ st109: ...@@ -1444,7 +1445,7 @@ st109:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof109; goto _test_eof109;
case 109: case 109:
#line 1448 "src/Utils/IP.cpp" #line 1449 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1459,7 +1460,7 @@ case 109: ...@@ -1459,7 +1460,7 @@ case 109:
goto tr126; goto tr126;
goto st0; goto st0;
tr93: tr93:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1468,7 +1469,7 @@ st110: ...@@ -1468,7 +1469,7 @@ st110:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof110; goto _test_eof110;
case 110: case 110:
#line 1472 "src/Utils/IP.cpp" #line 1473 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st71; case 58u: goto st71;
...@@ -1483,7 +1484,7 @@ case 110: ...@@ -1483,7 +1484,7 @@ case 110:
goto tr124; goto tr124;
goto st0; goto st0;
tr94: tr94:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1492,7 +1493,7 @@ st111: ...@@ -1492,7 +1493,7 @@ st111:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof111; goto _test_eof111;
case 111: case 111:
#line 1496 "src/Utils/IP.cpp" #line 1497 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st71; goto st71;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1505,7 +1506,7 @@ case 111: ...@@ -1505,7 +1506,7 @@ case 111:
goto tr124; goto tr124;
goto st0; goto st0;
tr47: tr47:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1514,7 +1515,7 @@ st112: ...@@ -1514,7 +1515,7 @@ st112:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof112; goto _test_eof112;
case 112: case 112:
#line 1518 "src/Utils/IP.cpp" #line 1519 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 48u: goto tr95; case 48u: goto tr95;
case 49u: goto tr96; case 49u: goto tr96;
...@@ -1530,7 +1531,7 @@ case 112: ...@@ -1530,7 +1531,7 @@ case 112:
goto tr99; goto tr99;
goto st0; goto st0;
tr95: tr95:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1539,7 +1540,7 @@ st113: ...@@ -1539,7 +1540,7 @@ st113:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof113; goto _test_eof113;
case 113: case 113:
#line 1543 "src/Utils/IP.cpp" #line 1544 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1554,7 +1555,7 @@ case 113: ...@@ -1554,7 +1555,7 @@ case 113:
goto tr132; goto tr132;
goto st0; goto st0;
tr132: tr132:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1563,7 +1564,7 @@ st114: ...@@ -1563,7 +1564,7 @@ st114:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof114; goto _test_eof114;
case 114: case 114:
#line 1567 "src/Utils/IP.cpp" #line 1568 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st72; goto st72;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1576,7 +1577,7 @@ case 114: ...@@ -1576,7 +1577,7 @@ case 114:
goto tr134; goto tr134;
goto st0; goto st0;
tr134: tr134:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1585,7 +1586,7 @@ st115: ...@@ -1585,7 +1586,7 @@ st115:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof115; goto _test_eof115;
case 115: case 115:
#line 1589 "src/Utils/IP.cpp" #line 1590 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st72; goto st72;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1598,7 +1599,7 @@ case 115: ...@@ -1598,7 +1599,7 @@ case 115:
goto tr135; goto tr135;
goto st0; goto st0;
tr135: tr135:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1607,7 +1608,7 @@ st116: ...@@ -1607,7 +1608,7 @@ st116:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof116; goto _test_eof116;
case 116: case 116:
#line 1611 "src/Utils/IP.cpp" #line 1612 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st72; goto st72;
goto st0; goto st0;
...@@ -1630,7 +1631,7 @@ case 72: ...@@ -1630,7 +1631,7 @@ case 72:
goto tr94; goto tr94;
goto st0; goto st0;
tr96: tr96:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1639,7 +1640,7 @@ st117: ...@@ -1639,7 +1640,7 @@ st117:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof117; goto _test_eof117;
case 117: case 117:
#line 1643 "src/Utils/IP.cpp" #line 1644 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1654,7 +1655,7 @@ case 117: ...@@ -1654,7 +1655,7 @@ case 117:
goto tr132; goto tr132;
goto st0; goto st0;
tr136: tr136:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1663,7 +1664,7 @@ st118: ...@@ -1663,7 +1664,7 @@ st118:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof118; goto _test_eof118;
case 118: case 118:
#line 1667 "src/Utils/IP.cpp" #line 1668 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1678,7 +1679,7 @@ case 118: ...@@ -1678,7 +1679,7 @@ case 118:
goto tr134; goto tr134;
goto st0; goto st0;
tr137: tr137:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1687,7 +1688,7 @@ st119: ...@@ -1687,7 +1688,7 @@ st119:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof119; goto _test_eof119;
case 119: case 119:
#line 1691 "src/Utils/IP.cpp" #line 1692 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1702,7 +1703,7 @@ case 119: ...@@ -1702,7 +1703,7 @@ case 119:
goto tr135; goto tr135;
goto st0; goto st0;
tr97: tr97:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1711,7 +1712,7 @@ st120: ...@@ -1711,7 +1712,7 @@ st120:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof120; goto _test_eof120;
case 120: case 120:
#line 1715 "src/Utils/IP.cpp" #line 1716 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 53u: goto tr138; case 53u: goto tr138;
...@@ -1730,7 +1731,7 @@ case 120: ...@@ -1730,7 +1731,7 @@ case 120:
goto tr139; goto tr139;
goto st0; goto st0;
tr138: tr138:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1739,7 +1740,7 @@ st121: ...@@ -1739,7 +1740,7 @@ st121:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof121; goto _test_eof121;
case 121: case 121:
#line 1743 "src/Utils/IP.cpp" #line 1744 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1757,7 +1758,7 @@ case 121: ...@@ -1757,7 +1758,7 @@ case 121:
goto tr134; goto tr134;
goto st0; goto st0;
tr139: tr139:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1766,7 +1767,7 @@ st122: ...@@ -1766,7 +1767,7 @@ st122:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof122; goto _test_eof122;
case 122: case 122:
#line 1770 "src/Utils/IP.cpp" #line 1771 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1781,7 +1782,7 @@ case 122: ...@@ -1781,7 +1782,7 @@ case 122:
goto tr134; goto tr134;
goto st0; goto st0;
tr98: tr98:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1790,7 +1791,7 @@ st123: ...@@ -1790,7 +1791,7 @@ st123:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof123; goto _test_eof123;
case 123: case 123:
#line 1794 "src/Utils/IP.cpp" #line 1795 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st72; case 58u: goto st72;
...@@ -1805,7 +1806,7 @@ case 123: ...@@ -1805,7 +1806,7 @@ case 123:
goto tr132; goto tr132;
goto st0; goto st0;
tr99: tr99:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1814,7 +1815,7 @@ st124: ...@@ -1814,7 +1815,7 @@ st124:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof124; goto _test_eof124;
case 124: case 124:
#line 1818 "src/Utils/IP.cpp" #line 1819 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st72; goto st72;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1827,7 +1828,7 @@ case 124: ...@@ -1827,7 +1828,7 @@ case 124:
goto tr132; goto tr132;
goto st0; goto st0;
tr41: tr41:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1836,7 +1837,7 @@ st125: ...@@ -1836,7 +1837,7 @@ st125:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof125; goto _test_eof125;
case 125: case 125:
#line 1840 "src/Utils/IP.cpp" #line 1841 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 48u: goto tr100; case 48u: goto tr100;
case 49u: goto tr101; case 49u: goto tr101;
...@@ -1852,7 +1853,7 @@ case 125: ...@@ -1852,7 +1853,7 @@ case 125:
goto tr104; goto tr104;
goto st0; goto st0;
tr100: tr100:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1861,7 +1862,7 @@ st126: ...@@ -1861,7 +1862,7 @@ st126:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof126; goto _test_eof126;
case 126: case 126:
#line 1865 "src/Utils/IP.cpp" #line 1866 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -1876,7 +1877,7 @@ case 126: ...@@ -1876,7 +1877,7 @@ case 126:
goto tr140; goto tr140;
goto st0; goto st0;
tr140: tr140:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1885,7 +1886,7 @@ st127: ...@@ -1885,7 +1886,7 @@ st127:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof127; goto _test_eof127;
case 127: case 127:
#line 1889 "src/Utils/IP.cpp" #line 1890 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st73; goto st73;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1898,7 +1899,7 @@ case 127: ...@@ -1898,7 +1899,7 @@ case 127:
goto tr142; goto tr142;
goto st0; goto st0;
tr142: tr142:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1907,7 +1908,7 @@ st128: ...@@ -1907,7 +1908,7 @@ st128:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof128; goto _test_eof128;
case 128: case 128:
#line 1911 "src/Utils/IP.cpp" #line 1912 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st73; goto st73;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -1920,7 +1921,7 @@ case 128: ...@@ -1920,7 +1921,7 @@ case 128:
goto tr143; goto tr143;
goto st0; goto st0;
tr143: tr143:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1929,7 +1930,7 @@ st129: ...@@ -1929,7 +1930,7 @@ st129:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof129; goto _test_eof129;
case 129: case 129:
#line 1933 "src/Utils/IP.cpp" #line 1934 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st73; goto st73;
goto st0; goto st0;
...@@ -1952,7 +1953,7 @@ case 73: ...@@ -1952,7 +1953,7 @@ case 73:
goto tr99; goto tr99;
goto st0; goto st0;
tr101: tr101:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1961,7 +1962,7 @@ st130: ...@@ -1961,7 +1962,7 @@ st130:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof130; goto _test_eof130;
case 130: case 130:
#line 1965 "src/Utils/IP.cpp" #line 1966 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -1976,7 +1977,7 @@ case 130: ...@@ -1976,7 +1977,7 @@ case 130:
goto tr140; goto tr140;
goto st0; goto st0;
tr144: tr144:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -1985,7 +1986,7 @@ st131: ...@@ -1985,7 +1986,7 @@ st131:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof131; goto _test_eof131;
case 131: case 131:
#line 1989 "src/Utils/IP.cpp" #line 1990 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -2000,7 +2001,7 @@ case 131: ...@@ -2000,7 +2001,7 @@ case 131:
goto tr142; goto tr142;
goto st0; goto st0;
tr145: tr145:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2009,7 +2010,7 @@ st132: ...@@ -2009,7 +2010,7 @@ st132:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof132; goto _test_eof132;
case 132: case 132:
#line 2013 "src/Utils/IP.cpp" #line 2014 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -2024,7 +2025,7 @@ case 132: ...@@ -2024,7 +2025,7 @@ case 132:
goto tr143; goto tr143;
goto st0; goto st0;
tr102: tr102:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2033,7 +2034,7 @@ st133: ...@@ -2033,7 +2034,7 @@ st133:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof133; goto _test_eof133;
case 133: case 133:
#line 2037 "src/Utils/IP.cpp" #line 2038 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 53u: goto tr146; case 53u: goto tr146;
...@@ -2052,7 +2053,7 @@ case 133: ...@@ -2052,7 +2053,7 @@ case 133:
goto tr147; goto tr147;
goto st0; goto st0;
tr146: tr146:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2061,7 +2062,7 @@ st134: ...@@ -2061,7 +2062,7 @@ st134:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof134; goto _test_eof134;
case 134: case 134:
#line 2065 "src/Utils/IP.cpp" #line 2066 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -2079,7 +2080,7 @@ case 134: ...@@ -2079,7 +2080,7 @@ case 134:
goto tr142; goto tr142;
goto st0; goto st0;
tr147: tr147:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2088,7 +2089,7 @@ st135: ...@@ -2088,7 +2089,7 @@ st135:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof135; goto _test_eof135;
case 135: case 135:
#line 2092 "src/Utils/IP.cpp" #line 2093 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -2103,7 +2104,7 @@ case 135: ...@@ -2103,7 +2104,7 @@ case 135:
goto tr142; goto tr142;
goto st0; goto st0;
tr103: tr103:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2112,7 +2113,7 @@ st136: ...@@ -2112,7 +2113,7 @@ st136:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof136; goto _test_eof136;
case 136: case 136:
#line 2116 "src/Utils/IP.cpp" #line 2117 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st73; case 58u: goto st73;
...@@ -2127,7 +2128,7 @@ case 136: ...@@ -2127,7 +2128,7 @@ case 136:
goto tr140; goto tr140;
goto st0; goto st0;
tr104: tr104:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2136,7 +2137,7 @@ st137: ...@@ -2136,7 +2137,7 @@ st137:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof137; goto _test_eof137;
case 137: case 137:
#line 2140 "src/Utils/IP.cpp" #line 2141 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st73; goto st73;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2149,7 +2150,7 @@ case 137: ...@@ -2149,7 +2150,7 @@ case 137:
goto tr140; goto tr140;
goto st0; goto st0;
tr35: tr35:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2158,7 +2159,7 @@ st138: ...@@ -2158,7 +2159,7 @@ st138:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof138; goto _test_eof138;
case 138: case 138:
#line 2162 "src/Utils/IP.cpp" #line 2163 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 48u: goto tr105; case 48u: goto tr105;
case 49u: goto tr106; case 49u: goto tr106;
...@@ -2174,7 +2175,7 @@ case 138: ...@@ -2174,7 +2175,7 @@ case 138:
goto tr109; goto tr109;
goto st0; goto st0;
tr105: tr105:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2183,7 +2184,7 @@ st139: ...@@ -2183,7 +2184,7 @@ st139:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof139; goto _test_eof139;
case 139: case 139:
#line 2187 "src/Utils/IP.cpp" #line 2188 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2198,7 +2199,7 @@ case 139: ...@@ -2198,7 +2199,7 @@ case 139:
goto tr148; goto tr148;
goto st0; goto st0;
tr148: tr148:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2207,7 +2208,7 @@ st140: ...@@ -2207,7 +2208,7 @@ st140:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof140; goto _test_eof140;
case 140: case 140:
#line 2211 "src/Utils/IP.cpp" #line 2212 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st74; goto st74;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2220,7 +2221,7 @@ case 140: ...@@ -2220,7 +2221,7 @@ case 140:
goto tr150; goto tr150;
goto st0; goto st0;
tr150: tr150:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2229,7 +2230,7 @@ st141: ...@@ -2229,7 +2230,7 @@ st141:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof141; goto _test_eof141;
case 141: case 141:
#line 2233 "src/Utils/IP.cpp" #line 2234 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st74; goto st74;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2242,7 +2243,7 @@ case 141: ...@@ -2242,7 +2243,7 @@ case 141:
goto tr151; goto tr151;
goto st0; goto st0;
tr151: tr151:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2251,7 +2252,7 @@ st142: ...@@ -2251,7 +2252,7 @@ st142:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof142; goto _test_eof142;
case 142: case 142:
#line 2255 "src/Utils/IP.cpp" #line 2256 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st74; goto st74;
goto st0; goto st0;
...@@ -2274,7 +2275,7 @@ case 74: ...@@ -2274,7 +2275,7 @@ case 74:
goto tr104; goto tr104;
goto st0; goto st0;
tr106: tr106:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2283,7 +2284,7 @@ st143: ...@@ -2283,7 +2284,7 @@ st143:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof143; goto _test_eof143;
case 143: case 143:
#line 2287 "src/Utils/IP.cpp" #line 2288 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2298,7 +2299,7 @@ case 143: ...@@ -2298,7 +2299,7 @@ case 143:
goto tr148; goto tr148;
goto st0; goto st0;
tr152: tr152:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2307,7 +2308,7 @@ st144: ...@@ -2307,7 +2308,7 @@ st144:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof144; goto _test_eof144;
case 144: case 144:
#line 2311 "src/Utils/IP.cpp" #line 2312 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2322,7 +2323,7 @@ case 144: ...@@ -2322,7 +2323,7 @@ case 144:
goto tr150; goto tr150;
goto st0; goto st0;
tr153: tr153:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2331,7 +2332,7 @@ st145: ...@@ -2331,7 +2332,7 @@ st145:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof145; goto _test_eof145;
case 145: case 145:
#line 2335 "src/Utils/IP.cpp" #line 2336 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2346,7 +2347,7 @@ case 145: ...@@ -2346,7 +2347,7 @@ case 145:
goto tr151; goto tr151;
goto st0; goto st0;
tr107: tr107:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2355,7 +2356,7 @@ st146: ...@@ -2355,7 +2356,7 @@ st146:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof146; goto _test_eof146;
case 146: case 146:
#line 2359 "src/Utils/IP.cpp" #line 2360 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 53u: goto tr154; case 53u: goto tr154;
...@@ -2374,7 +2375,7 @@ case 146: ...@@ -2374,7 +2375,7 @@ case 146:
goto tr155; goto tr155;
goto st0; goto st0;
tr154: tr154:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2383,7 +2384,7 @@ st147: ...@@ -2383,7 +2384,7 @@ st147:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof147; goto _test_eof147;
case 147: case 147:
#line 2387 "src/Utils/IP.cpp" #line 2388 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2401,7 +2402,7 @@ case 147: ...@@ -2401,7 +2402,7 @@ case 147:
goto tr150; goto tr150;
goto st0; goto st0;
tr155: tr155:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2410,7 +2411,7 @@ st148: ...@@ -2410,7 +2411,7 @@ st148:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof148; goto _test_eof148;
case 148: case 148:
#line 2414 "src/Utils/IP.cpp" #line 2415 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2425,7 +2426,7 @@ case 148: ...@@ -2425,7 +2426,7 @@ case 148:
goto tr150; goto tr150;
goto st0; goto st0;
tr108: tr108:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2434,7 +2435,7 @@ st149: ...@@ -2434,7 +2435,7 @@ st149:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof149; goto _test_eof149;
case 149: case 149:
#line 2438 "src/Utils/IP.cpp" #line 2439 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st74; case 58u: goto st74;
...@@ -2449,7 +2450,7 @@ case 149: ...@@ -2449,7 +2450,7 @@ case 149:
goto tr148; goto tr148;
goto st0; goto st0;
tr109: tr109:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2458,7 +2459,7 @@ st150: ...@@ -2458,7 +2459,7 @@ st150:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof150; goto _test_eof150;
case 150: case 150:
#line 2462 "src/Utils/IP.cpp" #line 2463 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st74; goto st74;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2471,7 +2472,7 @@ case 150: ...@@ -2471,7 +2472,7 @@ case 150:
goto tr148; goto tr148;
goto st0; goto st0;
tr29: tr29:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2480,7 +2481,7 @@ st151: ...@@ -2480,7 +2481,7 @@ st151:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof151; goto _test_eof151;
case 151: case 151:
#line 2484 "src/Utils/IP.cpp" #line 2485 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 48u: goto tr115; case 48u: goto tr115;
case 49u: goto tr116; case 49u: goto tr116;
...@@ -2496,7 +2497,7 @@ case 151: ...@@ -2496,7 +2497,7 @@ case 151:
goto tr119; goto tr119;
goto st0; goto st0;
tr115: tr115:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2505,7 +2506,7 @@ st152: ...@@ -2505,7 +2506,7 @@ st152:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof152; goto _test_eof152;
case 152: case 152:
#line 2509 "src/Utils/IP.cpp" #line 2510 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2520,7 +2521,7 @@ case 152: ...@@ -2520,7 +2521,7 @@ case 152:
goto tr156; goto tr156;
goto st0; goto st0;
tr156: tr156:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2529,7 +2530,7 @@ st153: ...@@ -2529,7 +2530,7 @@ st153:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof153; goto _test_eof153;
case 153: case 153:
#line 2533 "src/Utils/IP.cpp" #line 2534 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st75; goto st75;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2542,7 +2543,7 @@ case 153: ...@@ -2542,7 +2543,7 @@ case 153:
goto tr158; goto tr158;
goto st0; goto st0;
tr158: tr158:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2551,7 +2552,7 @@ st154: ...@@ -2551,7 +2552,7 @@ st154:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof154; goto _test_eof154;
case 154: case 154:
#line 2555 "src/Utils/IP.cpp" #line 2556 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st75; goto st75;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2564,7 +2565,7 @@ case 154: ...@@ -2564,7 +2565,7 @@ case 154:
goto tr159; goto tr159;
goto st0; goto st0;
tr159: tr159:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2573,7 +2574,7 @@ st155: ...@@ -2573,7 +2574,7 @@ st155:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof155; goto _test_eof155;
case 155: case 155:
#line 2577 "src/Utils/IP.cpp" #line 2578 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st75; goto st75;
goto st0; goto st0;
...@@ -2596,7 +2597,7 @@ case 75: ...@@ -2596,7 +2597,7 @@ case 75:
goto tr109; goto tr109;
goto st0; goto st0;
tr116: tr116:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2605,7 +2606,7 @@ st156: ...@@ -2605,7 +2606,7 @@ st156:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof156; goto _test_eof156;
case 156: case 156:
#line 2609 "src/Utils/IP.cpp" #line 2610 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2620,7 +2621,7 @@ case 156: ...@@ -2620,7 +2621,7 @@ case 156:
goto tr156; goto tr156;
goto st0; goto st0;
tr160: tr160:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2629,7 +2630,7 @@ st157: ...@@ -2629,7 +2630,7 @@ st157:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof157; goto _test_eof157;
case 157: case 157:
#line 2633 "src/Utils/IP.cpp" #line 2634 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2644,7 +2645,7 @@ case 157: ...@@ -2644,7 +2645,7 @@ case 157:
goto tr158; goto tr158;
goto st0; goto st0;
tr161: tr161:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2653,7 +2654,7 @@ st158: ...@@ -2653,7 +2654,7 @@ st158:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof158; goto _test_eof158;
case 158: case 158:
#line 2657 "src/Utils/IP.cpp" #line 2658 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2668,7 +2669,7 @@ case 158: ...@@ -2668,7 +2669,7 @@ case 158:
goto tr159; goto tr159;
goto st0; goto st0;
tr117: tr117:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2677,7 +2678,7 @@ st159: ...@@ -2677,7 +2678,7 @@ st159:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof159; goto _test_eof159;
case 159: case 159:
#line 2681 "src/Utils/IP.cpp" #line 2682 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 53u: goto tr162; case 53u: goto tr162;
...@@ -2696,7 +2697,7 @@ case 159: ...@@ -2696,7 +2697,7 @@ case 159:
goto tr163; goto tr163;
goto st0; goto st0;
tr162: tr162:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2705,7 +2706,7 @@ st160: ...@@ -2705,7 +2706,7 @@ st160:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof160; goto _test_eof160;
case 160: case 160:
#line 2709 "src/Utils/IP.cpp" #line 2710 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2723,7 +2724,7 @@ case 160: ...@@ -2723,7 +2724,7 @@ case 160:
goto tr158; goto tr158;
goto st0; goto st0;
tr163: tr163:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2732,7 +2733,7 @@ st161: ...@@ -2732,7 +2733,7 @@ st161:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof161; goto _test_eof161;
case 161: case 161:
#line 2736 "src/Utils/IP.cpp" #line 2737 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2747,7 +2748,7 @@ case 161: ...@@ -2747,7 +2748,7 @@ case 161:
goto tr158; goto tr158;
goto st0; goto st0;
tr118: tr118:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2756,7 +2757,7 @@ st162: ...@@ -2756,7 +2757,7 @@ st162:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof162; goto _test_eof162;
case 162: case 162:
#line 2760 "src/Utils/IP.cpp" #line 2761 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st75; case 58u: goto st75;
...@@ -2771,7 +2772,7 @@ case 162: ...@@ -2771,7 +2772,7 @@ case 162:
goto tr156; goto tr156;
goto st0; goto st0;
tr119: tr119:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2780,7 +2781,7 @@ st163: ...@@ -2780,7 +2781,7 @@ st163:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof163; goto _test_eof163;
case 163: case 163:
#line 2784 "src/Utils/IP.cpp" #line 2785 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st75; goto st75;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2926,7 +2927,7 @@ case 83: ...@@ -2926,7 +2927,7 @@ case 83:
goto tr114; goto tr114;
goto st0; goto st0;
tr114: tr114:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2935,7 +2936,7 @@ st164: ...@@ -2935,7 +2936,7 @@ st164:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof164; goto _test_eof164;
case 164: case 164:
#line 2939 "src/Utils/IP.cpp" #line 2940 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 48u: goto tr164; case 48u: goto tr164;
case 49u: goto tr165; case 49u: goto tr165;
...@@ -2951,7 +2952,7 @@ case 164: ...@@ -2951,7 +2952,7 @@ case 164:
goto tr168; goto tr168;
goto st0; goto st0;
tr164: tr164:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2960,7 +2961,7 @@ st165: ...@@ -2960,7 +2961,7 @@ st165:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof165; goto _test_eof165;
case 165: case 165:
#line 2964 "src/Utils/IP.cpp" #line 2965 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -2975,7 +2976,7 @@ case 165: ...@@ -2975,7 +2976,7 @@ case 165:
goto tr169; goto tr169;
goto st0; goto st0;
tr169: tr169:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -2984,7 +2985,7 @@ st166: ...@@ -2984,7 +2985,7 @@ st166:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof166; goto _test_eof166;
case 166: case 166:
#line 2988 "src/Utils/IP.cpp" #line 2989 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st84; goto st84;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -2997,7 +2998,7 @@ case 166: ...@@ -2997,7 +2998,7 @@ case 166:
goto tr171; goto tr171;
goto st0; goto st0;
tr171: tr171:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3006,7 +3007,7 @@ st167: ...@@ -3006,7 +3007,7 @@ st167:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof167; goto _test_eof167;
case 167: case 167:
#line 3010 "src/Utils/IP.cpp" #line 3011 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st84; goto st84;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -3019,7 +3020,7 @@ case 167: ...@@ -3019,7 +3020,7 @@ case 167:
goto tr172; goto tr172;
goto st0; goto st0;
tr172: tr172:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3028,7 +3029,7 @@ st168: ...@@ -3028,7 +3029,7 @@ st168:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof168; goto _test_eof168;
case 168: case 168:
#line 3032 "src/Utils/IP.cpp" #line 3033 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st84; goto st84;
goto st0; goto st0;
...@@ -3051,7 +3052,7 @@ case 84: ...@@ -3051,7 +3052,7 @@ case 84:
goto tr119; goto tr119;
goto st0; goto st0;
tr165: tr165:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3060,7 +3061,7 @@ st169: ...@@ -3060,7 +3061,7 @@ st169:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof169; goto _test_eof169;
case 169: case 169:
#line 3064 "src/Utils/IP.cpp" #line 3065 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -3075,7 +3076,7 @@ case 169: ...@@ -3075,7 +3076,7 @@ case 169:
goto tr169; goto tr169;
goto st0; goto st0;
tr173: tr173:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3084,7 +3085,7 @@ st170: ...@@ -3084,7 +3085,7 @@ st170:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof170; goto _test_eof170;
case 170: case 170:
#line 3088 "src/Utils/IP.cpp" #line 3089 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -3099,7 +3100,7 @@ case 170: ...@@ -3099,7 +3100,7 @@ case 170:
goto tr171; goto tr171;
goto st0; goto st0;
tr174: tr174:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3108,7 +3109,7 @@ st171: ...@@ -3108,7 +3109,7 @@ st171:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof171; goto _test_eof171;
case 171: case 171:
#line 3112 "src/Utils/IP.cpp" #line 3113 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -3123,7 +3124,7 @@ case 171: ...@@ -3123,7 +3124,7 @@ case 171:
goto tr172; goto tr172;
goto st0; goto st0;
tr166: tr166:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3132,7 +3133,7 @@ st172: ...@@ -3132,7 +3133,7 @@ st172:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof172; goto _test_eof172;
case 172: case 172:
#line 3136 "src/Utils/IP.cpp" #line 3137 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 53u: goto tr175; case 53u: goto tr175;
...@@ -3151,7 +3152,7 @@ case 172: ...@@ -3151,7 +3152,7 @@ case 172:
goto tr176; goto tr176;
goto st0; goto st0;
tr175: tr175:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3160,7 +3161,7 @@ st173: ...@@ -3160,7 +3161,7 @@ st173:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof173; goto _test_eof173;
case 173: case 173:
#line 3164 "src/Utils/IP.cpp" #line 3165 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -3178,7 +3179,7 @@ case 173: ...@@ -3178,7 +3179,7 @@ case 173:
goto tr171; goto tr171;
goto st0; goto st0;
tr176: tr176:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3187,7 +3188,7 @@ st174: ...@@ -3187,7 +3188,7 @@ st174:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof174; goto _test_eof174;
case 174: case 174:
#line 3191 "src/Utils/IP.cpp" #line 3192 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -3202,7 +3203,7 @@ case 174: ...@@ -3202,7 +3203,7 @@ case 174:
goto tr171; goto tr171;
goto st0; goto st0;
tr167: tr167:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3211,7 +3212,7 @@ st175: ...@@ -3211,7 +3212,7 @@ st175:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof175; goto _test_eof175;
case 175: case 175:
#line 3215 "src/Utils/IP.cpp" #line 3216 "src/Utils/IP.cpp"
switch( (*p) ) { switch( (*p) ) {
case 46u: goto st46; case 46u: goto st46;
case 58u: goto st84; case 58u: goto st84;
...@@ -3226,7 +3227,7 @@ case 175: ...@@ -3226,7 +3227,7 @@ case 175:
goto tr169; goto tr169;
goto st0; goto st0;
tr168: tr168:
#line 29 "src/Utils/IP.rl" #line 30 "src/Utils/IP.rl"
{ {
ip_family = AF_INET6; ip_family = AF_INET6;
} }
...@@ -3235,7 +3236,7 @@ st176: ...@@ -3235,7 +3236,7 @@ st176:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof176; goto _test_eof176;
case 176: case 176:
#line 3239 "src/Utils/IP.cpp" #line 3240 "src/Utils/IP.cpp"
if ( (*p) == 58u ) if ( (*p) == 58u )
goto st84; goto st84;
if ( (*p) < 65u ) { if ( (*p) < 65u ) {
...@@ -3443,7 +3444,7 @@ case 85: ...@@ -3443,7 +3444,7 @@ case 85:
_out: {} _out: {}
} }
#line 63 "src/Utils/IP.rl" #line 64 "src/Utils/IP.rl"
// Ensure that the parsing has consumed all the given length. // Ensure that the parsing has consumed all the given length.
if (ip_len == (size_t)(p - (const unsigned char*)ip)) if (ip_len == (size_t)(p - (const unsigned char*)ip))
...@@ -3462,17 +3463,25 @@ case 85: ...@@ -3462,17 +3463,25 @@ case 85:
switch (addr->sa_family) switch (addr->sa_family)
{ {
case AF_INET: case AF_INET:
{
err = uv_inet_ntop(AF_INET, &((struct sockaddr_in*)addr)->sin_addr, _ip, INET_ADDRSTRLEN); err = uv_inet_ntop(AF_INET, &((struct sockaddr_in*)addr)->sin_addr, _ip, INET_ADDRSTRLEN);
if (err) if (err)
MS_ABORT("uv_inet_ntop() failed: %s", uv_strerror(err)); MS_ABORT("uv_inet_ntop() failed: %s", uv_strerror(err));
*port = (uint16_t)ntohs(((struct sockaddr_in*)addr)->sin_port); *port = (uint16_t)ntohs(((struct sockaddr_in*)addr)->sin_port);
break; break;
}
case AF_INET6: case AF_INET6:
{
err = uv_inet_ntop(AF_INET6, &((struct sockaddr_in6*)addr)->sin6_addr, _ip, INET6_ADDRSTRLEN); err = uv_inet_ntop(AF_INET6, &((struct sockaddr_in6*)addr)->sin6_addr, _ip, INET6_ADDRSTRLEN);
if (err) if (err)
MS_ABORT("uv_inet_ntop() failed: %s", uv_strerror(err)); MS_ABORT("uv_inet_ntop() failed: %s", uv_strerror(err));
*port = (uint16_t)ntohs(((struct sockaddr_in6*)addr)->sin6_port); *port = (uint16_t)ntohs(((struct sockaddr_in6*)addr)->sin6_port);
break; break;
}
default: default:
MS_ABORT("unknown network family: %d", (int)addr->sa_family); MS_ABORT("unknown network family: %d", (int)addr->sa_family);
} }
......
#define MS_CLASS "Utils::IP" #define MS_CLASS "Utils::IP"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <uv.h> #include <uv.h>
namespace Utils namespace Utils
......
#define MS_CLASS "SignalsHandler" #define MS_CLASS "SignalsHandler"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "handles/SignalsHandler.h" #include "handles/SignalsHandler.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
/* Static methods for UV callbacks. */ /* Static methods for UV callbacks. */
......
#define MS_CLASS "TcpConnection" #define MS_CLASS "TcpConnection"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> // std::memcpy() #include <cstring> // std::memcpy()
#include <cstdlib> // std::malloc(), std::free() #include <cstdlib> // std::malloc(), std::free()
......
#define MS_CLASS "TcpServer" #define MS_CLASS "TcpServer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "handles/TcpServer.h" #include "handles/TcpServer.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
/* Static methods for UV callbacks. */ /* Static methods for UV callbacks. */
......
#define MS_CLASS "Timer" #define MS_CLASS "Timer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "handles/Timer.h" #include "handles/Timer.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Logger.h" #include "Logger.hpp"
/* Static methods for UV callbacks. */ /* Static methods for UV callbacks. */
......
#define MS_CLASS "UdpSocket" #define MS_CLASS "UdpSocket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "handles/UdpSocket.h" #include "handles/UdpSocket.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#define MS_READ_BUFFER_SIZE 65536 #define MS_READ_BUFFER_SIZE 65536
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
#define MS_CLASS "UnixStreamSocket" #define MS_CLASS "UnixStreamSocket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "handles/UnixStreamSocket.h" #include "handles/UnixStreamSocket.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> // std::memcpy() #include <cstring> // std::memcpy()
#include <cstdlib> // std::malloc(), std::free() #include <cstdlib> // std::malloc(), std::free()
......
#define MS_CLASS "main" #define MS_CLASS "main"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "common.h" #include "common.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "DepOpenSSL.h" #include "DepOpenSSL.hpp"
#include "DepLibSRTP.h" #include "DepLibSRTP.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpServer.h" #include "RTC/TcpServer.hpp"
#include "RTC/DtlsTransport.h" #include "RTC/DtlsTransport.hpp"
#include "RTC/SrtpSession.h" #include "RTC/SrtpSession.hpp"
#include "Loop.h" #include "Loop.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <map> #include <map>
#include <string> #include <string>
#include <iostream> // std::cout, std::cerr, std::endl #include <iostream> // std::cout, std::cerr, std::endl
......
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef MS_TEST_HELPERS_H #ifndef MS_TEST_HELPERS_HPP
#define MS_TEST_HELPERS_H #define MS_TEST_HELPERS_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <fstream> #include <fstream>
......
#include "include/catch.hpp" #include "include/catch.hpp"
#include "common.h" #include "common.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "RTC/RtpDataCounter.h" #include "RTC/RtpDataCounter.hpp"
#include <vector> #include <vector>
using namespace RTC; using namespace RTC;
......
#include "include/catch.hpp" #include "include/catch.hpp"
#include "common.h" #include "common.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RtpStreamSend.h" #include "RTC/RtpStreamSend.hpp"
#include <vector> #include <vector>
using namespace RTC; using namespace RTC;
......
#include "include/catch.hpp" #include "include/catch.hpp"
#include "include/helpers.h" #include "include/helpers.hpp"
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/Bye.h" #include "RTC/RTCP/Bye.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "RTC/RTCP/FeedbackPsAfb.h" #include "RTC/RTCP/FeedbackPsAfb.hpp"
#include <string> #include <string>
using namespace RTC::RTCP; using namespace RTC::RTCP;
......
#include "include/catch.hpp" #include "include/catch.hpp"
#include "include/helpers.h" #include "include/helpers.hpp"
#include "common.h" #include "common.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
using namespace RTC; using namespace RTC;
......
#define CATCH_CONFIG_RUNNER #define CATCH_CONFIG_RUNNER
#include "include/catch.hpp" #include "include/catch.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "LogLevel.h" #include "LogLevel.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "DepOpenSSL.h" #include "DepOpenSSL.hpp"
#include "Utils.h" #include "Utils.hpp"
static void init(); static void init();
static void destroy(); static void destroy();
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论