Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
q2ns::SwapApp::SessionConfig Struct Reference

#include <q2ns-swap-app.h>

Collaboration diagram for q2ns::SwapApp::SessionConfig:

Public Attributes

uint64_t sid {0}
 
Role role {Role::Repeater}
 
ns3::Time start {ns3::Seconds(0.0)}
 
std::string proto {"udp"}
 
uint16_t ctrlPort {7000}
 
uint64_t prevPeerId {0}
 
uint64_t nextPeerId {0}
 
ns3::Ipv4Address prevEndAddr {ns3::Ipv4Address("0.0.0.0")}
 
ns3::Ipv4Address nextEndAddr {ns3::Ipv4Address("0.0.0.0")}
 
ns3::Ipv6Address prevEndAddr6 {ns3::Ipv6Address::GetAny()}
 
ns3::Ipv6Address nextEndAddr6 {ns3::Ipv6Address::GetAny()}
 
uint64_t expectedMsgs {1}
 
bool genPrev {false}
 
bool genNext {false}
 
bool applyCorrections {false}
 
bool verifyFidelity {false}
 
double verifyThreshold {0.90}
 

Detailed Description

Definition at line 44 of file q2ns-swap-app.h.

Member Data Documentation

◆ applyCorrections

bool q2ns::SwapApp::SessionConfig::applyCorrections {false}

Definition at line 63 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::TryApply().

◆ ctrlPort

uint16_t q2ns::SwapApp::SessionConfig::ctrlPort {7000}

◆ expectedMsgs

uint64_t q2ns::SwapApp::SessionConfig::expectedMsgs {1}

Definition at line 60 of file q2ns-swap-app.h.

◆ genNext

bool q2ns::SwapApp::SessionConfig::genNext {false}

◆ genPrev

bool q2ns::SwapApp::SessionConfig::genPrev {false}

Definition at line 61 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::DoRepeaterRound().

◆ nextEndAddr

ns3::Ipv4Address q2ns::SwapApp::SessionConfig::nextEndAddr {ns3::Ipv4Address("0.0.0.0")}

Definition at line 55 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::MaybeDoBsmAndAnnounce().

◆ nextEndAddr6

ns3::Ipv6Address q2ns::SwapApp::SessionConfig::nextEndAddr6 {ns3::Ipv6Address::GetAny()}

Definition at line 57 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::MaybeDoBsmAndAnnounce().

◆ nextPeerId

uint64_t q2ns::SwapApp::SessionConfig::nextPeerId {0}

◆ prevEndAddr

ns3::Ipv4Address q2ns::SwapApp::SessionConfig::prevEndAddr {ns3::Ipv4Address("0.0.0.0")}

Definition at line 54 of file q2ns-swap-app.h.

◆ prevEndAddr6

ns3::Ipv6Address q2ns::SwapApp::SessionConfig::prevEndAddr6 {ns3::Ipv6Address::GetAny()}

Definition at line 56 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::MaybeDoBsmAndAnnounce().

◆ prevPeerId

uint64_t q2ns::SwapApp::SessionConfig::prevPeerId {0}

Definition at line 52 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::DoRepeaterRound().

◆ proto

std::string q2ns::SwapApp::SessionConfig::proto {"udp"}

◆ role

Role q2ns::SwapApp::SessionConfig::role {Role::Repeater}

◆ sid

◆ start

ns3::Time q2ns::SwapApp::SessionConfig::start {ns3::Seconds(0.0)}

Definition at line 47 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::ScheduleSession().

◆ verifyFidelity

bool q2ns::SwapApp::SessionConfig::verifyFidelity {false}

Definition at line 65 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::TryApply().

◆ verifyThreshold

double q2ns::SwapApp::SessionConfig::verifyThreshold {0.90}

Definition at line 66 of file q2ns-swap-app.h.

Referenced by q2ns::SwapApp::TryApply().


The documentation for this struct was generated from the following file: