spell check, mostly in comments.
authorAndrey Mazo <mazo@iitp.ru>
Fri, 23 Apr 2010 15:09:31 +0400
changeset 6273 8d70de29d514
parent 6272 f52c6e3cae70
child 6274 3e8b3f2306c9
spell check, mostly in comments.
CHANGES.html
doc/manual/attributes.texi
doc/tutorial/in-process/other.texi
examples/mpi/third-distributed.cc
src/common/data-rate.h
src/common/nix-vector.h
src/common/propagation-loss-model.h
src/contrib/delay-jitter-estimation.h
src/contrib/topology-read/topology-reader.h
src/core/assert.h
src/core/attribute-helper.h
src/core/callback.h
src/core/names.h
src/core/object.h
src/core/ptr.h
src/core/random-variable.h
src/core/simple-ref-count.h
src/core/system-mutex.h
src/core/system-thread.h
src/core/test.h
src/devices/csma/backoff.h
src/devices/csma/csma-net-device.h
src/devices/csma/csma.h
src/devices/mesh/dot11s/hwmp-protocol-mac.h
src/devices/mesh/dot11s/hwmp-protocol.h
src/devices/mesh/dot11s/ie-dot11s-beacon-timing.h
src/devices/mesh/dot11s/ie-dot11s-preq.h
src/devices/mesh/dot11s/peer-link.h
src/devices/mesh/dot11s/peer-management-protocol-mac.cc
src/devices/mesh/dot11s/peer-management-protocol.h
src/devices/mesh/dot11s/test/hwmp-reactive-regression.h
src/devices/mesh/flame/flame-protocol.cc
src/devices/mesh/mesh-l2-routing-protocol.h
src/devices/mesh/mesh-point-device.h
src/devices/point-to-point/point-to-point-channel.h
src/devices/point-to-point/point-to-point-net-device.h
src/devices/point-to-point/point-to-point.h
src/devices/tap-bridge/tap-bridge.h
src/devices/tap-bridge/tap.h
src/devices/wifi/amrr-wifi-manager.cc
src/devices/wifi/block-ack-manager.h
src/devices/wifi/ctrl-headers.h
src/devices/wifi/dcf-manager.h
src/devices/wifi/edca-txop-n.h
src/devices/wifi/mac-low.h
src/devices/wifi/msdu-standard-aggregator.h
src/devices/wifi/originator-block-ack-agreement.h
src/devices/wifi/wifi-mac.h
src/devices/wifi/wifi-mode.h
src/devices/wifi/wifi-phy.h
src/devices/wifi/wifi.h
src/devices/wifi/yans-wifi-phy.h
src/devices/wimax/bs-net-device.h
src/devices/wimax/bs-scheduler-rtps.h
src/devices/wimax/bs-scheduler-simple.h
src/devices/wimax/bs-scheduler.h
src/devices/wimax/bs-service-flow-manager.h
src/devices/wimax/bs-uplink-scheduler-mbqos.cc
src/devices/wimax/bs-uplink-scheduler-mbqos.h
src/devices/wimax/bs-uplink-scheduler-rtps.h
src/devices/wimax/cid.h
src/devices/wimax/ipcs-classifier-record.h
src/devices/wimax/service-flow-record.h
src/devices/wimax/service-flow.h
src/devices/wimax/simple-ofdm-send-param.h
src/devices/wimax/snr-to-block-error-rate-manager.h
src/devices/wimax/ss-net-device.h
src/devices/wimax/ss-scheduler.h
src/devices/wimax/wimax-mac-header.h
src/devices/wimax/wimax-mac-queue.h
src/devices/wimax/wimax-mac-to-mac-header.h
src/helper/application-container.h
src/helper/bridge-helper.h
src/helper/csma-helper.h
src/helper/emu-helper.h
src/helper/ipv4-address-helper.h
src/helper/ipv4-interface-container.h
src/helper/ipv6-address-helper.h
src/helper/mesh-helper.h
src/helper/node-container.h
src/helper/point-to-point-grid-helper.h
src/helper/qos-wifi-mac-helper.h
src/helper/tap-bridge-helper.h
src/helper/topology-reader-helper.h
src/helper/udp-client-server-helper.h
src/helper/v4ping-helper.h
src/helper/wimax-helper.h
src/internet-stack/icmpv6-l4-protocol.h
src/internet-stack/ipv6-extension-header-test-suite.cc
src/internet-stack/ipv6-l3-protocol.h
src/internet-stack/ipv6-option-header.h
src/internet-stack/ipv6-test.cc
src/internet-stack/nsc-tcp-l4-protocol.h
src/internet-stack/nsc-tcp-socket-impl.h
src/internet-stack/tcp-l4-protocol.h
src/internet-stack/tcp-socket-impl.cc
src/internet-stack/tcp-socket-impl.h
src/internet-stack/udp-l4-protocol.h
src/mobility/hierarchical-mobility-model.h
src/node/application.h
src/node/ipv4.h
src/node/ipv6-address.h
src/node/ipv6.h
src/node/net-device.h
src/node/packetbb.h
src/node/queue.h
src/routing/global-routing/candidate-queue.h
src/routing/global-routing/global-route-manager-impl.cc
src/routing/global-routing/global-route-manager-impl.h
src/routing/global-routing/global-router-interface.h
src/routing/global-routing/ipv4-global-routing.h
src/routing/nix-vector-routing/ipv4-nix-vector-routing.h
src/routing/olsr/olsr.h
src/routing/static-routing/ipv4-static-routing.h
src/routing/static-routing/ipv6-routing-table-entry.h
src/simulator/nstime.h
src/simulator/realtime-simulator-impl.cc
src/simulator/synchronizer.h
src/simulator/wall-clock-synchronizer.h
src/test/ns3tcp/receive-list-error-model.cc
src/test/ns3tcp/receive-list-error-model.h
src/test/ns3wifi/ns3wifi.h
--- a/CHANGES.html	Fri Apr 23 14:53:30 2010 +0400
+++ b/CHANGES.html	Fri Apr 23 15:09:31 2010 +0400
@@ -1172,7 +1172,7 @@
 In the case of a receiver window collapse, when a advertised zero-window
 packet is received, the sender enters the persist probing state in which
 it sends probe packets with one payload byte at exponentially backed-off
-intervals up to 60s.  The reciever will continue to send advertised 
+intervals up to 60s.  The receiver will continue to send advertised 
 zero-window ACKs of the old data so long as the receiver buffer remains full.
 When the receiver window clears up due to an application read, the TCP
 will finally ACK the probe byte, and update its advertised window appropriately.
--- a/doc/manual/attributes.texi	Fri Apr 23 14:53:30 2010 +0400
+++ b/doc/manual/attributes.texi	Fri Apr 23 15:09:31 2010 +0400
@@ -527,7 +527,7 @@
 never fail due to the state of another Attribute.  No Attribute setter may 
 change (set) any other Attribute value as a result of changing its value.
 
-This is a very strong restriction and there are cases where Atrributes must
+This is a very strong restriction and there are cases where Attributes must
 set consistently to allow correct operation.  To this end we do allow for 
 consistency checking @emph{when the attribute is used} (cf. NS_ASSERT_MSG 
 or NS_ABORT_MSG).
--- a/doc/tutorial/in-process/other.texi	Fri Apr 23 14:53:30 2010 +0400
+++ b/doc/tutorial/in-process/other.texi	Fri Apr 23 15:09:31 2010 +0400
@@ -1787,7 +1787,7 @@
   AddConstructor<A> ();
 @end verbatim
 
-You can interpret this as explaining to the @command{ns-3} object ssytem that
+You can interpret this as explaining to the @command{ns-3} object system that
 you have a constructor named @code{A::A} which takes no parameters.  You are
 saying that this constructor should be used when @code{CreateObject} is called
 with no parameters.
--- a/examples/mpi/third-distributed.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/examples/mpi/third-distributed.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -193,7 +193,7 @@
       serverApps.Stop (Seconds (10.0));
     }
 
-  // If the simulator has sytem id 0, then 
+  // If the simulator has system id 0, then 
   // it should contain the client application, 
   // since it is on one of the wifi nodes
   if (systemId == 0)
--- a/src/common/data-rate.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/common/data-rate.h	Fri Apr 23 15:09:31 2010 +0400
@@ -77,7 +77,7 @@
    *
    * Construct a data rate from an integer.  This class only supports positive
    * integer data rates in units of bits/s, meaning 1bit/s is the smallest 
-   * non-trivial bitrate availiable.
+   * non-trivial bitrate available.
    * \param bps bit/s value
    */
   DataRate (uint64_t bps);
@@ -95,7 +95,7 @@
    *
    * Calculates the transmission time at this data rate
    * \param bytes The number of bytes (not bits) for which to calculate
-   * \return The tranmission time in seconds for the number of bytes specified
+   * \return The transmission time in seconds for the number of bytes specified
    */
   double CalculateTxTime(uint32_t bytes) const;
   
--- a/src/common/nix-vector.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/common/nix-vector.h	Fri Apr 23 15:09:31 2010 +0400
@@ -46,7 +46,7 @@
  * bits long and can store multiple neighbor-indexes.  A 
  * fair amount of bit manipulation is used to store these 
  * neighbor-indexes efficiently.  A vector is used so that 
- * the nix-vector can grow arbitraily if the topoplogy and 
+ * the nix-vector can grow arbitraily if the topology and 
  * route requires a large number of neighbor-indexes.
  *
  * As the nix-vector travels along the route, an internal 
--- a/src/common/propagation-loss-model.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/common/propagation-loss-model.h	Fri Apr 23 15:09:31 2010 +0400
@@ -167,7 +167,7 @@
    */
   double GetLambda (void) const;
   /**
-   * \returns the current system loss (dimention-less)
+   * \returns the current system loss (dimension-less)
    */
   double GetSystemLoss (void) const;
 
@@ -251,7 +251,7 @@
    */
   double GetLambda (void) const;
   /**
-   * \returns the current system loss (dimention-less)
+   * \returns the current system loss (dimension-less)
    */
   double GetSystemLoss (void) const;
   /**
--- a/src/contrib/delay-jitter-estimation.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/contrib/delay-jitter-estimation.h	Fri Apr 23 15:09:31 2010 +0400
@@ -22,7 +22,7 @@
    * record within the packet the tx time which is used upon
    * packet reception to calculate the delay and jitter. The
    * tx time is stored in the packet as an ns3::Tag which means
-   * that it does not use any network ressources and is not
+   * that it does not use any network resources and is not
    * taken into account in transmission delay calculations.
    */
   static void PrepareTx (Ptr<const Packet> packet);
--- a/src/contrib/topology-read/topology-reader.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/contrib/topology-read/topology-reader.h	Fri Apr 23 15:09:31 2010 +0400
@@ -125,7 +125,7 @@
   };
 
   /**
-   * \brief Contant iterator to the list of the links.
+   * \brief Constant iterator to the list of the links.
    */
   typedef std::list< Link >::const_iterator ConstLinksIterator;
 
--- a/src/core/assert.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/assert.h	Fri Apr 23 15:09:31 2010 +0400
@@ -43,7 +43,7 @@
 
 /**
  * \ingroup assert
- * \param condition condition to verifiy.
+ * \param condition condition to verify.
  *
  * At runtime, in debugging builds, if this condition is not
  * true, the program prints the source file, line number and 
@@ -66,7 +66,7 @@
 
 /**
  * \ingroup assert
- * \param condition condition to verifiy.
+ * \param condition condition to verify.
  * \param message message to output
  *
  * At runtime, in debugging builds, if this condition is not
--- a/src/core/attribute-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/attribute-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -82,7 +82,7 @@
  *  2) The more complex macros.
  *
  * The simple macros are implemented in terms of the complex
- * macros and should generally be prefered over the complex macros:
+ * macros and should generally be preferred over the complex macros:
  *    - \ref ATTRIBUTE_HELPER_HEADER, and,
  *    - \ref ATTRIBUTE_HELPER_CPP,
  */
--- a/src/core/callback.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/callback.h	Fri Apr 23 15:09:31 2010 +0400
@@ -371,7 +371,7 @@
   Callback () {}
 
   // There are two dummy args below to ensure that this constructor is
-  // always properly disambiguited by the c++ compiler
+  // always properly disambiguated by the c++ compiler
   template <typename FUNCTOR>
   Callback (FUNCTOR const &functor, bool, bool) 
     : CallbackBase (Create<FunctorCallbackImpl<FUNCTOR,R,T1,T2,T3,T4,T5,T6,T7,T8,T9> > (functor))
--- a/src/core/names.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/names.h	Fri Apr 23 15:09:31 2010 +0400
@@ -111,7 +111,7 @@
    * string actually refers to a previously named object, "under" which you want
    * to accomplish some naming action.
    * 
-   * However, the path is sometimes not avialable, and you only have the object 
+   * However, the path is sometimes not available, and you only have the object 
    * that is represented by the path in the names name space.  To support this 
    * use-case in a reasonably high-performance way, the path string is can be 
    * replaced by the object pointer to which that path would refer.  In the spirit
@@ -211,7 +211,7 @@
    * string actually refers to a previously named object, "under" which you want
    * to accomplish some naming action.
    * 
-   * However, the path is sometimes not avialable, and you only have the object 
+   * However, the path is sometimes not available, and you only have the object 
    * that is represented by the path in the names name space.  To support this 
    * use-case in a reasonably high-performance way, the path string is can be 
    * replaced by the object pointer to which that path would refer.  In the spirit
