Traffic Flow Template Tutorial

This tutorial describes how to use the traffic flow template functions in a packet service sub-session.


  1. Use RPacketContext::CreateNewTFT() to create a new traffic flow template for a context.

  2. Use RPacketContext::EnumeratePacketFilters() to get the number of packet filters defined for the context.

  3. Use RPacketContext::GetPacketFilterInfo() to retrieve the information of a packet filter.

  4. Use RPacketContext::AddPacketFilter() to add or replace a packet filter used in the context.

  5. Use RPacketContext::RemovePacketFilter() to remove a packet filter from the context.

  6. Use RPacketContext::DeleteTFT() to delete a traffic flow template.

  7. Use RTelSubSessionBase::CancelAsyncRequest() to cancel any of the commands.