mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-24 16:15:37 +02:00
show bandwidth caps for hops
This commit is contained in:
parent
ee8449fa05
commit
fd4513ebb2
3 changed files with 30 additions and 4 deletions
libi2pd
|
@ -258,6 +258,7 @@ namespace data
|
|||
bool IsHighCongestion (bool highBandwidth) const;
|
||||
|
||||
uint8_t GetCaps () const { return m_Caps; };
|
||||
char GetBandwidthCap() const { return m_BandwidthCap; };
|
||||
void SetCaps (uint8_t caps) { m_Caps = caps; };
|
||||
|
||||
Congestion GetCongestion () const { return m_Congestion; };
|
||||
|
@ -329,6 +330,7 @@ namespace data
|
|||
bool m_IsUpdated, m_IsUnreachable;
|
||||
CompatibleTransports m_SupportedTransports, m_ReachableTransports;
|
||||
uint8_t m_Caps;
|
||||
char m_BandwidthCap;
|
||||
int m_Version;
|
||||
Congestion m_Congestion;
|
||||
mutable std::shared_ptr<RouterProfile> m_Profile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue