src/network/utils/pcap-file.cc
changeset 10968 2d29fee2b7b8
parent 10439 73bc9e55f9bd
child 11413 eec025ea99c5
equal deleted inserted replaced
10967:597a9ec89e60 10968:2d29fee2b7b8
    31 //
    31 //
    32 // This file is used as part of the ns-3 test framework, so please refrain from 
    32 // This file is used as part of the ns-3 test framework, so please refrain from 
    33 // adding any ns-3 specific constructs such as Packet to this file.
    33 // adding any ns-3 specific constructs such as Packet to this file.
    34 //
    34 //
    35 
    35 
       
    36 namespace ns3 {
       
    37 
    36 NS_LOG_COMPONENT_DEFINE ("PcapFile");
    38 NS_LOG_COMPONENT_DEFINE ("PcapFile");
    37 
       
    38 namespace ns3 {
       
    39 
    39 
    40 const uint32_t MAGIC = 0xa1b2c3d4;            /**< Magic number identifying standard pcap file format */
    40 const uint32_t MAGIC = 0xa1b2c3d4;            /**< Magic number identifying standard pcap file format */
    41 const uint32_t SWAPPED_MAGIC = 0xd4c3b2a1;    /**< Looks this way if byte swapping is required */
    41 const uint32_t SWAPPED_MAGIC = 0xd4c3b2a1;    /**< Looks this way if byte swapping is required */
    42 
    42 
    43 const uint32_t NS_MAGIC = 0xa1b23cd4;         /**< Magic number identifying nanosec resolution pcap file format */
    43 const uint32_t NS_MAGIC = 0xa1b23cd4;         /**< Magic number identifying nanosec resolution pcap file format */