Ethernet Header Extraction Tool

This tool reads in a TCP/UDP file captured by Ethereal and extracts selected header fields.
Updated 1 Sep 2016

View License

Ethereal is a free software program that can record LAN traffic ( The recorded data file shows time stamps, packet lengths, and header and data fields for every captured network packet.
This program lets you extract selected header fields from a captured data file and write the fields into MATLAB arrays. This can be useful for network traffic simulations, where you are interested in accurately modeling the bursty nature of LAN communications. This program lets you extract the packet timestamps, packet lengths, source and destination address fields, etc.

This program is not an industrial strength tool. It has some limitations in terms of the files that can be analyzed and some very simple error checking. Please read the attached readme.txt file for instructions on how to use this tool.

Cite As

Mike Donovan (2024). Ethernet Header Extraction Tool (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license