Update README and add contrib dir

This commit is contained in:
2025-12-01 15:56:02 +01:00
parent 1b80de2153
commit cd9ba93d58
150 changed files with 25563 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
#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 */