Files
eden-sim/contrib/tsn/model/stream-identification-function-null.h

53 lines
1.2 KiB
C
Raw Permalink Normal View History

2025-12-01 15:56:02 +01:00
#ifndef NULL_STREAM_IDENTIFICATION_FUNCTION_H
#define NULL_STREAM_IDENTIFICATION_FUNCTION_H
#include "stream-identification-function.h"
#include "ns3/mac48-address.h"
#include "ns3/packet.h"
namespace ns3
{
class NullStreamIdentificationFunction : public StreamIdentificationFunction
{
public:
/**
* \brief Get the TypeId
*
* \return The TypeId for this class
*/
static TypeId GetTypeId();
/**
* \brief Create a NullStreamIdentificationFunction
*/
NullStreamIdentificationFunction();
/**
* Destroy a NullStreamIdentificationFunction
*
* This is the destructor for the NullStreamIdentificationFunction.
*/
~NullStreamIdentificationFunction();
// Delete copy constructor and assignment operator to avoid misuse
NullStreamIdentificationFunction& operator=(const NullStreamIdentificationFunction&) = delete;
NullStreamIdentificationFunction(const NullStreamIdentificationFunction&) = delete;
bool Match(Ptr<Packet> p) override;
void GetActiveUpdate(Ptr<Packet> p) override;
protected:
private:
Address m_destAddress;
uint16_t m_vid;
};
}
#endif /* NULL_STREAM_IDENTIFICATION_FUNCTION_H */