PcapPlusPlus  20.08+
header Directory Reference

Files

file  ArpLayer.h [code]
 
file  BgpLayer.h [code]
 
file  Device.h [code]
 
file  DhcpLayer.h [code]
 
file  DnsLayer.h [code]
 
file  DnsLayerEnums.h [code]
 
file  DnsResource.h [code]
 
file  DnsResourceData.h [code]
 
file  DpdkDevice.h [code]
 
file  DpdkDeviceList.h [code]
 
file  EthDot3Layer.h [code]
 
file  EthLayer.h [code]
 
file  GeneralUtils.h [code]
 
file  GreLayer.h [code]
 
file  GtpLayer.h [code]
 
file  HttpLayer.h [code]
 
file  IcmpLayer.h [code]
 
file  IgmpLayer.h [code]
 
file  IpAddress.h [code]
 
file  IPReassembly.h [code]
 
file  IpUtils.h [code]
 
file  IPv4Layer.h [code]
 
file  IPv6Extensions.h [code]
 
file  IPv6Layer.h [code]
 
file  KniDevice.h [code]
 This file and KniDeviceList.h provide PcapPlusPlus C++ wrapper for DPDK KNI (Kernel Network Interace) library (librte_kni). The main propose of the rte_kni library is to provide a way to forward packets received by DPDK application to Linux kernel (a.e. to processes that have opened some kind of a net socket) for further processing and to obtain packets from Linux kernel. The KNI device is the bridge that accomplish the translation between DPDK packets (mbuf) and Linux kernel/socket packets (skbuf). Currently KNI devices report speeds upto 10 GBit/s.
KNI device is a virtual network interface so it can be created and destroyed programmatically at will. As a real network interface KNI deivice must be managed appropriately like other interfaces. To start operate it MUST be given an IP address for example by the means of ip a command and MUST be put up for example by ip l set [interface] up.
Additionally KNI interfaces support 4 other settings (depends on DPDK version used):
 
file  Layer.h [code]
 
file  Logger.h [code]
 
file  LRUList.h [code]
 
file  MacAddress.h [code]
 
file  MplsLayer.h [code]
 
file  NetworkUtils.h [code]
 
file  NullLoopbackLayer.h [code]
 
file  Packet.h [code]
 
file  PacketTrailerLayer.h [code]
 
file  PacketUtils.h [code]
 
file  PayloadLayer.h [code]
 
file  PcapDevice.h [code]
 
file  PcapFileDevice.h [code]
 
file  PcapFilter.h [code]
 
file  PcapLiveDevice.h [code]
 
file  PcapLiveDeviceList.h [code]
 
file  PcapPlusPlusVersion.h [code]
 
file  PcapRemoteDevice.h [code]
 
file  PcapRemoteDeviceList.h [code]
 
file  PfRingDevice.h [code]
 
file  PfRingDeviceList.h [code]
 
file  PointerVector.h [code]
 
file  PPPoELayer.h [code]
 
file  ProtocolType.h [code]
 
file  RadiusLayer.h [code]
 
file  RawPacket.h [code]
 
file  RawSocketDevice.h [code]
 
file  SdpLayer.h [code]
 
file  SipLayer.h [code]
 
file  SllLayer.h [code]
 
file  SSHLayer.h [code]
 
file  SSLCommon.h [code]
 
file  SSLHandshake.h [code]
 
file  SSLLayer.h [code]
 
file  SystemUtils.h [code]
 
file  TablePrinter.h [code]
 
file  TcpLayer.h [code]
 
file  TcpReassembly.h [code]
 
file  TextBasedProtocol.h [code]
 
file  TLVData.h [code]
 
file  UdpLayer.h [code]
 
file  VlanLayer.h [code]
 
file  VxlanLayer.h [code]
 
file  WinPcapLiveDevice.h [code]