README: Mention the possibility to capture traces using tcpdump

This commit is contained in:
Marcel Holtmann 2014-08-10 12:48:40 -07:00
parent b4eb544355
commit 05c6ecbeff
1 changed files with 13 additions and 0 deletions

13
README
View File

@ -93,6 +93,19 @@ needs to be created:
For now it is important that the netlink monitor interace is actually
named nlmon. Future version might relax this requirement.
It is possible to create netlink traces in PCAP format using tcpdump
and then read them via iwmon utility:
tcpdump -i nlmon -w trace-file.pcap
The resulting PCAP files will use Linux cooked packet format containing
packets with ARPHRD_NETLINK type. They can be read using iwmon:
iwmon -r trace-file.pcap
At this time iwmon is not able to write PCAP files by itself. This might
change in future versions.
Simulating devices
==================