LeviLamina
Loading...
Searching...
No Matches
ReceivedPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/EcnMarking.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class SocketAddress; }
11namespace webrtc { class Timestamp; }
12// clang-format on
13
14namespace rtc {
15
17public:
18 // ReceivedPacket inner types define
19 enum class DecryptionInfo : int {
20 KNotDecrypted = 0,
21 KDtlsDecrypted = 1,
22 KSrtpEncrypted = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 ReceivedPacket& operator=(ReceivedPacket const&);
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI ::rtc::ReceivedPacket CopyAndSet(::rtc::ReceivedPacket::DecryptionInfo) const;
45
46 MCAPI ReceivedPacket(
49 ::std::optional<::webrtc::Timestamp>,
50 ::rtc::EcnMarking,
51 ::rtc::ReceivedPacket::DecryptionInfo
52 );
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static ::rtc::ReceivedPacket CreateFromLegacy(uchar const*, uint64, int64, ::rtc::SocketAddress const&);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(
67 ::std::optional<::webrtc::Timestamp>,
68 ::rtc::EcnMarking,
69 ::rtc::ReceivedPacket::DecryptionInfo
70 );
71 // NOLINTEND
72};
73
74} // namespace rtc
Definition _HeaderOutputPredefine.h:238
Definition ReceivedPacket.h:16
Definition SocketAddress.h:12
Definition Alias.h:14