#include <cs-parameters.h>
Collaboration diagram for ns3::CsParameters:Public Types | |
| enum | Action { ADD = 0, REPLACE = 1, DELETE = 2 } |
Public Member Functions | |
| CsParameters () | |
| CsParameters (Tlv tlv) | |
| creates a convergence sub-layer parameters from a tlv More... | |
| CsParameters (enum Action classifierDscAction, IpcsClassifierRecord classifier) | |
| creates a convergence sub-layer parameters from an ipcs classifier record More... | |
| ~CsParameters () | |
| enum Action | GetClassifierDscAction (void) const |
| IpcsClassifierRecord | GetPacketClassifierRule (void) const |
| void | SetClassifierDscAction (enum Action action) |
| sets the dynamic service classifier action to ADD, Change or delete. More... | |
| void | SetPacketClassifierRule (IpcsClassifierRecord packetClassifierRule) |
| sets the packet classifier rules More... | |
| Tlv | ToTlv (void) const |
| creates a tlv from the classifier record More... | |
Private Attributes | |
| enum Action | m_classifierDscAction |
| IpcsClassifierRecord | m_packetClassifierRule |
Definition at line 34 of file cs-parameters.h.
| ns3::CsParameters::CsParameters | ( | ) |
Definition at line 25 of file cs-parameters.cc.
References ADD, and m_classifierDscAction.
| ns3::CsParameters::~CsParameters | ( | ) |
Definition at line 29 of file cs-parameters.cc.
| ns3::CsParameters::CsParameters | ( | Tlv | tlv | ) |
creates a convergence sub-layer parameters from a tlv
Definition at line 34 of file cs-parameters.cc.
References ns3::CsParamVectorTlvValue::Classifier_DSC_Action, ns3::Tlv::GetType(), ns3::SfVectorTlvValue::IPV4_CS_Parameters, m_classifierDscAction, m_packetClassifierRule, NS_ASSERT_MSG, ns3::CsParamVectorTlvValue::Packet_Classification_Rule, and ns3::Tlv::PeekValue().
Here is the call graph for this function:| ns3::CsParameters::CsParameters | ( | enum Action | classifierDscAction, |
| IpcsClassifierRecord | classifier | ||
| ) |
creates a convergence sub-layer parameters from an ipcs classifier record
Definition at line 61 of file cs-parameters.cc.
References m_classifierDscAction, and m_packetClassifierRule.
| enum CsParameters::Action ns3::CsParameters::GetClassifierDscAction | ( | void | ) | const |
Definition at line 78 of file cs-parameters.cc.
References m_classifierDscAction.
| IpcsClassifierRecord ns3::CsParameters::GetPacketClassifierRule | ( | void | ) | const |
Definition at line 83 of file cs-parameters.cc.
References m_packetClassifierRule.
Referenced by ns3::ServiceFlow::CheckClassifierMatch(), and Ns3WimaxCsParamTlvTestCase::DoRun().
Here is the caller graph for this function:| void ns3::CsParameters::SetClassifierDscAction | ( | enum Action | action | ) |
sets the dynamic service classifier action to ADD, Change or delete.
Only ADD is supported
Definition at line 68 of file cs-parameters.cc.
References m_classifierDscAction.
| void ns3::CsParameters::SetPacketClassifierRule | ( | IpcsClassifierRecord | packetClassifierRule | ) |
sets the packet classifier rules
Definition at line 73 of file cs-parameters.cc.
References m_packetClassifierRule.
| Tlv ns3::CsParameters::ToTlv | ( | void | ) | const |
creates a tlv from the classifier record
Definition at line 88 of file cs-parameters.cc.
References ns3::VectorTlvValue::Add(), ns3::CsParamVectorTlvValue::Classifier_DSC_Action, ns3::VectorTlvValue::GetSerializedSize(), ns3::SfVectorTlvValue::IPV4_CS_Parameters, m_classifierDscAction, m_packetClassifierRule, and ns3::IpcsClassifierRecord::ToTlv().
Referenced by Ns3WimaxCsParamTlvTestCase::DoRun(), and ns3::ServiceFlow::ToTlv().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 76 of file cs-parameters.h.
Referenced by CsParameters(), GetClassifierDscAction(), SetClassifierDscAction(), and ToTlv().
|
private |
Definition at line 77 of file cs-parameters.h.
Referenced by CsParameters(), GetPacketClassifierRule(), SetPacketClassifierRule(), and ToTlv().