mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			303 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			303 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  *	BIRD -- Endianity Conversion
 | |
|  *
 | |
|  *	(c) 1999 Martin Mares <mj@ucw.cz>
 | |
|  *
 | |
|  *	Can be freely distributed and used under the terms of the GNU GPL.
 | |
|  */
 | |
| 
 | |
| #ifndef _BIRD_ENDIAN_H_
 | |
| #define _BIRD_ENDIAN_H_
 | |
| 
 | |
| /* hton[sl] and ntoh[sl] are defined here */
 | |
| 
 | |
| #include <sys/types.h>
 | |
| #include <netinet/in.h>
 | |
| 
 | |
| #endif
 |