mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-11-04 08:57:29 +01:00 
			
		
		
		
	README: Mention the possibility to capture traces using tcpdump
This commit is contained in:
		
							parent
							
								
									b4eb544355
								
							
						
					
					
						commit
						05c6ecbeff
					
				
							
								
								
									
										13
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README
									
									
									
									
									
								
							@ -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
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user