tun: Support software transmit time stamping.
This patch adds transmit time stamping to the tun/tap driver. Similar support already exists for UDP, can, and raw packets. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
					parent
					
						
							
								cb820f8e4b
							
						
					
				
			
			
				commit
				
					
						eda2977291
					
				
			
		
					 2 changed files with 15 additions and 2 deletions
				
			
		|  | @ -71,6 +71,9 @@ | |||
| /* read-only flag */ | ||||
| #define IFF_PERSIST	0x0800 | ||||
| 
 | ||||
| /* Socket options */ | ||||
| #define TUN_TX_TIMESTAMP 1 | ||||
| 
 | ||||
| /* Features for GSO (TUNSETOFFLOAD). */ | ||||
| #define TUN_F_CSUM	0x01	/* You can hand me unchecksummed packets. */ | ||||
| #define TUN_F_TSO4	0x02	/* I can handle TSO for IPv4 packets */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Richard Cochran
				Richard Cochran