ns-3
|
Public Member Functions | |
ServiceFlow * | Classify (Ptr< const Packet > packet, Ptr< ServiceFlowManager > sfm, ServiceFlow::Direction dir) |
classify a packet in a service flow | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::IpcsClassifier. |
ServiceFlow * ns3::IpcsClassifier::Classify | ( | Ptr< const Packet > | packet, |
Ptr< ServiceFlowManager > | sfm, | ||
ServiceFlow::Direction | dir | ||
) |
classify a packet in a service flow
packet | the packet to classify |
sfm | the service flow manager to be used to classify packets |
dir | The direction on wich the packet should be sent (UP or DOWN) |
References ns3::Packet::Copy(), ns3::Ipv4Header::GetDestination(), ns3::UdpHeader::GetDestinationPort(), ns3::TcpHeader::GetDestinationPort(), ns3::Ipv4Header::GetProtocol(), ns3::Ipv4Header::GetSource(), ns3::UdpHeader::GetSourcePort(), ns3::TcpHeader::GetSourcePort(), NS_LOG_INFO, and ns3::Packet::RemoveHeader().
TypeId ns3::IpcsClassifier::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::IpcsClassifier.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
References ns3::TypeId::SetParent().