mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:22:43 +00:00 
			
		
		
		
	Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt
This commit is contained in:
		
							parent
							
								
									20c7fcfedf
								
							
						
					
					
						commit
						adc9939a7b
					
				
					 9 changed files with 37 additions and 8 deletions
				
			
		|  | @ -22,6 +22,7 @@ typedef uint32_t in_addr_t; | |||
| 
 | ||||
| #define IN_LOOPBACKNET 127 | ||||
| 
 | ||||
| #define IP_TOS 1 | ||||
| #define IP_TTL 2 | ||||
| #define IP_MULTICAST_LOOP 3 | ||||
| #define IP_ADD_MEMBERSHIP 4 | ||||
|  | @ -29,6 +30,10 @@ typedef uint32_t in_addr_t; | |||
| #define IP_MULTICAST_IF 6 | ||||
| #define IP_MULTICAST_TTL 7 | ||||
| 
 | ||||
| #define IPTOS_LOWDELAY 16 | ||||
| #define IPTOS_THROUGHPUT 8 | ||||
| #define IPTOS_RELIABILITY 4 | ||||
| 
 | ||||
| /* Make sure these don't overlap with any other IPv4 and IPv6 options */ | ||||
| #define MCAST_JOIN_SOURCE_GROUP 100 | ||||
| #define MCAST_LEAVE_SOURCE_GROUP 101 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Idan Horowitz
						Idan Horowitz