Network Interface Tutorial

This tutorial describes the tasks related to network interface in a packet service sub-session.


  1. Use RPacketService::EnumerateNifs() to retrieve the packet network interfaces defined in the device.

  2. Use RPacketService::GetNifInfo() to retrieve the information about a packet service network interface.

  3. Use RPacketService::EnumerateContextsInNif() to retrieve the information about the contexts defined for a network interface. There can be more than one context defined for a network interface.

  4. Use RPacketService::GetContextNameInNif() to retrieve the name of a specified context.

  5. Use RPacketService::DeactivateNIF() to de-activate a network interface for a packet service sub-session.

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