dsr, internet, wifi: Fix spelling typos

This commit is contained in:
Eduardo Almeida
2024-04-27 16:19:36 +01:00
parent ddb530c956
commit 65a7eccdec
18 changed files with 31 additions and 31 deletions

View File

@@ -477,7 +477,7 @@ class DsrMaintainBuffer
/**
* Set maintain buffer timeout
* \param t the maintain buffer timeoout
* \param t the maintain buffer timeout
*/
void SetMaintainBufferTimeout(Time t)
{

View File

@@ -384,7 +384,7 @@ class DsrOptionRreqHeader : public DsrOptionHeader
*/
Ipv4Address m_target;
/**
* Ipv4 address to write when desearizing the packet
* Ipv4 address to write when deserializing the packet
*/
Ipv4Address m_address;
/**
@@ -673,7 +673,7 @@ class DsrOptionSRHeader : public DsrOptionHeader
private:
/**
* \brief The ip address header deserilize to
* \brief The ip address header deserialize to
*/
Ipv4Address m_address;
/**
@@ -681,7 +681,7 @@ class DsrOptionSRHeader : public DsrOptionHeader
*/
uint8_t m_segmentsLeft;
/**
* \brief Number of savlage times for a packet.
* \brief Number of salvage times for a packet.
*/
uint8_t m_salvage;
/**
@@ -821,7 +821,7 @@ class DsrOptionRerrHeader : public DsrOptionHeader
*/
uint8_t m_errorType;
/**
* \brief The salavage field
* \brief The salvage field
*/
uint8_t m_salvage;
/**
@@ -976,7 +976,7 @@ class DsrOptionRerrUnreachHeader : public DsrOptionRerrHeader
*/
uint8_t m_errorType;
/**
* \brief The salavage field
* \brief The salvage field
*/
uint8_t m_salvage;
/**
@@ -1122,7 +1122,7 @@ class DsrOptionRerrUnsupportedHeader : public DsrOptionRerrHeader
*/
uint8_t m_errorType;
/**
* \brief The salavage field
* \brief The salvage field
*/
uint8_t m_salvage;
/**

View File

@@ -799,7 +799,7 @@ DsrRouteCache::DeleteAllRoutesIncludeLink(Ipv4Address errorSrc,
auto i = m_nodeCache.find(errorSrc);
if (i == m_nodeCache.end())
{
NS_LOG_LOGIC("Update the node stability unsuccessfuly");
NS_LOG_LOGIC("Update the node stability unsuccessfully");
}
else
{
@@ -808,7 +808,7 @@ DsrRouteCache::DeleteAllRoutesIncludeLink(Ipv4Address errorSrc,
i = m_nodeCache.find(unreachNode);
if (i == m_nodeCache.end())
{
NS_LOG_LOGIC("Update the node stability unsuccessfuly");
NS_LOG_LOGIC("Update the node stability unsuccessfully");
}
else
{

View File

@@ -136,7 +136,7 @@ DsrRouting::GetTypeId()
.AddAttribute(
"PassiveBuffer",
"The passive buffer to manage "
"promisucously received passive ack.",
"promiscuously received passive ack.",
PointerValue(nullptr),
MakePointerAccessor(&DsrRouting::SetPassiveBuffer, &DsrRouting::GetPassiveBuffer),
MakePointerChecker<DsrPassiveBuffer>())
@@ -1122,7 +1122,7 @@ DsrRouting::PromiscReceive(Ptr<NetDevice> device,
/*
* Message type 2 means the data packet, we will further process the data
* packet for delivery notification, safely ignore control packet
* Another check here is our own address, if this is the data destinated for us,
* Another check here is our own address, if this is the data destined for us,
* process it further, otherwise, just ignore it
*/
Ipv4Address ourAddress = m_ipv4->GetAddress(1, 0).GetLocal();

View File

@@ -373,7 +373,7 @@ class DsrRreqTable : public Object
Time MaxRequestPeriod;
/// The original request period
Time RequestPeriod;
/// The non-propagaton request timeout
/// The non-propagation request timeout
Time NonpropRequestTimeout;
/// The source route entry expire time
Time m_rreqEntryExpire;

View File

@@ -55,7 +55,7 @@
*
* Expected Outputs:
* IPv4 (default):
* Generate ARP caches for all deveices (default) :
* Generate ARP caches for all devices (default) :
* \verbatim
ARP Cache of node 0 at time 0
10.1.1.2 dev 0 lladdr 02-06-00:00:00:00:00:02 STATIC_AUTOGENERATED
@@ -149,7 +149,7 @@
(size=512) AND (seq=14 time=+1.00001s) \endverbatim
*
* IPv6 (--useIPv6):
* Generate NDISC caches for all deveices (default) :
* Generate NDISC caches for all devices (default) :
* \verbatim
NDISC Cache of node 0 at time +0s
2001:1::200:ff:fe00:2 dev 0 lladdr 02-06-00:00:00:00:00:02 STATIC_AUTOGENERATED

View File

@@ -314,7 +314,7 @@ class ArpCache : public Object
Address m_macAddress; //!< entry's MAC address
Ipv4Address m_ipv4Address; //!< entry's IP address
std::list<Ipv4PayloadHeaderPair> m_pending; //!< list of pending packets for the entry's IP
uint32_t m_retries; //!< rerty counter
uint32_t m_retries; //!< retry counter
};
private:

View File

@@ -261,7 +261,7 @@ ArpL3Protocol::Receive(Ptr<NetDevice> device,
else
{
// ignore this reply which might well be an attempt
// at poisening my arp cache.
// at poisoning my arp cache.
NS_LOG_LOGIC("node=" << m_node->GetId() << ", got reply from "
<< arp.GetSourceIpv4Address()
<< " for non-waiting entry -- drop");

View File

@@ -128,7 +128,7 @@ SPFVertex::~SPFVertex()
NS_LOG_FUNCTION(this);
NS_LOG_LOGIC("Children vertices - " << m_children);
NS_LOG_LOGIC("Parent verteices - " << m_parents);
NS_LOG_LOGIC("Parent vertices - " << m_parents);
// find this node from all its parents and remove the entry of this node
// from all its parents
@@ -284,7 +284,7 @@ SPFVertex::SetRootExitDirection(Ipv4Address nextHop, int32_t id)
// always maintain only one root's exit
m_ecmpRootExits.clear();
m_ecmpRootExits.emplace_back(nextHop, id);
// update the following in order to be backward compatitable with
// update the following in order to be backward compatible with
// GetNextHop and GetOutgoingInterface methods
m_nextHop = nextHop;
m_rootOif = id;
@@ -1023,7 +1023,7 @@ GlobalRouteManagerImpl::SPFNexthopCalculation(SPFVertex* v,
//
// In the case of point-to-point links, the link data field (m_linkData) of a
// Global Router Link Record contains the local IP address. If we look at the
// link record describing the link from the perspecive of <w> (the remote
// link record describing the link from the perspective of <w> (the remote
// node from the viewpoint of <v>) back to the root node, we can discover the
// IP address of the router to which <v> is adjacent. This is a distinguished
// address -- the next hop address to get from <v> to <w> and all networks
@@ -1972,7 +1972,7 @@ GlobalRouteManagerImpl::SPFIntraAddRouter(SPFVertex* v)
//
// Iterate through the link records on the vertex to which we're going to add
// routes. To make sure we're being clear, we're going to add routing table
// entries to the tables on the node corresping to the root of the SPF tree.
// entries to the tables on the node corresponding to the root of the SPF tree.
// These entries will have routes to the IP addresses we find from looking at
// the local side of the point-to-point links found on the node described by
// the vertex <v>.

View File

@@ -395,7 +395,7 @@ class Icmpv6L4Protocol : public IpL4Protocol
/**
* \brief Create a neighbor cache.
* \param device thet NetDevice
* \param device the NetDevice
* \param interface the IPv6 interface
* \return a smart pointer of NdCache or 0 if problem
*/
@@ -642,7 +642,7 @@ class Icmpv6L4Protocol : public IpL4Protocol
/**
* \brief Multicast RS retransmissions counter [\RFC{7559}].
*
* Zero indicate a first transmission, greater than zero means retranmsisisons.
* Zero indicate a first transmission, greater than zero means retransmissions.
*/
uint32_t m_rsRetransmissionCount{0};

View File

@@ -239,7 +239,7 @@ class Ipv4GlobalRouting : public Ipv4RoutingProtocol
/// Set to true if packets are randomly routed among ECMP; set to false for using only one route
/// consistently
bool m_randomEcmpRouting;
/// Set to true if this interface should respond to interface events by globallly recomputing
/// Set to true if this interface should respond to interface events by globally recomputing
/// routes
bool m_respondToInterfaceEvents;
/// A uniform random number generator for randomly routing packets among ECMP

View File

@@ -1461,7 +1461,7 @@ Ipv4L3Protocol::DoFragmentation(Ptr<Packet> packet,
// BEWARE: here we do assume that the header options are not present.
// a much more complex handling is necessary in case there are options.
// If (when) IPv4 option headers will be implemented, the following code shall be changed.
// Of course also the reassemby code shall be changed as well.
// Of course also the reassembly code shall be changed as well.
NS_LOG_FUNCTION(this << *packet << outIfaceMtu << &listFragments);

View File

@@ -575,7 +575,7 @@ class Ipv4L3Protocol : public Ipv4
/**
* \brief Get the complete part of the packet.
* \return the part we have comeplete
* \return the part we have complete
*/
Ptr<Packet> GetPartialPacket() const;

View File

@@ -106,7 +106,7 @@ TcpRateLinux::GenerateSample(uint32_t delivered,
/* Normally we expect m_interval >= minRtt.
* Note that rate may still be over-estimated when a spuriously
* retransmistted skb was first (s)acked because "interval_us"
* retransmitted skb was first (s)acked because "interval_us"
* is under-estimated (up to an RTT). However continuously
* measuring the delivery rate during loss recovery is crucial
* for connections suffer heavy or prolonged losses.

View File

@@ -95,7 +95,7 @@ class TcpRecoveryOps : public Object
* The function is called when the TcpSocketState is changed to CA_RECOVERY.
*
* \param tcb internal congestion state
* \param dupAckCount duplicate acknowldgement count
* \param dupAckCount duplicate acknowledgement count
* \param unAckDataCount total bytes of data unacknowledged
* \param deliveredBytes bytes (S)ACKed in the last (S)ACK
*/

View File

@@ -866,8 +866,8 @@ TcpTxBuffer::Update(const TcpOptionSack::SackList& list, const Callback<void, Tc
NS_ASSERT((*(m_sentList.begin()))->m_sacked == false);
NS_ASSERT_MSG(m_sentSize >= m_sackedOut + m_lostOut, *this);
// NS_ASSERT (list.size () == 0 || modified); // Assert for duplicated SACK or
// impossiblity to map the option into the sent blocks
// Assert for duplicated SACK or impossibility to map the option into the sent blocks
// NS_ASSERT (list.size () == 0 || modified);
ConsistencyCheck();
return bytesSacked;
}

View File

@@ -44,7 +44,7 @@
// Note that the program checks the consistency between the selected standard
// the selected preamble type.
//
// The output of the program displays InterfenceHelper and SpectrumWifiPhy trace
// The output of the program displays InterferenceHelper and SpectrumWifiPhy trace
// logs associated to the chosen scenario.
//

View File

@@ -110,7 +110,7 @@ enum WifiPowerManagementMode : uint8_t
│ │ ┌─────────────────────────────────────┐ │ │
│ │ │ │ │ │
│ ┌─────────────▼─▼──┐ ┌──────────────┐ ┌───┴──▼────┴───────────────────┐
└──► Unassociated ├───────► Scanning ├───────► Wait AssociationiResponse │
└──► Unassociated ├───────► Scanning ├───────► Wait Association Response │
└──────────────────┘ └──────┬──▲────┘ └───────────────┬──▲────────────┘
│ │ │ │
│ │ │ │