@@ -250,7 +250,7 @@
    *
    * This method returns the name of the object, e.g., "eth0".
    *
-   * \param object A spart pointer to an object for which you want to find
+   * \param object A smart pointer to an object for which you want to find
    *               its name.
    *
    * \returns a string containing the name of the object if found, otherwise
@@ -269,7 +269,7 @@
    *
    * This method returns the name path of the object, e.g., "Names/client/eth0".
    *
-   * \param object A spart pointer to an object for which you want to find
+   * \param object A smart pointer to an object for which you want to find
    *               its fullname.
    *
    * \returns a string containing the name path of the object, otherwise
@@ -341,7 +341,7 @@
    * convenient: Names::Find ("/Names/server/eth0") or, using the split path and 
    * name approach, Names::Find ("/Names/server", "eth0").
    *
-   * However, the path is sometimes not avialable, and you only have the object 
+   * However, the path is sometimes not available, and you only have the object 
    * that is represented by the path in the names name space.  To support this 
    * use-case in a reasonably high-performance way, the path string is can be 
    * replaced by the object pointer to which that path would refer.  In the spirit
@@ -393,7 +393,7 @@
    *
    * \brief Non-templated internal version of Names::Find
    *
-   * \param context A spart pointer to an object under which you want to look 
+   * \param context A smart pointer to an object under which you want to look 
    *                for the provided name.
    * \param name A string containing the name to look for.
    *
--- a/src/core/object.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/object.h	Fri Apr 23 15:09:31 2010 +0400
@@ -205,7 +205,7 @@
    * copy aggregated objects. i.e., if your object instance
    * is already aggregated to another object and if you invoke
    * this copy constructor, the new object instance will be
-   * a pristine standlone object instance not aggregated to
+   * a pristine standalone object instance not aggregated to
    * any other object. It is thus _your_ responsability
    * as a caller of this method to do what needs to be done
    * (if it is needed) to ensure that the object stays in a
--- a/src/core/ptr.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/ptr.h	Fri Apr 23 15:09:31 2010 +0400
@@ -51,7 +51,7 @@
  * If you want to store a newed object into a smart pointer,
  * we recommend you to use the Create template functions
  * to create the object and store it in a smart pointer to avoid
- * memory leaks. These functions are really small conveniance
+ * memory leaks. These functions are really small convenience
  * functions and their goal is just is save you a small
  * bit of typing.
  */
--- a/src/core/random-variable.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/random-variable.h	Fri Apr 23 15:09:31 2010 +0400
@@ -245,7 +245,7 @@
  * Class SequentialVariable defines a random number generator that
  * returns a sequential sequence.  The sequence monotonically
  * increases for a period, then wraps around to the low value
- * and begins monotonicaly increasing again.
+ * and begins monotonically increasing again.
  */
 class SequentialVariable : public RandomVariable
 {
@@ -506,7 +506,7 @@
    * \brief Construct a normal random variable with specified mean and variance
    * \param m Mean value
    * \param v Variance
-   * \param b Bound.  The NormalVariable is bounded symetrically about the mean
+   * \param b Bound.  The NormalVariable is bounded symmetrically about the mean
    * [mean-bound,mean+bound]
    */
   NormalVariable (double m, double v, double b);
@@ -521,8 +521,8 @@
  * series of calls to the CDF member function, specifying a
  * value and the probability that the function value is less than
  * the specified value.  When values are requested,
- * a uniform random variable is used to select a probabililty,
- * and the return value is interpreted linerarly between the
+ * a uniform random variable is used to select a probability,
+ * and the return value is interpreted linearly between the
  * two appropriate points in the CDF.  The method is known
  * as inverse transform sampling:
  * (http://en.wikipedia.org/wiki/Inverse_transform_sampling).
@@ -780,7 +780,7 @@
  * \brief Triangularly Distributed random var
  * \ingroup randomvariable
  *
- * This distribution is a triangular distribution.  The probablility density
+ * This distribution is a triangular distribution.  The probability density
  * is in the shape of a triangle.
  */
 class TriangularVariable : public RandomVariable
--- a/src/core/simple-ref-count.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/simple-ref-count.h	Fri Apr 23 15:09:31 2010 +0400
@@ -45,7 +45,7 @@
  * mandatory:
  *    - T: the typename of the subclass which derives from this template
  *      class. Yes, this is weird but it's a common C++ template pattern
- *      whose name is CRTP (Curriously Recursive Template Pattern)
+ *      whose name is CRTP (Curiously Recursive Template Pattern)
  *    - PARENT: the typename of the parent of this template. By default,
  *      this typename is 'ns3::empty' which is an empty class: compilers
  *      which implement the RBCO optimization (empty base class optimization)
@@ -75,7 +75,7 @@
    * Increment the reference count. This method should not be called
    * by user code. SimpleRefCount instances are expected to be used in
    * conjunction with the Ptr template which would make calling Ref
-   * unecessary and dangerous.
+   * unnecessary and dangerous.
    */
   inline void Ref (void) const
   {
@@ -85,7 +85,7 @@
    * Decrement the reference count. This method should not be called
    * by user code. SimpleRefCount instances are expected to be used in 
    * conjunction with the Ptr template which would make calling Ref
-   * unecessary and dangerous.
+   * unnecessary and dangerous.
    */
   inline void Unref (void) const
   {
--- a/src/core/system-mutex.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/system-mutex.h	Fri Apr 23 15:09:31 2010 +0400
@@ -71,7 +71,7 @@
  * @brief A class which provides a simple way to implement a Critical Section.
  *
  * When more than one SystemThread needs to access a shared resource, we
- * conrol access by acquiring a SystemMutex.  The CriticalSection class uses
+ * control access by acquiring a SystemMutex.  The CriticalSection class uses
  * the C++ scoping rules to automatically perform the required Lock and Unlock
  * operations to implement a Critical Section.
  *
--- a/src/core/system-thread.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/system-thread.h	Fri Apr 23 15:09:31 2010 +0400
@@ -142,7 +142,7 @@
    * read somehow.  This method also provides that functionality, by sending a
    * SIGALRM signal to the possibly blocked thread.
    *
-   * @warning Uses SIGALRM to notifiy threads possibly blocked on IO.  Beware
+   * @warning Uses SIGALRM to notify threads possibly blocked on IO.  Beware
    * if you are using signals.
    * @see Break
    */
--- a/src/core/test.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/core/test.h	Fri Apr 23 15:09:31 2010 +0400
@@ -540,7 +540,7 @@
  * \brief Test that an actual value is greater than a limit and report and abort
  * if not.
  *
- * Check to see if the actaul value found in a test case is greater than the 
+ * Check to see if the actual value found in a test case is greater than the 
  * limit value.  If the actual value is greater nothing happens, but if the 
  * check fails, an error is reported in a consistent way and the execution
  * of the current test case is aborted.
--- a/src/devices/csma/backoff.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/csma/backoff.h	Fri Apr 23 15:09:31 2010 +0400
@@ -42,7 +42,7 @@
   uint32_t m_minSlots; 
 
   /**
-   * Maximim number of backoff slots (when multiplied by m_slotTime, determines maximum backoff time)
+   * Maximum number of backoff slots (when multiplied by m_slotTime, determines maximum backoff time)
    */
   uint32_t m_maxSlots; 
 
--- a/src/devices/csma/csma-net-device.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/csma/csma-net-device.h	Fri Apr 23 15:09:31 2010 +0400
@@ -78,7 +78,7 @@
   virtual ~CsmaNetDevice ();
 
   /**
-   * Set the inteframe gap used to separate packets.  The interframe gap
+   * Set the interframe gap used to separate packets.  The interframe gap
    * defines the minimum space required between packets sent by this device.
    * As in Ethernet, it defaults to 96 bit times.
    *
@@ -337,7 +337,7 @@
 private:
 
   /**
-   * Operator = is declared but not implemented.  This disables the assigment
+   * Operator = is declared but not implemented.  This disables the assignment
    * operator for CsmaNetDevice objects.
    * \param o object to copy
    */
@@ -695,7 +695,7 @@
   static const uint16_t DEFAULT_MTU = 1500;
 
   /**
-   * The Maxmimum Transmission Unit.  This corresponds to the maximum 
+   * The Maximum Transmission Unit.  This corresponds to the maximum 
    * number of bytes that can be transmitted as seen from higher layers.
    * This corresponds to the 1500 byte MTU size often seen on IP over 
    * Ethernet.
--- a/src/devices/csma/csma.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/csma/csma.h	Fri Apr 23 15:09:31 2010 +0400
@@ -138,7 +138,7 @@
  *
  * \section CsmaNetDeviceModel CSMA Net Device Model
  *
- * The CSMA network device appears somewhat like an Ethernet device,, but it
+ * The CSMA network device appears somewhat like an Ethernet device, but it
  * is important to understand that it does not model an Ethernet device.  As
  * mentioned above, it does not model collisions.  The CSMA model also provides
  * users with the ability to configure the device into other states that are
@@ -151,7 +151,7 @@
  * - ReceiveEnable:     Enable packet reception if true;
  * - EncapsulationMode: Type of link layer encapsulation to use;
  * - RxErrorModel:      The receive error model;
- * - TxQueue:           The trasmit queue used by the device;
+ * - TxQueue:           The transmit queue used by the device;
  * - InterframeGap:     The optional time to wait between "frames";
  * - Rx:                A trace source for received packets;
  * - Drop:              A trace source for dropped packets.
@@ -274,13 +274,13 @@
  * the random exponential backoff handler if a timeout is detected.
  *
  * Case (3) implies that a packet is dequeued from the transmit queue if it is 
- * unable to be transmittted according to the backoff rules.  It is important 
+ * unable to be transmitted according to the backoff rules.  It is important 
  * to understand that this will appear as a Dequeued packet and it is easy to 
  * incorrectly assume that the packet was transmitted since it passed through
  * the transmit queue.  In fact, a packet is actually dropped by the net device
  * in this case.  The reason for this behavior is due to the definition of the 
  * Queue Drop event.  The m_traceDrop event is, by defintion, fired when a 
- * packet cannot be enqueued on the transmit queue becasue it is full.  This 
+ * packet cannot be enqueued on the transmit queue because it is full.  This 
  * event only fires if the queue is full and we do not overload this event
  * to indicate that the CsmaChannel is "full."
  *
--- a/src/devices/mesh/dot11s/hwmp-protocol-mac.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/hwmp-protocol-mac.h	Fri Apr 23 15:09:31 2010 +0400
@@ -59,17 +59,17 @@
   friend class HwmpProtocol;
   ///\returns a path selection action header
   static WifiActionHeader GetWifiActionHeader ();
-  ///\name Intercation with HWMP:
+  ///\name Interaction with HWMP:
   //\{
   void SendPreq (IePreq preq);
   void SendPreq (std::vector<IePreq> preq);
   void SendPrep (IePrep prep, Mac48Address receiver);
-  //Forward a peth error
+  //Forward a path error
   void ForwardPerr (std::vector<HwmpProtocol::FailedDestination> destinations, std::vector<Mac48Address> receivers);
   // initiate my own path error
   void InitiatePerr (std::vector<HwmpProtocol::FailedDestination> destinations, std::vector<Mac48Address> receivers);
   /** \brief Request a destination. If can not send preq immediately -
-   * add a destination to exisying PREQ generated by me and stored in
+   * add a destination to existing PREQ generated by me and stored in
    * PREQ queue
    * \param dest is the destination to be resolved
    * \param originator_seqno is a sequence number that shall be preq originator sequenece number
--- a/src/devices/mesh/dot11s/hwmp-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/hwmp-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -98,7 +98,7 @@
   struct PathError
   {
     std::vector<FailedDestination> destinations; ///< destination list: Mac48Address and sequence number
-    std::vector<std::pair<uint32_t, Mac48Address> > receivers; ///< list of PathError receivrs (in case of unicast PERR)
+    std::vector<std::pair<uint32_t, Mac48Address> > receivers; ///< list of PathError receivers (in case of unicast PERR)
   };
   /// Packet waiting its routing information
   struct QueuedPacket
@@ -138,7 +138,7 @@
   PathError MakePathError (std::vector<FailedDestination> destinations);
   ///\brief Forwards a received path error
   void ForwardPathError (PathError perr);
-  ///\brief Pasess a selg-generated PERR to interface-plugin
+  ///\brief Passes a self-generated PERR to interface-plugin
   void InitiatePathError (PathError perr);
   /// \return list of addresses where a PERR should be sent to
   std::vector<std::pair<uint32_t, Mac48Address> > GetPerrReceivers (std::vector<FailedDestination> failedDest);
--- a/src/devices/mesh/dot11s/ie-dot11s-beacon-timing.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/ie-dot11s-beacon-timing.h	Fri Apr 23 15:09:31 2010 +0400
@@ -62,7 +62,7 @@
 public:
   /**
    * \ingroup dot11s
-   * This type is a list of timing elements obtained from neigbours with their beacons:
+   * This type is a list of timing elements obtained from neighbours with their beacons:
    */
   typedef std::vector< Ptr<IeBeaconTimingUnit> > NeighboursTimingUnitsList;
 
--- a/src/devices/mesh/dot11s/ie-dot11s-preq.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/ie-dot11s-preq.h	Fri Apr 23 15:09:31 2010 +0400
@@ -132,7 +132,7 @@
   /**
    * how many destinations we support
    */
-  uint8_t m_maxSize; //TODO: make as an attrubute
+  uint8_t m_maxSize; //TODO: make as an attribute
   /**
    * Fields of information element:
    */
--- a/src/devices/mesh/dot11s/peer-link.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/peer-link.h	Fri Apr 23 15:09:31 2010 +0400
@@ -62,7 +62,7 @@
   /**
    * \brief Method used to detect peer link changes
    *
-   * \param cb is a callback, which notifyes, that on interface (uint32_t), peer link
+   * \param cb is a callback, which notifies, that on interface (uint32_t), peer link
    * with address (Mac48Address) was opened (bool is true) or closed (bool is false) 
    */
   void  SetLinkStatusCallback (Callback<void, uint32_t, Mac48Address, bool> cb);
@@ -120,7 +120,7 @@
     TOR1,       ///< Timeout of retry timer
     TOR2,       ///< also timeout of retry timer
     TOC,        ///< Timeout of confirm timer
-    TOH,        ///< Timeout of holding (gracefull closing) timer
+    TOH,        ///< Timeout of holding (graceful closing) timer
   };
   /// State transition
   void StateMachine (PeerEvent event, PmpReasonCode = REASON11S_RESERVED);
--- a/src/devices/mesh/dot11s/peer-management-protocol-mac.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/peer-management-protocol-mac.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -79,7 +79,7 @@
           m_protocol->ReceiveBeacon (m_ifIndex, header.GetAddr2 (), MicroSeconds (
               beacon_hdr.GetBeaconIntervalUs ()), beaconTiming);
         }
-      // Beacon shall not be dropeed. May be needed to another plugins
+      // Beacon shall not be dropped. May be needed to another plugins
       return true;
     }
   if (header.IsAction ())
--- a/src/devices/mesh/dot11s/peer-management-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/peer-management-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -167,7 +167,7 @@
   typedef std::map<uint32_t, PeerLinksOnInterface>  PeerLinksMap;
   /// This map keeps relationship between peer address and its beacon information
   typedef std::map<Mac48Address, BeaconInfo>  BeaconsOnInterface;
-  ///\brief This map keeps beacon information on all intefaces
+  ///\brief This map keeps beacon information on all interfaces
   typedef std::map<uint32_t, BeaconsOnInterface> BeaconInfoMap;
   ///\brief this vector keeps pointers to MAC-plugins
   typedef std::map<uint32_t, Ptr<PeerManagementProtocolMac> > PeerManagementProtocolMacMap;
--- a/src/devices/mesh/dot11s/test/hwmp-reactive-regression.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/dot11s/test/hwmp-reactive-regression.h	Fri Apr 23 15:09:31 2010 +0400
@@ -34,7 +34,7 @@
  * \verbatim
  *      1    2    3    4    5    6
  *      |    |    |    |    |<---|--->  ARP request (first attempt has failed!)
- *      |....|....|....|....|....|      ARP reauest
+ *      |....|....|....|....|....|      ARP request
  *      |<---|--->|    |    |    |      ARP request
  *  <---|--->|    |    |    |    |      PREQ       } This order is broken
  *  <---|--->|    |    |    |    |      ARP request} due to BroadcastDca 
