Markus Armbruster 
							
						 
					 
					
						
						
							
						
						f91005e195 
					 
					
						
						
							
							Supply missing header guards  
						
						... 
						
						
						
						Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20190604181618.19980-5-armbru@redhat.com > 
						
						
					 
					
						2019-06-12 13:20:21 +02:00 
						 
				 
			
				
					
						
							
							
								Laurent Vivier 
							
						 
					 
					
						
						
							
						
						8f553bf77c 
					 
					
						
						
							
							linux-user: update ARCH_HAS_SOCKET_TYPES use  
						
						... 
						
						
						
						to be like in the kernel and rename it TARGET_ARCH_HAS_SOCKET_TYPES
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-Id: <20180519092956.15134-7-laurent@vivier.eu > 
						
						
					 
					
						2018-05-25 10:10:55 +02:00 
						 
				 
			
				
					
						
							
							
								Laurent Vivier 
							
						 
					 
					
						
						
							
						
						500fa60760 
					 
					
						
						
							
							linux-user: move socket.h generic definitions to generic/sockbits.h  
						
						... 
						
						
						
						and include the file from architectures without specific definitions
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-Id: <20180519092956.15134-5-laurent@vivier.eu > 
						
						
					 
					
						2018-05-25 10:10:55 +02:00 
						 
				 
			
				
					
						
							
							
								Laurent Vivier 
							
						 
					 
					
						
						
							
						
						da84fdaaf8 
					 
					
						
						
							
							linux-user: move sparc/sparc64 socket.h definitions to sparc/sockbits.h  
						
						... 
						
						
						
						No code change.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20180519092956.15134-4-laurent@vivier.eu > 
						
						
					 
					
						2018-05-25 10:10:55 +02:00 
						 
				 
			
				
					
						
							
							
								Laurent Vivier 
							
						 
					 
					
						
						
							
						
						f24cbd398e 
					 
					
						
						
							
							linux-user: move alpha socket.h definitions to alpha/sockbits.h  
						
						... 
						
						
						
						No code change.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20180519092956.15134-3-laurent@vivier.eu > 
						
						
					 
					
						2018-05-25 10:10:55 +02:00 
						 
				 
			
				
					
						
							
							
								Laurent Vivier 
							
						 
					 
					
						
						
							
						
						5de33b105d 
					 
					
						
						
							
							linux-user: move mips socket.h definitions to mips/sockbits.h  
						
						... 
						
						
						
						No code change.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20180519092956.15134-2-laurent@vivier.eu > 
						
						
					 
					
						2018-05-25 10:10:55 +02:00 
						 
				 
			
				
					
						
							
							
								Richard Henderson 
							
						 
					 
					
						
						
							
						
						8b4c32ae43 
					 
					
						
						
							
							linux-user: Add HPPA socket.h definitions  
						
						... 
						
						
						
						Split this out into a "cpu/sockbits.h" file now,
like we ought to do for all of the other targets.
Signed-off-by: Richard Henderson <rth@twiddle.net > 
						
						
					 
					
						2017-01-23 09:52:39 -08:00 
						 
				 
			
				
					
						
							
							
								Paul Burton 
							
						 
					 
					
						
						
							
						
						82d0fe6b7a 
					 
					
						
						
							
							linux-user: support SO_PASSSEC setsockopt option  
						
						... 
						
						
						
						Translate the SO_PASSSEC option to setsockopt to the host value &
perform the syscall as expected, allowing use of the option by target
programs.
Signed-off-by: Paul Burton <paul@archlinuxmips.org >
Signed-off-by: Riku Voipio <riku.voipio@linaro.org > 
						
						
					 
					
						2014-06-29 14:19:59 +03:00 
						 
				 
			
				
					
						
							
							
								Petar Jovanovic 
							
						 
					 
					
						
						
							
						
						f651e6ae55 
					 
					
						
						
							
							linux-user: improve target_to_host_sock_type conversion  
						
						... 
						
						
						
						Previous implementation has failed to take into account different value of
SOCK_NONBLOCK on target and host, and existence of SOCK_CLOEXEC.
The same conversion has to be applied both for do_socket and do_socketpair,
so the code has been isolated in a static inline function.
enum sock_type in linux-user/socket.h has been extended to include
TARGET_SOCK_CLOEXEC and TARGET_SOCK_NONBLOCK, similar to definition in libc.
The patch also includes necessary code style changes (tab to spaces) in the
header file since most of the file has been touched by this change.
Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com >
Message-id: 1372639454-7560-1-git-send-email-petar.jovanovic@rt-rk.com 
Reviewed-by: Peter Maydell <peter.maydell@linaro.org > 
						
						
					 
					
						2013-07-05 15:45:40 +03:00 
						 
				 
			
				
					
						
							
							
								Dillon Amburgey 
							
						 
					 
					
						
						
							
						
						ec00b51a6c 
					 
					
						
						
							
							linux-user: Add Alpha socket constants  
						
						... 
						
						
						
						Without these, some networking programs will not work
Signed-off-by: Dillon Amburgey <dillona@dillona.com >
Reviewed-by: Richard Henderson <rth@twiddle.net >
Signed-off-by: Riku Voipio <riku.voipio@linaro.org > 
						
						
					 
					
						2013-03-11 13:04:44 +02:00 
						 
				 
			
				
					
						
							
							
								j_mayer 
							
						 
					 
					
						
						
							
						
						e32448e059 
					 
					
						
						
							
							Various linux-user structures and definitions fixes for PowerPC targets.  
						
						... 
						
						
						
						git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3800 c046a42c-6fe2-441c-8c8c-71466251a162 
						
						
					 
					
						2007-12-10 08:24:59 +00:00 
						 
				 
			
				
					
						
							
							
								bellard 
							
						 
					 
					
						
						
							
						
						3532fa7402 
					 
					
						
						
							
							mips socket calls (initial patch by Raphael Rigo)  
						
						... 
						
						
						
						git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2006 c046a42c-6fe2-441c-8c8c-71466251a162 
						
						
					 
					
						2006-06-24 15:06:03 +00:00