src/spectrum/model/aloha-noack-net-device.cc
changeset 10968 2d29fee2b7b8
parent 10652 dc18deba4502
child 11085 6e4d08656d7c
equal deleted inserted replaced
10967:597a9ec89e60 10968:2d29fee2b7b8
    29 #include "ns3/trace-source-accessor.h"
    29 #include "ns3/trace-source-accessor.h"
    30 #include "aloha-noack-mac-header.h"
    30 #include "aloha-noack-mac-header.h"
    31 #include "aloha-noack-net-device.h"
    31 #include "aloha-noack-net-device.h"
    32 #include "ns3/llc-snap-header.h"
    32 #include "ns3/llc-snap-header.h"
    33 
    33 
       
    34 namespace ns3 {
       
    35 
    34 NS_LOG_COMPONENT_DEFINE ("AlohaNoackNetDevice");
    36 NS_LOG_COMPONENT_DEFINE ("AlohaNoackNetDevice");
    35 
       
    36 
       
    37 namespace ns3 {
       
    38 
       
    39 
    37 
    40 std::ostream& operator<< (std::ostream& os, AlohaNoackNetDevice::State state)
    38 std::ostream& operator<< (std::ostream& os, AlohaNoackNetDevice::State state)
    41 {
    39 {
    42   switch (state)
    40   switch (state)
    43     {
    41     {