src/devices/point-to-point/point-to-point.h
author Andrey Mazo <mazo@iitp.ru>
Fri, 23 Apr 2010 15:09:31 +0400
changeset 6273 8d70de29d514
parent 4018 ea1dd6fcaf55
permissions -rw-r--r--
spell check, mostly in comments.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2867
d63b525e3f80 Some doxygen work
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     1
/**
d63b525e3f80 Some doxygen work
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     2
 * \ingroup devices
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
     3
 * \defgroup PointToPointModel Point-to-Point Model
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
     4
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
     5
 * \section PointToPointPointOverview Point-to-Point Model Overview
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
     6
 *
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
     7
 * The ns-3 point-to-point model is of a very simple point to point data link
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
     8
 * connecting exactly two ns3::PointToPointNetDevice devices over an
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
     9
 * ns3::PointToPointChannel.  This can be viewed as equivalent to a full
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    10
 * duplex RS-232 or RS-422 link with null modem and no handshaking.
2867
d63b525e3f80 Some doxygen work
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    11
 *
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    12
 * Data is encapsulated in the Point-to-Point Protocol (PPP -- RFC 1661),
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    13
 * however the Link Control Protocol (LCP) and associated state machine is 
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    14
 * not implemented.  The PPP link is assumed to be established and 
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    15
 * authenticated at all times.
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    16
 *
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    17
 * Data is not framed, therefore Address and Control fields will not be found.
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    18
 * Since the data is not framed, there is no need to provide Flag Sequence and
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    19
 * Control Escape octets, nor is a Frame Check Sequence appended.  All that is
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    20
 * required to implement non-framed PPP is to prepend the PPP protocol number
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    21
 * for IP Version 4 which is the sixteen-bit number 0x21 (see
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    22
 * http://www.iana.org/assignments/ppp-numbers).
2867
d63b525e3f80 Some doxygen work
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    23
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    24
 * The PointToPointNetDevice provides following Attributes:
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    25
 *
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    26
 * - Address:       The ns3::Mac48Address of the device (if desired);
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    27
 * - DataRate:      The data rate (ns3::DataRate) of the device;
6273
8d70de29d514 spell check, mostly in comments.
Andrey Mazo <mazo@iitp.ru>
parents: 4018
diff changeset
    28
 * - TxQueue:       The transmit queue (ns3::Queue) used by the device;
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    29
 * - InterframeGap: The optional ns3::Time to wait between "frames";
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    30
 * - Rx:            A trace source for received packets;
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    31
 * - Drop:          A trace source for dropped packets.
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    32
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    33
 * The PointToPointNetDevice models a transmitter section that puts bits
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    34
 * on a corresponding channel "wire."  `The DataRate attribute specifies the
3257
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    35
 * number of bits per second that the device will simulate sending over the 
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    36
 * channel.  In reality no bits are sent, but an event is scheduled for an
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    37
 * elapsed time consistent with the number of bits in each packet and the 
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    38
 * specified DataRate.  The implication here is that the receiving device
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    39
 * models a receiver section that can receive any any data rate.  Therefore
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    40
 * there is no need, nor way to set a receive data rate in this model.  By
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    41
 * setting the DataRate on the transmitter of both devices connected to a 
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    42
 * given PointToPointChannel one can model a symmetric channel; or by 
3257
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    43
 * setting different DataRates one can model an asymmetric channel (e.g., 
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    44
 * ADSL).
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    45
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    46
 * The PointToPointNetDevice supports the assignment of a "receive error 
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    47
 * model."  This is an ns3::ErrorModel object that is used to simulate data
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    48
 * corruption on the link.
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    49
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    50
 * \section PointToPointChannelModel Point-to-Point Channel Model
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    51
3086
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    52
 * The point to point net devices are connected via an 
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    53
 * ns3::PointToPointChannel.  This channel models two wires transmitting bits
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    54
 * at the data rate specified by the source net device.  There is no overhead
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    55
 * beyond the eight bits per byte of the packet sent.  That is, we do not 
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    56
 * model Flag Sequences, Frame Check Sequences nor do we "escape" any data.
5370849d0b76 ppp model description
Craig Dowell <craigdo@ee.washington.edu>
parents: 2867
diff changeset
    57
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    58
 * The PointToPointNetChannel provides following Attributes:
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    59
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    60
 * - Delay:  An ns3::Time specifying the speed of light transmission delay for
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    61
 *   the channel.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    62
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    63
 * \section PointToPointTracingModel Point-to-Point Tracing Model
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    64
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    65
 * Like all ns-3 devices, the Point-to-Point Model provides a number of trace 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    66
 * sources.  These trace sources can be hooked using your own custom trace code,
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    67
 * or you can use our helper functions to arrange for tracing to be enabled on 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    68
 * devices you specify.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    69
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    70
 * \subsection PointToPointTracingModelUpperHooks Upper-Level (MAC) Hooks
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    71
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    72
 * From the point of view of tracing in the net device, there are several 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    73
 * interesting points to insert trace hooks.  A convention inherited from other
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    74
 * simulators is that packets destined for transmission onto attached networks
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    75
 * pass through a single "transmit queue" in the net device.  We provide trace 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    76
 * hooks at this point in packet flow, which corresponds (abstractly) only to a 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    77
 * transition from the network to data link layer, and call them collectively
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    78
 * the device MAC hooks.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    79
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    80
 * When a packet is sent to the Point-to-Point net device for transmission it 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    81
 * always passes through the transmit queue.  The transmit queue in the 
6273
8d70de29d514 spell check, mostly in comments.
Andrey Mazo <mazo@iitp.ru>
parents: 4018
diff changeset
    82
 * PointToPointNetDevice inherits from Queue, and therefore inherits three 
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    83
 * trace sources:
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    84
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    85
 * - An Enqueue operation source (see Queue::m_traceEnqueue);
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    86
 * - A Dequeue operation source (see Queue::m_traceDequeue);
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    87
 * - A Drop operation source (see Queue::m_traceDrop).
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    88
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    89
 * The upper-level (MAC) trace hooks for the PointToPointNetDevice are, in fact, 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    90
 * exactly these three trace sources on the single transmit queue of the device.  
3257
ba198dad54a2 CSMA Cleanup, XXX in echo apps, clarification of point-to-point data rates in dox
Craig Dowell <craigdo@ee.washington.edu>
parents: 3181
diff changeset
    91
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    92
 * The m_traceEnqueue event is triggered when a packet is placed on the transmit
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    93
 * queue.  This happens at the time that ns3::PointtoPointNetDevice::Send or 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    94
 * ns3::PointToPointNetDevice::SendFrom is called by a higher layer to queue a 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    95
 * packet for transmission.  An Enqueue trace event firing should be interpreted
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    96
 * as only indicating that a higher level protocol has sent a packet to the device.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    97
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    98
 * The m_traceDequeue event is triggered when a packet is removed from the
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
    99
 * transmit queue.  Dequeues from the transmit queue can happen in two
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   100
 * situations:  1) If the underlying channel is idle when 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   101
 * PointToPointNetDevice::Send is called, a packet is dequeued from the transmit
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   102
 * queue and immediately transmitted;  2) a packet may be dequeued and 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   103
 * immediately transmitted in an internal TransmitCompleteEvent that functions 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   104
 * much  like a transmit complete interrupt service routine.  An Dequeue trace 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   105
 * event firing may be viewed as indicating that the PointToPointNetDevice has
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   106
 * begun transmitting a packet.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   107
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   108
 * \subsection CsmaTracingModelUpperHooks Lower-Level (PHY) Hooks
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   109
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   110
 * Similar to the upper level trace hooks, there are trace hooks available at
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   111
 * the lower levels of the net device.  We call these the PHY hooks.  These 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   112
 * events fire from the device methods that talk directly to the 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   113
 * PointToPointChannel.
4018
ea1dd6fcaf55 doc nits and a new point-to-point device section for the manual
Craig Dowell <craigdo@ee.washington.edu>
parents: 4011
diff changeset
   114
 *
4011
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   115
 * The trace source m_dropTrace is called to indicate a packet that is dropped
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   116
 * by the device.  This happens when a packet is discarded as corrupt due to a 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   117
 * receive error model indication (see ns3::ErrorModel and the associated 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   118
 * attribute "ReceiveErrorModel").
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   119
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   120
 * The other low-level trace source fires on reception of a packet (see 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   121
 * ns3::PointToPointNetDevice::m_rxTrace) from the PointToPointChannel.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   122
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   123
 * \section PointToPointModelSummary Point-To-Point Model Summary
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   124
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   125
 * The ns3 Point-to-Point model is a simplistic model of a point to point
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   126
 * serial line link.
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   127
 *
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   128
 * Ns-3 Attributes provide a mechanism for setting various parameters in the 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   129
 * device and channel such as data rates, speed-of-light delays and error model
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   130
 * selection.  Trace hooks are provided in the usual manner with a set of 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   131
 * upper level hooks corresponding to a transmit queue and used in ASCII 
2fd3041c3c29 some device trace source documentation
Craig Dowell <craigdo@ee.washington.edu>
parents: 3257
diff changeset
   132
 * tracing; and also a set of lower level hooks used in pcap tracing.
2867
d63b525e3f80 Some doxygen work
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
   133
 */