Note that this method is now deprecated and will be removed in a future version of ns-3. To get access to the content of the byte buffer of a packet, call CopyData"()" to perform an explicit copy.
Users who wish to use reference counting for a class of their own should use instead the template ns3::SimpleRefCount. This class is maintained purely for compatibility to avoid breaking the code of users.