ADTF_DEVICE_TOOLBOX  3.11.3 (ADTF 3.16.2)
PCap Ethernet Receiver Plugin

PCap Ethernet Receiver

Note
The PCap Ethernet Receiver uses libpcap to capture raw ethernet frames in promiscious mode. Due to licensing issues the pcap library is not part of the Device Toolbox - to be able to use the streaming source make sure that libpcap is installed on your system. On Linux this is usually a matter of installing the libpcap package provided by your distribution.

Windows users can choose from a number of PCap implementations such as npcap, winpcap or win10pcap. With Wireshark installed and working on your Windows system there is a good chance that the PCap Ethernet Receiver will work, too.

See also SOME/IP tracing.

Plugin Information
Plugin Filenamepcap_ethernet_source.adtfplugin
Plugin Descriptionpcap_ethernet_source.plugindescription
Plugin NamePCAP Ethernet Receiver Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLwww.digitalwerk.net
Plugin Versions
Plugin Version3.11.3
Plugin File Version1.0
adtf::devicetb3.11.3
adtf3.16.2
adtf::ucom3.1.0
Component Information
NamePCap Ethernet Receiver
CIDpcap_ethernet_receiver.streaming_source.devicetb.cid
DescriptionUse this Streaming Source to receive RAW ethernet data using PCap on your system.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
adapter_ip_address0.0.0.0cStringThe IP address of the network interface to listen to.
berkeley_packet_filtercStringDefinition of the subset to receive.
Output Pins
NameStream TypeDescription
ethernet_out adtf/devicetb/ethernet Raw Ethernet sample streams from PCAP Device.
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Required Interfaces
IID
reference_clock.flash.streaming.adtf.iid
Output Pin Stream Types
Pin Nameethernet_out
Meta Type Nameadtf/devicetb/ethernet
Stream Type Properties
NameValueTypeDescriptionSubproperties
md_data_serializedtruetBool
md_definitions
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<adtf:ddl xmlns:adtf="adtf">
<structs>
<struct name="tEthernetSampleHeader" version="1" ddlversion="4.0">
<element name="tmTimestampBeginNs" type="tInt64" arraysize="1">
<deserialized alignment="1"/>
<serialized bytepos="0" byteorder="LE"/>
</element>
<element name="tmTimestampEndNs" type="tInt64" arraysize="1">
<deserialized alignment="1"/>
<serialized bytepos="8" byteorder="LE"/>
</element>
<element name="nErrorCode" type="tInt32" arraysize="1">
<deserialized alignment="1"/>
<serialized bytepos="16" byteorder="LE"/>
</element>
<element name="nFrameCheckSequence" type="tUInt32" arraysize="1">
<deserialized alignment="1"/>
<serialized bytepos="20" byteorder="LE"/>
</element>
<element name="nFrameSize" type="tUInt32" arraysize="1">
<deserialized alignment="1"/>
<serialized bytepos="24" byteorder="LE"/>
</element>
<element name="aFrameData" type="tUInt8" arraysize="nFrameSize">
<deserialized alignment="1"/>
<serialized bytepos="28" byteorder="LE"/>
</element>
</struct>
</structs>
</adtf:ddl>
cString
md_structtEthernetSampleHeadercString

Reference setup

Tested with win10pcap Version 10.2.5002, npcap Version 0.9995, Wireshark Version 3.2.5