PGEN-Ethernet

pgen_eth class can analyze Ethernet packet. More Ethernet’s information, please see Ethernet(Wikipedia).

 

Packet Format

 

Member Variable

  • ETH.dst          Destination MAC address
  • ETH.src          Source MAC address
  • ETH.type       Ether type

 

 

 

Sample Code

 

This is execution result.

 

Comments are closed.