@@ -51,13 +51,13 @@
  *      |....|....|....|....|....|      Data
  *      |<---|    |    |    |    |      Data
  *  <---|--->|    |    |    |    |      ARP request
- *      |....|....|....|....|....|      ARP reauest
+ *      |....|....|....|....|....|      ARP request
  *      |    |    |    |    |<---|--->  ARP request
  *      |    |    |    |    |<---|      ARP response
  *      |....|....|....|....|....|      ARP response
  *      |<---|    |    |    |    |      ARP response
  *      |--->|    |    |    |    |      Data
- * At 5 station number 4 dissapears, and PERR is forwarded from 3 to 1
+ * At 5 station number 4 disappears, and PERR is forwarded from 3 to 1
  * and from 5 to 6, and station 6 starts path discovery procedure
  * again:
  *      |    |<---|         |--->|      PERR (one due to beacon loss and one due to TX error)
--- a/src/devices/mesh/flame/flame-protocol.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/flame/flame-protocol.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -117,7 +117,7 @@
                     MakeTimeChecker ()
                     )
     .AddAttribute ( "MaxCost",
-                    "Cost threshold after which packet will be dropeed",
+                    "Cost threshold after which packet will be dropped",
                     UintegerValue (32),
                     MakeUintegerAccessor (
                         &FlameProtocol::m_maxCost),
--- a/src/devices/mesh/mesh-l2-routing-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/mesh-l2-routing-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -39,7 +39,7 @@
  * Every mesh routing protocol must implement this interface. Each mesh point (MeshPointDevice) is supposed
  * to know single L2RoutingProtocol to work with, see MeshPointDevice::SetRoutingProtocol ().
  *
- * This interface is similar to ipv4 routiong protocol base class.
+ * This interface is similar to ipv4 routing protocol base class.
  */
 class MeshL2RoutingProtocol : public Object
 {
@@ -52,7 +52,7 @@
    * Callback to be invoked when route discovery  procedure is completed.
    *
    * \param flag        indicating whether a route was actually found and all needed information is
-   *                    added to the packet succesfully
+   *                    added to the packet successfully
    *
    * \param packet      for which the route was resolved. All routing information for MAC layer
    *                    must be stored in proper tags (like in case of HWMP, when WifiMacHeader
@@ -64,7 +64,7 @@
    *
    * \param src         source address of the packet
    *
-   * \param dst         destiation address of the packet
+   * \param dst         destination address of the packet
    *
    * \param protocol    ethernet 'Protocol' field, needed to form a proper MAC-layer header
    *
@@ -101,7 +101,7 @@
    * remove all its information: tags, header, etc. So,
    * MeshPointDevice must call this method when passing a packet to
    * upper layer.
-   * \returns true if packet shall not be dropeed, false otherwise.
+   * \returns true if packet shall not be dropped, false otherwise.
    * \param fromIface     the incoming interface of the packet
    * \param source        source address
    * \param destination   destination address
--- a/src/devices/mesh/mesh-point-device.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/mesh/mesh-point-device.h	Fri Apr 23 15:09:31 2010 +0400
@@ -36,7 +36,7 @@
  * \brief Virtual net device modeling mesh point.
  *
  * Mesh point is a virtual net device which is responsible for
- *   - Aggreagating and coordinating 1..* real devices -- mesh interfaces, see MeshInterfaceDevice class.
+ *   - Aggregating and coordinating 1..* real devices -- mesh interfaces, see MeshInterfaceDevice class.
  *   - Hosting all mesh-related level 2 protocols.
  *
  * One of hosted L2 protocols must inplement L2RoutingProtocol interface and is used for packets forwarding.
@@ -81,7 +81,7 @@
 
   ///\name Protocols
   //\{
-  /// Register routing protocol to be used. Protocol must be alredy installed on this mesh point.
+  /// Register routing protocol to be used. Protocol must be already installed on this mesh point.
   void SetRoutingProtocol (Ptr<MeshL2RoutingProtocol> protocol);
   /// Access current routing protocol
   Ptr<MeshL2RoutingProtocol> GetRoutingProtocol () const;
--- a/src/devices/point-to-point/point-to-point-channel.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/point-to-point/point-to-point-channel.h	Fri Apr 23 15:09:31 2010 +0400
@@ -116,7 +116,7 @@
    * \brief Get the net-device destination
    * \param i the link requested
    * \returns Ptr to PointToPointNetDevice destination for 
-   * the specifed link
+   * the specified link
    */
   Ptr<PointToPointNetDevice> GetDestination (uint32_t i) const;
 
@@ -131,7 +131,7 @@
    * The trace source for the packet transmission animation events that the 
    * device can fire.
    * Arguments to the callback are the packet, transmitting
-   * net device, receiving net device, transmittion time and 
+   * net device, receiving net device, transmission time and 
    * packet receipt time.
    *
    * @see class CallBackTraceSource
--- a/src/devices/point-to-point/point-to-point-net-device.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/point-to-point/point-to-point-net-device.h	Fri Apr 23 15:09:31 2010 +0400
@@ -81,7 +81,7 @@
   void SetDataRate (DataRate bps);
 
   /**
-   * Set the inteframe gap used to separate packets.  The interframe gap
+   * Set the interframe gap used to separate packets.  The interframe gap
    * defines the minimum space required between packets sent by this device.
    *
    * @param t the interframe gap time
@@ -215,7 +215,7 @@
    * The TransmitStart method is the method that is used internally in the
    * PointToPointNetDevice to begin the process of sending a packet out on
    * the channel.  The corresponding method is called on the channel to let
-   * it know that the physical device this class represents has virually
+   * it know that the physical device this class represents has virtually
    * started sending signals.  An event is scheduled for the time at which
    * the bits have been completely transmitted.
    *
@@ -430,7 +430,7 @@
   static const uint16_t DEFAULT_MTU = 1500;
 
   /**
-   * The Maxmimum Transmission Unit.  This corresponds to the maximum 
+   * The Maximum Transmission Unit.  This corresponds to the maximum 
    * number of bytes that can be transmitted as seen from higher layers.
    * This corresponds to the 1500 byte MTU size often seen on IP over 
    * Ethernet.
--- a/src/devices/point-to-point/point-to-point.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/point-to-point/point-to-point.h	Fri Apr 23 15:09:31 2010 +0400
@@ -25,7 +25,7 @@
  *
  * - Address:       The ns3::Mac48Address of the device (if desired);
  * - DataRate:      The data rate (ns3::DataRate) of the device;
- * - TxQueue:       The trasmit queue (ns3::Queue) used by the device;
+ * - TxQueue:       The transmit queue (ns3::Queue) used by the device;
  * - InterframeGap: The optional ns3::Time to wait between "frames";
  * - Rx:            A trace source for received packets;
  * - Drop:          A trace source for dropped packets.
@@ -79,7 +79,7 @@
  *
  * When a packet is sent to the Point-to-Point net device for transmission it 
  * always passes through the transmit queue.  The transmit queue in the 
- * PoiintToPointNetDevice inherits from Queue, and therefore inherits three 
+ * PointToPointNetDevice inherits from Queue, and therefore inherits three 
  * trace sources:
  *
  * - An Enqueue operation source (see Queue::m_traceEnqueue);
--- a/src/devices/tap-bridge/tap-bridge.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/tap-bridge/tap-bridge.h	Fri Apr 23 15:09:31 2010 +0400
@@ -258,7 +258,7 @@
    * Forward a packet received from the tap device to the bridged ns-3 
    * device
    *
-   * \param buf A character buffer containing the actaul packet bits that were
+   * \param buf A character buffer containing the actual packet bits that were
    *            received from the host.
    * \param buf The length of the buffer.
    */
--- a/src/devices/tap-bridge/tap.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/tap-bridge/tap.h	Fri Apr 23 15:09:31 2010 +0400
@@ -8,7 +8,7 @@
  * precisely, hosts that support Tun/Tap devices) into ns-3 simulations.  The 
  * goal is to make it appear to a "real" host node in that it has an ns-3 net
  * device as a local device.  The concept of a "real host" is a bit slippery
- * since the "real host" may actually be virtualized using readily avialable
+ * since the "real host" may actually be virtualized using readily available
  * technologies such as VMware, VirtualBox or OpenVZ.
  *
  * Since we are, in essence, connecting the inputs and outputs of an ns-3 net 
@@ -150,7 +150,7 @@
  *
  * One particular use case for this mode is in the OpenVZ environment.  There it
  * is possible to create a Tap device on the "Hardware Node" and move it into a
- * Virtual Private Server.  If the TapBrige is able to use an existing tap device
+ * Virtual Private Server.  If the TapBridge is able to use an existing tap device
  * it is then possible to avoid the overhead of an OS bridge in that environment.
  *
  * \subsection TapBridgeUseBridgeMode TapBridge UseBridge Mode
@@ -246,7 +246,7 @@
 
  * The TapBridge appears to an ns-3 simulation as a channel-less net device.
  * This device must not have an IP address associated with it, but the bridged
- * (ns-3) net device must have an IP adress.  Be aware that this is the inverse
+ * (ns-3) net device must have an IP address.  Be aware that this is the inverse
  * of an ns-3 BridgeNetDevice (or a conventional bridge in general) which 
  * demands that its bridge ports not have IP addresses, but allows the bridge 
  * device itself to have an IP address.  
@@ -297,7 +297,7 @@
  * The upshot is that the Tap Bridge appears to bridge a tap device on a
  * Linux host in the "real world" to an ns-3 net device in the simulation.
  * Because the TAP device and the bridged ns-3 net device have the same MAC
- * address and the network tap IPC link is not exernalized, this particular
+ * address and the network tap IPC link is not externalized, this particular
  * kind of bridge makes it appear that a ns-3 net device is actually installed
  * in the Linux host.
  *
--- a/src/devices/wifi/amrr-wifi-manager.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/amrr-wifi-manager.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -56,12 +56,12 @@
                    MakeTimeAccessor (&AmrrWifiManager::m_updatePeriod),
                    MakeTimeChecker ())
     .AddAttribute ("FailureRatio",
-                   "Ratio of minimum erronous transmissions needed to switch to a lower rate",
+                   "Ratio of minimum erroneous transmissions needed to switch to a lower rate",
                    DoubleValue (1.0/3.0),
                    MakeDoubleAccessor (&AmrrWifiManager::m_failureRatio),
                    MakeDoubleChecker<double> (0.0, 1.0))
     .AddAttribute ("SuccessRatio",
-                   "Ratio of maximum erronous transmissions needed to switch to a higher rate",
+                   "Ratio of maximum erroneous transmissions needed to switch to a higher rate",
                    DoubleValue (1.0/10.0),
                    MakeDoubleAccessor (&AmrrWifiManager::m_successRatio),
                    MakeDoubleChecker<double> (0.0, 1.0))
--- a/src/devices/wifi/block-ack-manager.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/block-ack-manager.h	Fri Apr 23 15:09:31 2010 +0400
@@ -96,7 +96,7 @@
    * \param tid Tid Traffic id of transmitted packet.
    *
    * Invoked when a recipient reject a block ack agreement or when a Delba frame
-   * is Received/Trasmitted.
+   * is Received/Transmitted.
    */
   void DestroyAgreement (Mac48Address recipient, uint8_t tid);
   /**
@@ -125,7 +125,7 @@
   bool HasBar (struct Bar &bar);
   /**
    * Returns true if there are packets that need of retransmission or at least a
-   * BAR is sheduled. Returns false othewise.
+   * BAR is scheduled. Returns false otherwise.
    */
   bool HasPackets (void) const;
   /**
@@ -135,7 +135,7 @@
    * Invoked upon receipt of a block ack frame. Typically, this function, is called
    * by ns3::EdcaTxopN object. Performs a check on which MPDUs, previously sent
    * with ack policy set to Block Ack, were correctly received by the recipient. 
-   * An acknowldeged MPDU is removed from the buffer, retransmitted otherwise.  
+   * An acknowledged MPDU is removed from the buffer, retransmitted otherwise.  
    */
   void NotifyGotBlockAck (const CtrlBAckResponseHeader *blockAck, Mac48Address recipient);
   /**
@@ -150,7 +150,7 @@
    * \param recipient Address of peer station involved in block ack mechanism.
    * \param tid Traffic ID.
    *
-   * Returns number of packets for a specific agreeemnt that need retransmission.
+   * Returns number of packets for a specific agreement that need retransmission.
    * This methods doesn't return number of MPDUs that need retransmission but number MSDUs.
    */
   uint32_t GetNRetryNeededPackets (Mac48Address recipient, uint8_t tid) const;
@@ -203,7 +203,7 @@
    * \param tid Traffic ID.
    *
    * This method is invoked by EdcaTxopN object upon receipt of a DELBA frame
-   * from recipient. The relative block ack agreement is destroied.
+   * from recipient. The relative block ack agreement is destroyed.
    */
   void TearDownBlockAck (Mac48Address recipient, uint8_t tid);
   /**
@@ -246,7 +246,7 @@
    */
   Ptr<Packet> ScheduleBlockAckReqIfNeeded (Mac48Address recipient, uint8_t tid);
   /**
-   * This method removes packets whose lifetime was exceded.
+   * This method removes packets whose lifetime was exceeded.
    */
   void CleanupBuffers (void);
   void InactivityTimeout (Mac48Address, uint8_t);
@@ -282,7 +282,7 @@
   Agreements m_agreements;
   /**
    * This list contains all iterators to stored packets that need to be retransmitted.
-   * A packet needs retransmission if it's indicated as not correctly recevied in a block ack
+   * A packet needs retransmission if it's indicated as not correctly received in a block ack
    * frame.
    */
   std::list<PacketQueueI> m_retryPackets;
--- a/src/devices/wifi/ctrl-headers.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/ctrl-headers.h	Fri Apr 23 15:09:31 2010 +0400
@@ -125,7 +125,7 @@
 
   /**
    * This function is used to correctly index in both bitmap
-   * and compressed bitmap, one bit or one block of 16 bits respectly.
+   * and compressed bitmap, one bit or one block of 16 bits respectively.
    * If we are using basic block ack, return value represents index of 
    * block of 16 bits for packet having sequence number equals to <i>seq</i>.
    * If we are using compressed block ack, return value represents bit 
--- a/src/devices/wifi/dcf-manager.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/dcf-manager.h	Fri Apr 23 15:09:31 2010 +0400
@@ -260,7 +260,7 @@
    * \param duration expected duration of channel switching period
    *
    * Notify the DCF that a channel switching period has just started.
-   * During swtiching state, new packets can be enqueued in DcaTxop/EdcaTxop
+   * During switching state, new packets can be enqueued in DcaTxop/EdcaTxop
    * but they won't access to the medium until the end of the channel switching.
    */
   void NotifySwitchingStartNow (Time duration); 
--- a/src/devices/wifi/edca-txop-n.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/edca-txop-n.h	Fri Apr 23 15:09:31 2010 +0400
@@ -214,7 +214,7 @@
   QosBlockedDestinations *m_qosBlockedDestinations;
   BlockAckManager *m_baManager;
   /*
-   * Represents the minimun number of packets for use of block ack.
+   * Represents the minimum number of packets for use of block ack.
    */
   uint8_t m_blockAckThreshold;
   enum BlockAckType m_blockAckType;
--- a/src/devices/wifi/mac-low.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/mac-low.h	Fri Apr 23 15:09:31 2010 +0400
@@ -464,7 +464,7 @@
   void CreateBlockAckAgreement (const MgtAddBaResponseHeader *respHdr, Mac48Address originator,
                                 uint16_t startingSeq);
   /**
-   * \param originator Address of peer partecipating in Block Ack mechanism.
+   * \param originator Address of peer participating in Block Ack mechanism.
    * \param tid TID for which Block Ack was created.
    *
    * Checks if exists an established block ack agreement with <i>originator</i>
@@ -529,7 +529,7 @@
   void StartDataTxTimers (void);
   virtual void DoDispose (void);
   /**
-   * \param originator Address of peer partecipating in Block Ack mechanism.
+   * \param originator Address of peer participating in Block Ack mechanism.
    * \param tid TID for which Block Ack was created.
    * \param seq Starting sequence
    *
@@ -538,7 +538,7 @@
    */
   void RxCompleteBufferedPacketsWithSmallerSequence (uint16_t seq, Mac48Address originator, uint8_t tid);
   /**
-   * \param originator Address of peer partecipating in Block Ack mechanism.
+   * \param originator Address of peer participating in Block Ack mechanism.
    * \param tid TID for which Block Ack was created.
    *
    * This method is typically invoked when a MPDU with ack policy
--- a/src/devices/wifi/msdu-standard-aggregator.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/msdu-standard-aggregator.h	Fri Apr 23 15:09:31 2010 +0400
@@ -45,7 +45,7 @@
 private:
   /*  Calculates how much padding must be added to the end of aggregated packet,
       after that a new packet is added.
-      Each A-MSDU subframe is padded so that its length is multiple of 4 octects.
+      Each A-MSDU subframe is padded so that its length is multiple of 4 octets.
    */
   uint32_t CalculatePadding (Ptr<const Packet> packet);
 
--- a/src/devices/wifi/originator-block-ack-agreement.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/originator-block-ack-agreement.h	Fri Apr 23 15:09:31 2010 +0400
@@ -24,7 +24,7 @@
 
 namespace ns3 {
 
-/* \brief Maintains the state and information about trasmitted MPDUs with ack policy block ack
+/* \brief Maintains the state and information about transmitted MPDUs with ack policy block ack
  *        for an originator station.
  */
 class OriginatorBlockAckAgreement : public BlockAckAgreement
@@ -62,17 +62,17 @@
    *    ADDBAResponse frame.
    *  
    *  ESTABLISHED:
-   *    The block ack is active and all packets relative to this agreement are trasmitted
+   *    The block ack is active and all packets relative to this agreement are transmitted
    *    with ack policy set to block ack.
    *  
    *  INACTIVE:
    *    In our implementation, block ack tear-down happens only if an inactivity timeout occurs
    *    so we could have an active block ack but a number of packets that doesn't reach the value of
-   *    m_blockAckThreshold (see ns3::BlocAckManager). In these conditions the agreement becomes
+   *    m_blockAckThreshold (see ns3::BlockAckManager). In these conditions the agreement becomes
    *    INACTIVE until that the number of packets reaches the value of m_blockAckThreshold again.
    *
    *  UNSUCCESSFUL (not used for now):
-   *    The agremeent's state becomes UNSUCCESSFUL if:
+   *    The agreement's state becomes UNSUCCESSFUL if:
    *     
    *    - its previous state was PENDING and an ADDBAResponse frame wasn't received from
    *      recipient station within an interval of time defined by m_bAckSetupTimeout attribute
--- a/src/devices/wifi/wifi-mac.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/wifi-mac.h	Fri Apr 23 15:09:31 2010 +0400
@@ -142,7 +142,7 @@
    * dequeued as soon as the DCF function determines that
    * access it granted to this MAC.  The extra parameter "from" allows
    * this device to operate in a bridged mode, forwarding received
-   * frames without altering the source addresss.
+   * frames without altering the source address.
    */
   virtual void Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from) = 0;
   /**
@@ -175,7 +175,7 @@
    * \param linkDown the callback to invoke when the link becomes down.
    */
   virtual void SetLinkDownCallback (Callback<void> linkDown) = 0;
-  /* Next functions are not pure vitual so non Qos WifiMacs are not
+  /* Next functions are not pure virtual so non Qos WifiMacs are not
    * forced to implement them.
    */
   virtual void SetBasicBlockAckTimeout (Time blockAckTimeout);
--- a/src/devices/wifi/wifi-mode.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/wifi-mode.h	Fri Apr 23 15:09:31 2010 +0400
@@ -146,7 +146,7 @@
 public:
   /**
    * \param uniqueName the name of the associated WifiMode. This name
-   *        must be unique accross _all_ instances.
+   *        must be unique across _all_ instances.
    * \param isMandatory true if this WifiMode is mandatory, false otherwise.
    * \param bandwidth the bandwidth (Hz) of the signal generated when the
    *        associated WifiMode is used.
@@ -165,7 +165,7 @@
                               enum WifiPhyStandard standard);
   /**
    * \param uniqueName the name of the associated WifiMode. This name
-   *        must be unique accross _all_ instances.
+   *        must be unique across _all_ instances.
    * \param isMandatory true if this WifiMode is mandatory, false otherwise.
    * \param bandwidth the bandwidth (Hz) of the signal generated when the
    *        associated WifiMode is used.
@@ -184,7 +184,7 @@
                               enum WifiPhyStandard standard);
   /**
    * \param uniqueName the name of the associated WifiMode. This name
-   *        must be unique accross _all_ instances.
+   *        must be unique across _all_ instances.
    * \param isMandatory true if this WifiMode is mandatory, false otherwise.
    * \param bandwidth the bandwidth (Hz) of the signal generated when the
    *        associated WifiMode is used.
@@ -206,7 +206,7 @@
 
   /**
    * \param uniqueName the name of the associated WifiMode. This name
-   *        must be unique accross _all_ instances.
+   *        must be unique across _all_ instances.
    * \param isMandatory true if this WifiMode is mandatory, false otherwise.
    * \param bandwidth the bandwidth (Hz) of the signal generated when the
    *        associated WifiMode is used.
@@ -225,7 +225,7 @@
                               enum WifiPhyStandard standard);
   /**
    * \param uniqueName the name of the associated WifiMode. This name
-   *        must be unique accross _all_ instances.
+   *        must be unique across _all_ instances.
    * \param isMandatory true if this WifiMode is mandatory, false otherwise.
    * \param bandwidth the bandwidth (Hz) of the signal generated when the
    *        associated WifiMode is used.
--- a/src/devices/wifi/wifi-phy.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/wifi-phy.h	Fri Apr 23 15:09:31 2010 +0400
@@ -173,7 +173,7 @@
   virtual void SetReceiveOkCallback (RxOkCallback callback) = 0;
   /**
    * \param callback the callback to invoke
-   *        upon erronous packet reception.
+   *        upon erroneous packet reception.
    */
   virtual void SetReceiveErrorCallback (RxErrorCallback callback) = 0;
 
--- a/src/devices/wifi/wifi.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/wifi.h	Fri Apr 23 15:09:31 2010 +0400
@@ -163,7 +163,7 @@
  * through the "Ssrc" trace source which is fired using the 
  *  ns3::WifiRemoteStation::m_ssrc trace hook.
  * 
- * Finally, we provide access to the per-remote-station SLRC couter that
+ * Finally, we provide access to the per-remote-station SLRC counter that
  * indications the number of retransmissions of data.  Changes to this 
  * counter are traced using the ns3::WifiRemoteStation::m_slrc source.
  *
--- a/src/devices/wifi/yans-wifi-phy.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wifi/yans-wifi-phy.h	Fri Apr 23 15:09:31 2010 +0400
@@ -88,7 +88,7 @@
   void SetChannelNumber (uint16_t id);
   /// Return current channel number, see SetChannelNumber()
   uint16_t GetChannelNumber () const;
-  /// Return current center channel frequency in MHz, see SetСhannelNumber()
+  /// Return current center channel frequency in MHz, see SetChannelNumber()
   double GetChannelFrequencyMhz() const;
   
   void StartReceivePacket (Ptr<Packet> packet,
--- a/src/devices/wimax/bs-net-device.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-net-device.h	Fri Apr 23 15:09:31 2010 +0400
@@ -162,7 +162,7 @@
   Time GetUlSubframeStartTime (void) const;
   uint8_t GetRangingOppNumber (void) const;
   /**
-   * \returns a pointer to the SS manegr
+   * \returns a pointer to the SS manager
    */
   Ptr<SSManager> GetSSManager (void) const;
   /**
--- a/src/devices/wimax/bs-scheduler-rtps.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-scheduler-rtps.h	Fri Apr 23 15:09:31 2010 +0400
@@ -73,11 +73,11 @@
 
   /*
    * \brief This function adds a downlink burst to the list of downlink bursts
-   * scheduled for the next dowlink sub-frame
+   * scheduled for the next downlink sub-frame
    * \param connection a pointer to connection in wich the burst will be sent
-   * \param diuc dowlink iuc
+   * \param diuc downlink iuc
    * \param modulationType the modulation type of the burst
-   * \param burst the dowlink burst to add to the dowlink sub frame
+   * \param burst the downlink burst to add to the downlink sub frame
    */
   void AddDownlinkBurst (Ptr<const WimaxConnection> connection, uint8_t diuc,
                          WimaxPhy::ModulationType modulationType, Ptr<PacketBurst> burst);
@@ -86,7 +86,7 @@
    */
   void Schedule (void);
   /**
-   * \brief Check for IR and Broadcast connections that have packets to trasmit.
+   * \brief Check for IR and Broadcast connections that have packets to transmit.
    * \param connection will point to a initial ranging or broadcast connection
    * wich have packets to transmit
    * \returns false if no initial ranging or broadcast connection has packets
@@ -94,7 +94,7 @@
    */
   bool SelectIRandBCConnection (Ptr<WimaxConnection> &connection);
   /**
-   * \brief Check for Basic and Primary connections that have packets to trasmit.
+   * \brief Check for Basic and Primary connections that have packets to transmit.
    * \param connection will point to a basic or primary connection
    * wich have packets to transmit
    * \returns false if no basic or primary connection has packets
@@ -102,22 +102,22 @@
    */
   bool SelectMenagementConnection (Ptr<WimaxConnection> &connection);
   /**
-   * \brief Check for UGS connections that have packets to trasmit.
+   * \brief Check for UGS connections that have packets to transmit.
    *
    * The method return the UGS connection that have packets to transmits,
    * according to the MaxLatency specifications.
    */
   bool SelectUGSConnection (Ptr<WimaxConnection> &connection);
   /**
-   * \brief Check for rtPS connections that have packets to trasmit.
+   * \brief Check for rtPS connections that have packets to transmit.
    */
   bool SelectRTPSConnection (Ptr<WimaxConnection> &connection);
   /**
-   * \brief Check for nrtPS connections that have packets to trasmit.
+   * \brief Check for nrtPS connections that have packets to transmit.
    */
   bool SelectNRTPSConnection (Ptr<WimaxConnection> &connection);
   /**
-   * \brief Check for BE connections that have packets to trasmit.
+   * \brief Check for BE connections that have packets to transmit.
    */
   bool SelectBEConnection (Ptr<WimaxConnection> &connection);
 
@@ -164,7 +164,7 @@
    * This method represent the DL Scheduler for rtPS  connections.
    * The scheduler is designed to serve all rtPS connections that
    * have at least one packet to transmit, every DL Subframe.
-   * To each rtPS conenctions are allocated,  at the beginning,
+   * To each rtPS connections are allocated,  at the beginning,
    * the bandwidth to transmit a quota of data equal to the
    * queue length.
    * If the sum of all pre-allocated bandwidth exceed the available
@@ -186,7 +186,7 @@
   void BSSchedulerBEConnection (uint32_t &availableSymbols);
 
   /*
-   * \brief Creates a dowlink UGS burst
+   * \brief Creates a downlink UGS burst
    * \param serviceFlow the service flow of the burst
    * \param modulationType the modulation type to be used for the burst
    * \param availableSymbols maximum number of OFDM symbols to be used by the burst
--- a/src/devices/wimax/bs-scheduler-simple.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-scheduler-simple.h	Fri Apr 23 15:09:31 2010 +0400
@@ -55,11 +55,11 @@
   GetDownlinkBursts (void) const;
   /*
    * \brief This function adds a downlink burst to the list of downlink bursts
-   * scheduled for the next dowlink sub-frame
+   * scheduled for the next downlink sub-frame
    * \param connection a pointer to connection in wich the burst will be sent
-   * \param diuc dowlink iuc
+   * \param diuc downlink iuc
    * \param modulationType the modulation type of the burst
-   * \param burst the dowlink burst to add to the dowlink sub frame
+   * \param burst the downlink burst to add to the downlink sub frame
    */
   void AddDownlinkBurst (Ptr<const WimaxConnection> connection, uint8_t diuc,
                          WimaxPhy::ModulationType modulationType, Ptr<PacketBurst> burst);
@@ -75,7 +75,7 @@
    */
   bool SelectConnection (Ptr<WimaxConnection> &connection);
   /*
-   * \brief Creates a dowlink UGS burst
+   * \brief Creates a downlink UGS burst
    * \param serviceFlow the service flow of the burst
    * \param modulationType the modulation type to be used for the burst
    * \param availableSymbols maximum number of OFDM symbols to be used by the burst
--- a/src/devices/wimax/bs-scheduler.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-scheduler.h	Fri Apr 23 15:09:31 2010 +0400
@@ -55,11 +55,11 @@
   GetDownlinkBursts (void) const = 0;
   /*
    * \brief This function adds a downlink burst to the list of downlink bursts
-   * scheduled for the next dowlink sub-frame
+   * scheduled for the next downlink sub-frame
    * \param connection a pointer to connection in wich the burst will be sent
-   * \param diuc dowlink iuc
+   * \param diuc downlink iuc
    * \param modulationType the modulation type of the burst
-   * \param burst the dowlink burst to add to the dowlink sub frame
+   * \param burst the downlink burst to add to the downlink sub frame
    */
   virtual void AddDownlinkBurst (Ptr<const WimaxConnection> connection,
                                  uint8_t diuc,
@@ -78,7 +78,7 @@
   virtual bool SelectConnection (Ptr<WimaxConnection> &connection) = 0;
 
   /*
-   * \brief Creates a dowlink UGS burst
+   * \brief Creates a downlink UGS burst
    * \param serviceFlow the service flow of the burst
    * \param modulationType the modulation type to be used for the burst
    * \param availableSymbols maximum number of OFDM symbols to be used by the burst
--- a/src/devices/wimax/bs-service-flow-manager.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-service-flow-manager.h	Fri Apr 23 15:09:31 2010 +0400
@@ -80,14 +80,14 @@
   /**
    * \brief process a DSA-ACK message
    * \param dsaAck the message to process
-   * \param cid the identifier of the connection on which the meassge was received
+   * \param cid the identifier of the connection on which the message was received
    */
   void ProcessDsaAck (const DsaAck &dsaAck, Cid cid);
 
   /**
    * \brief process a DSA-Req message
    * \param dsaReq the message to process
-   * \param cid the identifier of the connection on which the meassge was received
+   * \param cid the identifier of the connection on which the message was received
    */
   ServiceFlow* ProcessDsaReq (const DsaReq &dsaReq, Cid cid);
 
--- a/src/devices/wimax/bs-uplink-scheduler-mbqos.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-uplink-scheduler-mbqos.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -662,7 +662,7 @@
         {
           Ptr<UlJob> job = *iter;
 
-          // garantee delay bound for rtps connections
+          // guarantee delay bound for rtps connections
           if (job->GetSchedulingType () == ServiceFlow::SF_TYPE_RTPS)
             {
               Time deadline = job->GetDeadline ();
--- a/src/devices/wimax/bs-uplink-scheduler-mbqos.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-uplink-scheduler-mbqos.h	Fri Apr 23 15:09:31 2010 +0400
@@ -123,7 +123,7 @@
 
   /**
    * \param availableSymbols available symbols in the uplink frame.
-   * \brief Check if Minimum bandwidth is garantee. Migrate requests if necessary.
+   * \brief Check if Minimum bandwidth is guarantee. Migrate requests if necessary.
    *
    * This method first calculate a priority value for each request
    * in the intermediate queue. Then, sorts the intermediate queue
--- a/src/devices/wimax/bs-uplink-scheduler-rtps.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/bs-uplink-scheduler-rtps.h	Fri Apr 23 15:09:31 2010 +0400
@@ -102,7 +102,7 @@
    * The scheduler is designed to serve all rtPS connections that
    * have at least one packet to transmit, every UL Subframe.
    * The methos selects all rtPS connection that have al least one
-   * packet to transmit. To each rtPS conenctions are allocated,
+   * packet to transmit. To each rtPS connections are allocated,
    * at the beginning, the bandwidth to transmit a quota of data equal
    * to (RequestedBandwidth - GrantedBandwidth).
    * If the sum of all pre-allocated bandwidth exceed the available
--- a/src/devices/wimax/cid.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/cid.h	Fri Apr 23 15:09:31 2010 +0400
@@ -60,11 +60,11 @@
    */
   bool IsBroadcast (void) const;
   /**
-   * \return true if the cid is a paddin cid, false otherwise
+   * \return true if the cid is a padding cid, false otherwise
    */
   bool IsPadding (void) const;
   /**
-   * \return true if the cid is an intial ranging cid, false otherwise
+   * \return true if the cid is an initial ranging cid, false otherwise
    */
   bool IsInitialRanging (void) const;
   /**
--- a/src/devices/wimax/ipcs-classifier-record.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/ipcs-classifier-record.h	Fri Apr 23 15:09:31 2010 +0400
@@ -54,8 +54,8 @@
                         uint8_t protocol,
                         uint8_t priority);
   /**
-   * \brief Decodes a TLV and creates a calssifier
-   * \param tlv the TLV to decode and from wich the classifier parameters will be extracted
+   * \brief Decodes a TLV and creates a classifier
+   * \param tlv the TLV to decode and from which the classifier parameters will be extracted
    */
   IpcsClassifierRecord (Tlv tlv);
   /**
--- a/src/devices/wimax/service-flow-record.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/service-flow-record.h	Fri Apr 23 15:09:31 2010 +0400
@@ -31,7 +31,7 @@
 class ServiceFlowRecord
 {
   /**
-   * \brief this class implements a structure to manage some paramaters and statistics related to a service flow
+   * \brief this class implements a structure to manage some parameters and statistics related to a service flow
    */
 public:
   ServiceFlowRecord (void);
--- a/src/devices/wimax/service-flow.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/service-flow.h	Fri Apr 23 15:09:31 2010 +0400
@@ -35,7 +35,7 @@
 class ServiceFlow
 {
 /**
- * This class implemets service flows as described by the IEEE-802.16 standard
+ * This class implements service flows as described by the IEEE-802.16 standard
  */
 public:
   enum Direction
--- a/src/devices/wimax/simple-ofdm-send-param.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/simple-ofdm-send-param.h	Fri Apr 23 15:09:31 2010 +0400
@@ -44,12 +44,12 @@
    */
   void SetFecBlock (const bvec &fecBlock);
   /**
-   * \brief set the busrt size
+   * \brief set the burst size
    * \param burstSize the burst size in bytes
    */
   void SetBurstSize (uint32_t burstSize);
   /**
-   * \param isFirstBlock Set to true if this fec block is the fisrt one in the burst, set to false otherwise
+   * \param isFirstBlock Set to true if this fec block is the first one in the burst, set to false otherwise
    */
   void SetIsFirstBlock (bool isFirstBlock);
   /**
@@ -85,7 +85,7 @@
    */
   uint64_t GetFrequency (void);
   /**
-   * \return the mdoulation type used to send this fec block
+   * \return the modulation type used to send this fec block
    */
   WimaxPhy::ModulationType GetModulationType (void);
   /**
--- a/src/devices/wimax/snr-to-block-error-rate-manager.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/snr-to-block-error-rate-manager.h	Fri Apr 23 15:09:31 2010 +0400
@@ -21,7 +21,7 @@
 
 
 /**
- * \brief This class handels the  SNR to BlcER traces.  A path to a repository containing trace files should be provided.
+ * \brief This class handles the  SNR to BlcER traces.  A path to a repository containing trace files should be provided.
  * If no repository is provided the traces form default-traces.h will be loaded.
  * A valid repository should contain 7 files, one for each modulation and coding scheme.
  * The names of the files should respect the following format: modulation0.txt for modulation 0, modulation1.txt for
--- a/src/devices/wimax/ss-net-device.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/ss-net-device.h	Fri Apr 23 15:09:31 2010 +0400
@@ -253,7 +253,7 @@
   void AddServiceFlow (ServiceFlow sf);
   void SetTimer (EventId eventId, EventId &event);
   /**
-   * \returns true if the SS is registered to a BS, flase otherwise
+   * \returns true if the SS is registered to a BS, false otherwise
    */
   bool IsRegistered (void) const;
   Time GetTimeToAllocation (Time defferTime);
--- a/src/devices/wimax/ss-scheduler.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/ss-scheduler.h	Fri Apr 23 15:09:31 2010 +0400
@@ -45,7 +45,7 @@
   bool GetPollMe (void) const;
   /**
    * \return a list of packet to be sent in the next opportunity
-   * \param availableSymbols the available ressources in symbols
+   * \param availableSymbols the available resources in symbols
    * \param modulationType the used modulation
    * \param packetType the type of packets to select from
    * \param connection the connection from wich packets will be selected
--- a/src/devices/wimax/wimax-mac-header.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/wimax-mac-header.h	Fri Apr 23 15:09:31 2010 +0400
@@ -122,7 +122,7 @@
   uint16_t m_len;
   Cid m_cid;
   uint8_t m_hcs; // Header Check Sequence
-  uint8_t c_hcs; // calculated header check sequence; this is used to check if the receveid header is correrct or not
+  uint8_t c_hcs; // calculated header check sequence; this is used to check if the received header is correct or not
 
 
 };
@@ -187,7 +187,7 @@
   uint32_t m_br; // Bandwidth Request
   Cid m_cid; // Connection identifier
   uint8_t m_hcs; // Header Check Sequence
-  uint8_t c_hcs; // calculated header check sequence; this is used to check if the receveid header is correrct or not
+  uint8_t c_hcs; // calculated header check sequence; this is used to check if the received header is correct or not
 
 };
 
--- a/src/devices/wimax/wimax-mac-queue.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/wimax-mac-queue.h	Fri Apr 23 15:09:31 2010 +0400
@@ -50,7 +50,7 @@
   /**
    * \brief Enqueue a packet
    * \param packet the packet to enqueue
-   * \param hdrType the mac headre type of the packet
+   * \param hdrType the mac header type of the packet
    * \param hdr the header of the packet
    */
   bool Enqueue (Ptr<Packet> packet, const MacHeaderType &hdrType,
--- a/src/devices/wimax/wimax-mac-to-mac-header.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/devices/wimax/wimax-mac-to-mac-header.h	Fri Apr 23 15:09:31 2010 +0400
@@ -25,7 +25,7 @@
 #include "ns3/header.h"
 namespace ns3 {
 /**
- * \brief this class implements the mac to mac header needed to dump a wimax pacap file
+ * \brief this class implements the mac to mac header needed to dump a wimax pcap file
  * The header format was reverse-engineered by looking  at existing live pcap traces which
  * could be opened with wireshark  i.e., we have no idea where this is coming from.
  */
--- a/src/helper/application-container.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/application-container.h	Fri Apr 23 15:09:31 2010 +0400
@@ -118,10 +118,10 @@
    * Applications
    *
    * \code
-   *   uint32_t nApplications = continer.GetN ();
+   *   uint32_t nApplications = container.GetN ();
    *   for (uint32_t i = 0 i < nApplications; ++i)
    *     {
-   *       Ptr<Application> p = continer.Get (i)
+   *       Ptr<Application> p = container.Get (i)
    *       i->method ();  // some Application method
    *     }
    * \endcode
@@ -177,7 +177,7 @@
   void Add (std::string name);
 
   /**
-   * \brief Arrange for all of the Applications in this containter to Start()
+   * \brief Arrange for all of the Applications in this container to Start()
    * at the Time given as a parameter.
    *
    * All Applications need to be provided with a starting simulation time and
@@ -193,7 +193,7 @@
   void Start (Time start);
 
   /**
-   * \brief Arrange for all of the Applications in this containter to Stop()
+   * \brief Arrange for all of the Applications in this container to Stop()
    * at the Time given as a parameter.
    *
    * All Applications need to be provided with a starting simulation time and
--- a/src/helper/bridge-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/bridge-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -56,7 +56,7 @@
    *
    * \param node The node to install the device in
    * \param c Container of NetDevices to add as bridge ports
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (Ptr<Node> node, NetDeviceContainer c);
   /**
@@ -67,7 +67,7 @@
    *
    * \param nodeName The name of the node to install the device in
    * \param c Container of NetDevices to add as bridge ports
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (std::string nodeName, NetDeviceContainer c);
 private:
--- a/src/helper/csma-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/csma-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -97,7 +97,7 @@
    * to the node and attaches the channel to the device.
    *
    * \param node The node to install the device in
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (Ptr<Node> node) const;
 
@@ -108,7 +108,7 @@
    * to the node and attaches the channel to the device.
    *
    * \param name The name of the node to install the device in
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (std::string name) const;
 
@@ -119,7 +119,7 @@
    *
    * \param node The node to install the device in
    * \param channel The channel to attach to the device.
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (Ptr<Node> node, Ptr<CsmaChannel> channel) const;
 
@@ -130,7 +130,7 @@
    *
    * \param node The node to install the device in
    * \param channelName The name of the channel to attach to the device.
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (Ptr<Node> node, std::string channelName) const;
 
@@ -140,8 +140,8 @@
    * attaches the provided channel to the device.
    *
    * \param nodeName The name of the node to install the device in
-   * \param channel The chanel to attach to the device.
-   * \returns A containter holding the added net device.
+   * \param channel The channel to attach to the device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (std::string nodeName, Ptr<CsmaChannel> channel) const;
 
@@ -151,8 +151,8 @@
    * attaches the provided channel to the device.
    *
    * \param nodeName The name of the node to install the device in
-   * \param channelName The name of the chanel to attach to the device.
-   * \returns A containter holding the added net device.
+   * \param channelName The name of the channel to attach to the device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (std::string nodeName, std::string channelName) const;
 
@@ -164,7 +164,7 @@
    * node; and attaches the channel to the device.
    *
    * \param c The NodeContainer holding the nodes to be changed.
-   * \returns A containter holding the added net devices.
+   * \returns A container holding the added net devices.
    */
   NetDeviceContainer Install (const NodeContainer &c) const;
 
@@ -176,7 +176,7 @@
    *
    * \param c The NodeContainer holding the nodes to be changed.
    * \param channel The channel to attach to the devices.
-   * \returns A containter holding the added net devices.
+   * \returns A container holding the added net devices.
    */
   NetDeviceContainer Install (const NodeContainer &c, Ptr<CsmaChannel> channel) const;
 
@@ -188,7 +188,7 @@
    *
    * \param c The NodeContainer holding the nodes to be changed.
    * \param channelName The name of the channel to attach to the devices.
-   * \returns A containter holding the added net devices.
+   * \returns A container holding the added net devices.
    */
   NetDeviceContainer Install (const NodeContainer &c, std::string channelName) const;
 
--- a/src/helper/emu-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/emu-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -86,7 +86,7 @@
    * EmuHelper::SetDeviceAttribute and then adds the device to the node.
    *
    * \param node The node to install the device in
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (Ptr<Node> node) const;
 
@@ -95,7 +95,7 @@
    * EmuHelper::SetDeviceAttribute and then adds the device to the node.
    *
    * \param nodeName The name of the node to install the device in
-   * \returns A containter holding the added net device.
+   * \returns A container holding the added net device.
    */
   NetDeviceContainer Install (std::string nodeName) const;
 
@@ -105,7 +105,7 @@
    * EmuHelper::SetDeviceAttribute); adds the device to the node.
    *
    * \param c The NodeContainer holding the nodes to be changed.
-   * \returns A containter holding the added net devices.
+   * \returns A container holding the added net devices.
    */
   NetDeviceContainer Install (const NodeContainer &c) const;
 
--- a/src/helper/ipv4-address-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/ipv4-address-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -33,7 +33,7 @@
  * as a simple local number incrementer.  It has no notion that IP addresses
  * are part of a global address space.  If you have a complicated address 
  * assignment situation you may want to look at the Ipv4AddressGenerator which
- * does recognize that IP address and netowrk number generation is part of a
+ * does recognize that IP address and network number generation is part of a
  * global problem.  Ipv4AddressHelper is a simple class to make simple problems
  * easy to handle.
  *
@@ -60,7 +60,7 @@
     Ipv4Address base = "0.0.0.1");
 
 /**
- * @brief Set the base network mumber, network mask and base address.
+ * @brief Set the base network number, network mask and base address.
  *
  * The address helper allocates IP addresses based on a given network number
  * and mask combination along with an initial IP address.
@@ -84,7 +84,7 @@
  * @param mask The Ipv4Mask containing one bits in each bit position of the 
  * network number.
  * @param base An optional Ipv4Address containing the initial address used for 
- * IP address alloction.  Will be combined (ORed) with the network number to
+ * IP address allocation.  Will be combined (ORed) with the network number to
  * generate the first IP address.  Defaults to 0.0.0.1.
  * @returns Nothing.
  */
--- a/src/helper/ipv4-interface-container.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/ipv4-interface-container.h	Fri Apr 23 15:09:31 2010 +0400
@@ -119,7 +119,7 @@
    *  corresponding to index i.
    * 
    * If the second parameter is omitted, the zeroth indexed address of 
-   * the interface is returned.  Unless IP aliaising is being used on
+   * the interface is returned.  Unless IP aliasing is being used on
    * the interface, the second parameter may typically be omitted.
    */
   Ipv4Address GetAddress (uint32_t i, uint32_t j = 0) const;
--- a/src/helper/ipv6-address-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/ipv6-address-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -52,7 +52,7 @@
 
   /**
    * \brief Allocate a new address.
-   * \param addr L2 address (currenty only ethernet address is supported)
+   * \param addr L2 address (currently only ethernet address is supported)
    * \return newly created Ipv6Address
    */
   Ipv6Address NewAddress (Address addr);
--- a/src/helper/mesh-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/mesh-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -123,7 +123,7 @@
   /** 
    *  \brief Spread/not spread frequency channels of MP interfaces. 
    * 
-   *  If set to true different non-overlaping 20MHz frequency 
+   *  If set to true different non-overlapping 20MHz frequency 
    *  channels will be assigned to different mesh point interfaces.
    */
   enum ChannelPolicy
--- a/src/helper/node-container.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/node-container.h	Fri Apr 23 15:09:31 2010 +0400
@@ -237,12 +237,12 @@
   void Create (uint32_t n);
 
   /**
-   * \brief Create n nodes with specifiec systemId for distributed simulations 
+   * \brief Create n nodes with specified systemId for distributed simulations 
    * and append pointers to them to the end of this NodeContainer.
    *
    * Nodes are at the heart of any ns-3 simulation.  One of the first tasks that
    * any simulation needs to do is to create a number of nodes.  This method
-   * automates that task, and adds the ability to specifiy systemId for 
+   * automates that task, and adds the ability to specify systemId for 
    * distributed simulations.
    *
    * \param n The number of Nodes to create
--- a/src/helper/point-to-point-grid-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/point-to-point-grid-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -77,7 +77,7 @@
    *
    * \param col the column address of the node desired
    *
-   * \returns Ipv4Address of one of the intefaces of the node 
+   * \returns Ipv4Address of one of the interfaces of the node 
    *          specified by the (row, col) address
    */
   Ipv4Address GetIpv4Address (uint32_t row, uint32_t col);
--- a/src/helper/qos-wifi-mac-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/qos-wifi-mac-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -85,7 +85,7 @@
                 std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (),
                 std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue ());
   /**
-   * Set the class, type and attribuytes for the Msdu agregator
+   * Set the class, type and attributes for the Msdu aggregator
    *
    * \param accessClass access class for which we are setting aggregator. Possibilities
    *  are: AC_BK, AC_BE, AC_VI, AC_VO.
--- a/src/helper/tap-bridge-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/tap-bridge-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -54,7 +54,7 @@
   TapBridgeHelper (Ipv4Address gateway);
 
   /*
-   * Set an attribute in the underlying TabBridge net device when these
+   * Set an attribute in the underlying TapBridge net device when these
    * devices are automatically created.
    *
    * \param n1 the name of the attribute to set
@@ -76,7 +76,7 @@
   /**
    * This method installs a TapBridge on the specified Node and forms the 
    * bridge with the NetDevice specified.  The node is specified by a 
-   * name string that has previously been assoicated with the Node using
+   * name string that has previously been associated with the Node using
    * the Object Name Service.  The NetDevice is specified by a Ptr<NetDevice>.
    *
    * \param nodeName The name of the Node to install the TapBridge in
@@ -88,7 +88,7 @@
   /**
    * This method installs a TapBridge on the specified Node and forms the 
    * bridge with the NetDevice specified.  The NetDevice is specified by a 
-   * name string that has previously been assoicated with the NetDevice
+   * name string that has previously been associated with the NetDevice
    * using the Object Name Service.
    *
    * \param node The Ptr<Node> to install the TapBridge in
@@ -100,9 +100,9 @@
   /**
    * This method installs a TapBridge on the specified Node and forms the 
    * bridge with the NetDevice specified.  The node is specified by a 
-   * name string that has previously been assoicated with the Node using
+   * name string that has previously been associated with the Node using
    * the Object Name Service.  The NetDevice is specified by a name 
-   * string that has prevously been associated with the Object Name 
+   * string that has previously been associated with the Object Name 
    * Service.
    *
    * \param nodeName The name of the Node to install the TapBridge in
--- a/src/helper/topology-reader-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/topology-reader-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -50,7 +50,7 @@
 
   /**
    * \brief Gets a Ptr<TopologyReader> to the actual TopologyReader.
-   * \return the created Topoloy Reader (or null if there was an error).
+   * \return the created Topology Reader (or null if there was an error).
    */
   Ptr<TopologyReader> GetTopologyReader ();
 
--- a/src/helper/udp-client-server-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/udp-client-server-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -77,7 +77,7 @@
 
 /**
  * \brief Create a client application which sends udp packets carrying
- *  a 32bit sequence numbre and a 64 bit time stamp.
+ *  a 32bit sequence number and a 64 bit time stamp.
  *
  */
 class UdpClientHelper
--- a/src/helper/v4ping-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/v4ping-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -46,7 +46,7 @@
 
   /**
    * Install a pinger application on the provided Node.  The Node is specified
-   * by a string that must have previosly been associated with a Node using the
+   * by a string that must have previously been associated with a Node using the
    * Object Name Service.
    *
    * \param nodeName The node to install the V4PingApplication on.
--- a/src/helper/wimax-helper.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/helper/wimax-helper.h	Fri Apr 23 15:09:31 2010 +0400
@@ -103,7 +103,7 @@
    *  \param deviceid the id of the net device for which you want to enable tracing.
    *  \param netdevice the type of net device for which you want to enable tracing (SubscriberStationNetDevice,
    *   BaseStationNetDevice or WimaxNetDevice)
-   *  \param connection the conection for which you want to enable tracing (InitialRangingConnection,
+   *  \param connection the connection for which you want to enable tracing (InitialRangingConnection,
    *   BroadcastConnection, BasicConnection, PrimaryConnection).
    */
   static void EnableAsciiForConnection (Ptr<OutputStreamWrapper> oss,
--- a/src/internet-stack/icmpv6-l4-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/icmpv6-l4-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -233,7 +233,7 @@
   /**
    * \brief Send a Neighbor Solicitation.
    * \param src source IPv6 address
-   * \param dst destination IPv6 addresss
+   * \param dst destination IPv6 address
    * \param target target IPv6 address
    * \param hardwareAddress our mac address
    */
@@ -285,7 +285,7 @@
   /**
    * \brief Forge a Neighbor Solicitation.
    * \param src source IPv6 address
-   * \param dst destination IPv6 addresss
+   * \param dst destination IPv6 address
    * \param target target IPv6 address
    * \param hardwareAddress our mac address
    * \return NS packet (with IPv6 header)
@@ -295,7 +295,7 @@
   /**
    * \brief Forge a Neighbor Advertisement.
    * \param src source IPv6 address
-   * \param dst destination IPv6 addresss
+   * \param dst destination IPv6 address
    * \param hardwareAddress our mac address
    * \param flags flags (bitfield => R (4), S (2), O (1))
    * \return NA packet (with IPv6 header)
@@ -305,7 +305,7 @@
   /**
    * \brief Forge a Router Solicitation.
    * \param src source IPv6 address
-   * \param dst destination IPv6 addresss
+   * \param dst destination IPv6 address
    * \param hardwareAddress our mac address
    * \return RS packet (with IPv6 header)
    */
--- a/src/internet-stack/ipv6-extension-header-test-suite.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/ipv6-extension-header-test-suite.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -101,7 +101,7 @@
     header.Serialize(buf.Begin());
 
     const uint8_t* data = buf.PeekData();
-    NS_TEST_EXPECT_MSG_EQ(*(data+2), OptionWithoutAlignmentHeader::TYPE, "option without alignemt is not first in header field");
+    NS_TEST_EXPECT_MSG_EQ(*(data+2), OptionWithoutAlignmentHeader::TYPE, "option without alignment is not first in header field");
 
     return GetErrorStatus();
   }
--- a/src/internet-stack/ipv6-l3-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/ipv6-l3-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -79,7 +79,7 @@
     DROP_NO_ROUTE, /**< No route to host */
     DROP_INTERFACE_DOWN, /**< Interface is down so can not send packet */
     DROP_ROUTE_ERROR, /**< Route error */
-    DROP_UNKNOWN_PROTOCOL, /**< Unkown L4 protocol */
+    DROP_UNKNOWN_PROTOCOL, /**< Unknown L4 protocol */
   };
 
   /**
--- a/src/internet-stack/ipv6-option-header.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/ipv6-option-header.h	Fri Apr 23 15:09:31 2010 +0400
@@ -41,7 +41,7 @@
      * \brief represents the alignment requirements of an option header
      *
      * Represented as factor*n+offset (eg. 8n+2) See RFC 2460.
-     * No alignemt is represented as 1n+0.
+     * No alignment is represented as 1n+0.
      */
     struct Alignment
     {
@@ -78,7 +78,7 @@
     void SetType (uint8_t type);
 
     /**
-     * \brief Get the type of the optionr.
+     * \brief Get the type of the option.
      * \return the type of the option
      */
     uint8_t GetType () const;
@@ -125,7 +125,7 @@
      * \brief Get the Alignment requirement of this option header
      * \return The required alignment
      *
-     * Subclasses should only implement this method, if special alignemt is
+     * Subclasses should only implement this method, if special alignment is
      * required. Default is no alignment (1n+0).
      */
     virtual Alignment GetAlignment () const;
--- a/src/internet-stack/ipv6-test.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/ipv6-test.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -113,14 +113,14 @@
   interface2->AddAddress (ifaceAddr3);
 
   uint32_t num = interface->GetNAddresses ();
-  NS_TEST_ASSERT_MSG_EQ (num, 3, "Number of adresses should be 3??"); /* 2 global addresses + link-local ones */
+  NS_TEST_ASSERT_MSG_EQ (num, 3, "Number of addresses should be 3??"); /* 2 global addresses + link-local ones */
 
   num = interface2->GetNAddresses ();
   NS_TEST_ASSERT_MSG_EQ (num, 2, "1 global addresses + link-local ones"); /* 1 global addresses + link-local ones */
 
   interface->RemoveAddress (2);
   num = interface->GetNAddresses ();
-  NS_TEST_ASSERT_MSG_EQ (num, 2, "Number of adresses should be 2??");
+  NS_TEST_ASSERT_MSG_EQ (num, 2, "Number of addresses should be 2??");
 
   Ipv6InterfaceAddress output = interface->GetAddress (1);
   NS_TEST_ASSERT_MSG_EQ (ifaceAddr1, output,
@@ -131,7 +131,7 @@
   NS_TEST_ASSERT_MSG_EQ (index, 1, "We should get one address??"); /* link-local address is always index 0 */
 
   index = ipv6->GetInterfaceForAddress ("2001:ffff:5678:9001::2");
-  NS_TEST_ASSERT_MSG_EQ (index, 2, "Number of adresses should be 2??");
+  NS_TEST_ASSERT_MSG_EQ (index, 2, "Number of addresses should be 2??");
 
   index = ipv6->GetInterfaceForAddress ("2001:ffff:5678:9000::1"); /* address we just remove */
   NS_TEST_ASSERT_MSG_EQ (index, (uint32_t) -1, "Address should not be found??");
--- a/src/internet-stack/nsc-tcp-l4-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/nsc-tcp-l4-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -75,7 +75,7 @@
   void DeAllocate (Ipv4EndPoint *endPoint);
 
   /**
-   * \brief Recieve a packet up the protocol stack
+   * \brief Receive a packet up the protocol stack
    * \param p The Packet to dump the contents into
    * \param source The source's Ipv4Address
    * \param destination The destinations Ipv4Address
--- a/src/internet-stack/nsc-tcp-socket-impl.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/nsc-tcp-socket-impl.h	Fri Apr 23 15:09:31 2010 +0400
@@ -141,7 +141,7 @@
   bool m_shutdownRecv;
   bool m_connected;
   
-  //manage the state infomation
+  //manage the state information
   States_t m_state;
   bool m_closeOnEmpty;
 
--- a/src/internet-stack/tcp-l4-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/tcp-l4-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -46,7 +46,7 @@
  * 
  * This class allocates "endpoint" objects (ns3::Ipv4EndPoint) for TCP,
  * and SHOULD checksum packets its receives from the socket layer going down
- * the stack , but currently checksumming is disabled.  It also recieves 
+ * the stack , but currently checksumming is disabled.  It also receives 
  * packets from IP, and forwards them up to the endpoints.
 */
 
@@ -96,7 +96,7 @@
              Ipv4Address saddr, Ipv4Address daddr, 
              uint16_t sport, uint16_t dport, Ptr<NetDevice> oif = 0);
   /**
-   * \brief Recieve a packet up the protocol stack
+   * \brief Receive a packet up the protocol stack
    * \param p The Packet to dump the contents into
    * \param source The source's Ipv4Address
    * \param destination The destinations Ipv4Address
--- a/src/internet-stack/tcp-socket-impl.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/tcp-socket-impl.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -1506,7 +1506,7 @@
     }
   NS_LOG_LOGIC ("TCP " << this << " NewAck " << ack 
            << " numberAck " << (ack - m_highestRxAck)); // Number bytes ack'ed
-  m_highestRxAck = ack;         // Note the highest recieved Ack
+  m_highestRxAck = ack;         // Note the highest received Ack
   if (GetTxAvailable () > 0)
     {
       NotifySend (GetTxAvailable ());
--- a/src/internet-stack/tcp-socket-impl.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/tcp-socket-impl.h	Fri Apr 23 15:09:31 2010 +0400
@@ -54,7 +54,7 @@
  * control.  Finite send buffer semantics are modeled, but as of yet, finite
  * receive buffer modelling is unimplemented.
  *
- * The closedown of these sockets is as of yet not compliant with the relevent
+ * The closedown of these sockets is as of yet not compliant with the relevant
  * RFCs, i.e. the FIN handshaking isn't correct.  While this is visible at the
  * PCAP tracing level, it has no effect on the statistics users are interested
  * in, i.e. throughput, delay, etc. of actual payload data.
@@ -185,7 +185,7 @@
   bool m_shutdownRecv;
   bool m_connected;
   
-  //manage the state infomation
+  //manage the state information
   States_t m_state;
   bool m_closeNotified;
   bool m_closeRequestNotified;
@@ -199,7 +199,7 @@
   SequenceNumber m_highestRxAck;
   SequenceNumber m_lastRxAck;
   
-  //sequence info, reciever side
+  //sequence info, receiver side
   SequenceNumber m_nextRxSequence; //next expected sequence
 
   //Rx buffer
--- a/src/internet-stack/udp-l4-protocol.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/internet-stack/udp-l4-protocol.h	Fri Apr 23 15:09:31 2010 +0400
@@ -101,7 +101,7 @@
    * \param icmpType The type of the message from the ICMP header
    * \param icmpCode The message code from the ICMP header
    * \param icmpInfo 32-bit integer carrying informational value of varying semantics.
-   * \param payloadSource The IP source addresss from the IP header of the packet
+   * \param payloadSource The IP source address from the IP header of the packet
    * \param payloadDestination The IP destination address from the IP header of the packet
    * \param payload Payload of the ICMP packet
    */
--- a/src/mobility/hierarchical-mobility-model.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/mobility/hierarchical-mobility-model.h	Fri Apr 23 15:09:31 2010 +0400
@@ -25,7 +25,7 @@
 namespace ns3 {
 
 /**
- * \brief a hierachical mobility model.
+ * \brief a hierarchical mobility model.
  * 
  * This model allows you to specify the position of a child object
  * relative to a parent object.
@@ -41,7 +41,7 @@
  * Setting the position on this model is always done using world
  * absolute coordinates, and it changes only the child mobility model
  * position, never the parent.  The child mobility model always uses a
- * coordinate sytem relative to the parent model position.
+ * coordinate system relative to the parent model position.
  *
  * @note: as a special case, the parent model may be NULL, which is
  * semantically equivalent to having a ConstantPositionMobilityModel
--- a/src/node/application.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/application.h	Fri Apr 23 15:09:31 2010 +0400
@@ -105,7 +105,7 @@
   /**
    * \brief Application specific startup code
    *
-   * The StartApplication method is called at the start time specifed by Start
+   * The StartApplication method is called at the start time specified by Start
    * This method should be overridden by all or most application
    * subclasses.
    */
@@ -114,7 +114,7 @@
   /**
    * \brief Application specific shutdown code
    *
-   * The StopApplication method is called at the stop time specifed by Stop
+   * The StopApplication method is called at the stop time specified by Stop
    * This method should be overridden by all or most application
    * subclasses.
    */
--- a/src/node/ipv4.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/ipv4.h	Fri Apr 23 15:09:31 2010 +0400
@@ -199,7 +199,7 @@
    * 
    * \param interface Interface number of an Ipv4 interface
    * \param addressIndex index of Ipv4InterfaceAddress 
-   * \returns the Ipv4InterfaceAddress associated to the interface and addresIndex
+   * \returns the Ipv4InterfaceAddress associated to the interface and addressIndex
    */
   virtual Ipv4InterfaceAddress GetAddress (uint32_t interface, uint32_t addressIndex) const = 0;
 
--- a/src/node/ipv6-address.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/ipv6-address.h	Fri Apr 23 15:09:31 2010 +0400
@@ -103,7 +103,7 @@
 
   /**
    * \brief Serialize this address to a 16-byte buffer.
-   * \param buf the output buffer to which this address gets overwritter with this
+   * \param buf the output buffer to which this address gets overwritten with this
    * Ipv6Address
    */
   void Serialize (uint8_t buf[16]) const;
@@ -372,7 +372,7 @@
   /**
    * \brief Print this address to the given output stream.
    *
-   * The print format is in the typicall "2001:660:4701::1".
+   * The print format is in the typical "2001:660:4701::1".
    * \param os the output stream to which this Ipv6Address is printed
    */
   void Print (std::ostream &os) const;
--- a/src/node/ipv6.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/ipv6.h	Fri Apr 23 15:09:31 2010 +0400
@@ -199,7 +199,7 @@
    * 
    * \param interface Interface number of an IPv6 interface
    * \param addressIndex index of Ipv6InterfaceAddress 
-   * \returns the Ipv6InterfaceAddress associated to the interface and addresIndex
+   * \returns the Ipv6InterfaceAddress associated to the interface and addressIndex
    */
   virtual Ipv6InterfaceAddress GetAddress (uint32_t interface, uint32_t addressIndex) const = 0;
 
--- a/src/node/net-device.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/net-device.h	Fri Apr 23 15:09:31 2010 +0400
@@ -16,7 +16,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
- * Modified by Emmanuelle Laprise to remove dependance on LLC headers
+ * Modified by Emmanuelle Laprise to remove dependence on LLC headers
  */
 #ifndef NET_DEVICE_H
 #define NET_DEVICE_H
--- a/src/node/packetbb.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/packetbb.h	Fri Apr 23 15:09:31 2010 +0400
@@ -539,7 +539,7 @@
   Ptr<PbbMessage> MessageFront (void);
 
   /**
-   * \return a cosnt smart pointer to the first message in this packet.
+   * \return a const smart pointer to the first message in this packet.
    */
   const Ptr<PbbMessage> MessageFront (void) const;
 
@@ -549,7 +549,7 @@
   Ptr<PbbMessage> MessageBack (void);
 
   /**
-   * \return a cosnt smart pointer to the last message in this packet.
+   * \return a const smart pointer to the last message in this packet.
    */
   const Ptr<PbbMessage> MessageBack (void) const;
 
--- a/src/node/queue.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/node/queue.h	Fri Apr 23 15:09:31 2010 +0400
@@ -85,14 +85,14 @@
   uint32_t GetNBytes (void) const;
 
   /**
-   * \return The total number of bytes recieved by this Queue since the
+   * \return The total number of bytes received by this Queue since the
    * simulation began, or since ResetStatistics was called, according to 
    * whichever happened more recently
    * 
    */
   uint32_t GetTotalReceivedBytes (void) const;
   /**
-   * \return The total number of packets recieved by this Queue since the
+   * \return The total number of packets received by this Queue since the
    * simulation began, or since ResetStatistics was called, according to 
    * whichever happened more recently
    */
@@ -110,8 +110,8 @@
    */
   uint32_t GetTotalDroppedPackets (void) const;
   /**
-   * Resets the counts for dropped packets, dropped bytes, recieved packets, and
-   * recieved bytes.
+   * Resets the counts for dropped packets, dropped bytes, received packets, and
+   * received bytes.
    */
   void ResetStatistics (void);
 
--- a/src/routing/global-routing/candidate-queue.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/global-routing/candidate-queue.h	Fri Apr 23 15:09:31 2010 +0400
@@ -94,7 +94,7 @@
  * @brief Pop the Shortest Path First Vertex pointer at the top of the queue.
  * @internal
  *
- * The caller is given the responsiblity for releasing the resources 
+ * The caller is given the responsibility for releasing the resources 
  * associated with the vertex.
  *
  * @see SPFVertex
--- a/src/routing/global-routing/global-route-manager-impl.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/global-routing/global-route-manager-impl.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -330,7 +330,7 @@
 {
   NS_LOG_FUNCTION (vertex);
 
-  // discard all exit direction currently assoicated with this vertex,
+  // discard all exit direction currently associated with this vertex,
   // and copy all the exit directions from the given vertex
   if (m_ecmpRootExits.size () > 0)
     {
--- a/src/routing/global-routing/global-route-manager-impl.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/global-routing/global-route-manager-impl.h	Fri Apr 23 15:09:31 2010 +0400
@@ -373,7 +373,7 @@
   void MergeRootExitDirections (const SPFVertex* vertex);
   /**
    * \brief Inherit all root exit directions from a given vertex to 'this' vertex
-   * \param vertex The vertex from which all root exit directions are to be inherrited
+   * \param vertex The vertex from which all root exit directions are to be inherited
    *
    * After the call of this method, the original root exit directions
    * in 'this' vertex are all lost.
--- a/src/routing/global-routing/global-router-interface.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/global-routing/global-router-interface.h	Fri Apr 23 15:09:31 2010 +0400
@@ -413,7 +413,7 @@
  *
  * @see RoutingEnvironment::AllocateRouterId ()
  * @see GlobalRouting::GetRouterId ()
- * @returns The Ipv4Address stored as the advetising router.
+ * @returns The Ipv4Address stored as the advertising router.
  */
   Ipv4Address GetAdvertisingRouter (void) const;
 
@@ -611,7 +611,7 @@
  * This is a fairly expensive operation in that every time it is called
  * the current list of LSAs is built by walking connected point-to-point
  * channels and peeking into adjacent IPV4 stacks to get address information.
- * This is done to allow for limited dymanics of the Global Routing 
+ * This is done to allow for limited dynamics of the Global Routing 
  * environment.  By that we mean that you can discover new link state 
  * advertisements after a network topology change by calling DiscoverLSAs 
  * and then by reading those advertisements.
--- a/src/routing/global-routing/ipv4-global-routing.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/global-routing/ipv4-global-routing.h	Fri Apr 23 15:09:31 2010 +0400
@@ -173,10 +173,10 @@
  * \brief Get a route from the global unicast routing table.
  *
  * Externally, the unicast global routing table appears simply as a table with
- * n entries.  The one sublety of note is that if a default route has been set
+ * n entries.  The one subtlety of note is that if a default route has been set
  * it will appear as the zeroth entry in the table.  This means that if you
  * add only a default route, the table will have one entry that can be accessed
- * either by explicity calling GetDefaultRoute () or by calling GetRoute (0).
+ * either by explicitly calling GetDefaultRoute () or by calling GetRoute (0).
  * 
  * Similarly, if the default route has been set, calling RemoveRoute (0) will
  * remove the default route.
@@ -195,7 +195,7 @@
  * \brief Remove a route from the global unicast routing table.
  *
  * Externally, the unicast global routing table appears simply as a table with
- * n entries.  The one sublety of note is that if a default route has been set
+ * n entries.  The one subtlety of note is that if a default route has been set
  * it will appear as the zeroth entry in the table.  This means that if the
  * default route has been set, calling RemoveRoute (0) will remove the
  * default route.
--- a/src/routing/nix-vector-routing/ipv4-nix-vector-routing.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/nix-vector-routing/ipv4-nix-vector-routing.h	Fri Apr 23 15:09:31 2010 +0400
@@ -155,5 +155,5 @@
      * number of bits */
     uint32_t m_totalNeighbors;
 };
-} // namepace ns3
+} // namespace ns3
 #endif
--- a/src/routing/olsr/olsr.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/olsr/olsr.h	Fri Apr 23 15:09:31 2010 +0400
@@ -54,7 +54,7 @@
  *
  * \section list Open Issues
  *
- * - OLSR does not repond to the routing event notifications correspondingg
+ * - OLSR does not respond to the routing event notifications corresponding
  * to dynamic interface up and down (RoutingProtocol::NotifyInterfaceUp and
  * RoutingProtocol::NotifyInterfaceDown) or address insertion/removal
  * (RoutingProtocol::NotifyAddAddress and 
--- a/src/routing/static-routing/ipv4-static-routing.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/static-routing/ipv4-static-routing.h	Fri Apr 23 15:09:31 2010 +0400
@@ -238,7 +238,7 @@
  *
  * Typically there are two main types of multicast routes:  routes of the 
  * first kind are used during forwarding.  All of the conditions must be
- * exlicitly provided.  The second kind of routes are used to get packets off
+ * explicitly provided.  The second kind of routes are used to get packets off
  * of a local node.  The difference is in the input interface.  Routes for
  * forwarding will always have an explicit input interface specified.  Routes
  * off of a node will always set the input interface to a wildcard specified
@@ -335,14 +335,14 @@
  * route that matches the parameters and removes it.
  *
  * Wildcards may be provided to this function, but the wildcards are used to
- * exacly match wildcards in the routes (see AddMulticastRoute).  That is,
+ * exactly match wildcards in the routes (see AddMulticastRoute).  That is,
  * calling RemoveMulticastRoute with the origin set to "0.0.0.0" will not
  * remove routes with any address in the origin, but will only remove routes
  * with "0.0.0.0" set as the the origin.
  *
  * \param origin The IP address specified as the origin of packets for the
  * route.
- * \param group The IP address specified as the multicast group addres of
+ * \param group The IP address specified as the multicast group address of
  * the route.
  * \param inputInterface The network interface index specified as the expected
  * input interface for the route.
--- a/src/routing/static-routing/ipv6-routing-table-entry.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/routing/static-routing/ipv6-routing-table-entry.h	Fri Apr 23 15:09:31 2010 +0400
@@ -213,7 +213,7 @@
   /**
    * \brief Constructor.
    * \param dest destination address
-   * \param prefix destiation prefix
+   * \param prefix destination prefix
    * \param interface interface index
    */
   Ipv6RoutingTableEntry (Ipv6Address dest, Ipv6Prefix prefix, uint32_t interface);
--- a/src/simulator/nstime.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/simulator/nstime.h	Fri Apr 23 15:09:31 2010 +0400
@@ -344,7 +344,7 @@
   return TimeUnit<N> (Min (a, b));
 }
 
-// Explicit instatiation of the TimeUnit template for N=1, with a few
+// Explicit instantiation of the TimeUnit template for N=1, with a few
 // additional methods that should not be available for N!=1
 // \class TimeUnit<1>
 
@@ -616,7 +616,7 @@
 // internal function not publicly documented
 Time TimeStep (uint64_t ts);
 
-// Explicit instatiation of the TimeUnit template for N=0, with a few
+// Explicit instantiation of the TimeUnit template for N=0, with a few
 // additional methods that should not be available for N != 0
 template <>
 class TimeUnit<0>
--- a/src/simulator/realtime-simulator-impl.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/simulator/realtime-simulator-impl.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -161,7 +161,7 @@
   //
   // We need to be able to have external events (such as a packet reception event)
   // cause us to re-evaluate our state.  The way this works is that the synchronizer
-  // gets interrupted and returs.  So, there is a possibility that things may change
+  // gets interrupted and returns.  So, there is a possibility that things may change
   // out from under us dynamically.  In this case, we need to re-evaluate how long to 
   // wait in a for-loop until we have waited sucessfully (until a timeout) for the 
   // event at the head of the event list.
--- a/src/simulator/synchronizer.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/simulator/synchronizer.h	Fri Apr 23 15:09:31 2010 +0400
@@ -140,7 +140,7 @@
   bool Synchronize (uint64_t tsCurrent, uint64_t tsDelay);
 
 /**
- * @brief Tell a posible simulator thread waiting in the Synchronize method
+ * @brief Tell a possible simulator thread waiting in the Synchronize method
  * that an event has happened which demands a reevaluation of the wait time.
  * This will cause the thread to wake and return to the simulator proper
  * where it can get its bearings.
@@ -151,7 +151,7 @@
   void Signal (void);
 
 /**
- * @brief Set the condition variable that tells a posible simulator thread 
+ * @brief Set the condition variable that tells a possible simulator thread 
  * waiting in the Synchronize method that an event has happened which demands
  * a reevaluation of the wait time.
  *
@@ -265,7 +265,7 @@
   virtual bool DoSynchronize (uint64_t nsCurrent, uint64_t nsDelay) = 0;
 
 /**
- * @brief Declaration of the method used to tell a posible simulator thread 
+ * @brief Declaration of the method used to tell a possible simulator thread 
  * waiting in the DoSynchronize method that an event has happened which
  * demands a reevaluation of the wait time.
  *
@@ -275,7 +275,7 @@
 
 /**
  * @brief Declaration of the method used to set the condition variable that 
- * tells a posible simulator thread waiting in the Synchronize method that an
+ * tells a possible simulator thread waiting in the Synchronize method that an
  * event has happened which demands a reevaluation of the wait time.
  *
  * @see Synchronizer::SetCondition
--- a/src/simulator/wall-clock-synchronizer.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/simulator/wall-clock-synchronizer.h	Fri Apr 23 15:09:31 2010 +0400
@@ -49,7 +49,7 @@
  * be on the order of nanoseconds.
  *
  * Now, just because we can measure time in nanoseconds doesn't mean we can
- * put our process to sleep to nanosecond resolution.  We are eventualy going
+ * put our process to sleep to nanosecond resolution.  We are eventually going
  * to use the function clock_nanosleep () to sleep until a simulation Time
  * specified by the caller. 
  *
--- a/src/test/ns3tcp/receive-list-error-model.cc	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/test/ns3tcp/receive-list-error-model.cc	Fri Apr 23 15:09:31 2010 +0400
@@ -16,7 +16,7 @@
  * This code should be moved to src/common/error-model.h during ns-3.9 
  * release cycle with some minor modifications, such as adding GetTypeId 
  * method and logging to all methods. This can be done by uncommenting 
- * relavent code below.
+ * relevant code below.
  */
 
 #include "ns3/packet.h"
--- a/src/test/ns3tcp/receive-list-error-model.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/test/ns3tcp/receive-list-error-model.h	Fri Apr 23 15:09:31 2010 +0400
@@ -16,7 +16,7 @@
  * This code should be moved to src/common/error-model.h during ns-3.9 
  * release cycle with some minor modifications, such as adding GetTypeId 
  * method and logging to all methods. This can be done by uncommenting 
- * relavent code below.
+ * relevant code below.
  */
 #ifndef RECEIVE_LIST_ERROR_MODEL_H
 #define RECEIVE_LIST_ERROR_MODEL_H
--- a/src/test/ns3wifi/ns3wifi.h	Fri Apr 23 14:53:30 2010 +0400
+++ b/src/test/ns3wifi/ns3wifi.h	Fri Apr 23 15:09:31 2010 +0400
@@ -4,5 +4,5 @@
  *
  * \section Ns3WifiTestsOverview ns-3 Wifi Implementation Tests Overview
  *
- * ns-3 has a Wifi implemtation and we test it a litte.
+ * ns-3 has a Wifi implementation and we test it a little.
  */