mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 14:06:03 +00:00 
			
		
		
		
	 ae40eb1ef3
			
		
	
	
		ae40eb1ef3
		
	
	
	
	
		
			
			Now network timestamps use ktime_t infrastructure, we can add a new ioctl() SIOCGSTAMPNS command to get timestamps in 'struct timespec'. User programs can thus access to nanosecond resolution. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> CC: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			14 lines
		
	
	
		
			370 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			370 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __ARCH_M68K_SOCKIOS__
 | |
| #define __ARCH_M68K_SOCKIOS__
 | |
| 
 | |
| /* Socket-level I/O control calls. */
 | |
| #define FIOSETOWN	0x8901
 | |
| #define SIOCSPGRP	0x8902
 | |
| #define FIOGETOWN	0x8903
 | |
| #define SIOCGPGRP	0x8904
 | |
| #define SIOCATMARK	0x8905
 | |
| #define SIOCGSTAMP	0x8906		/* Get stamp (timeval) */
 | |
| #define SIOCGSTAMPNS	0x8907		/* Get stamp (timespec) */
 | |
| 
 | |
| #endif /* __ARCH_M68K_SOCKIOS__ */
 |