initial support for OpenIndiana
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
		
							parent
							
								
									52918b3003
								
							
						
					
					
						commit
						37953f5c49
					
				
					 9 changed files with 329 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -588,7 +588,9 @@ static ssize_t ddsi_tcp_conn_write (ddsi_tran_conn_t base, const nn_locator_t *d
 | 
			
		|||
  set_msghdr_iov (&msg, (ddsi_iovec_t *) iov, niov);
 | 
			
		||||
  msg.msg_name = &dstaddr;
 | 
			
		||||
  msg.msg_namelen = (socklen_t) os_sockaddrSizeof((os_sockaddr *) &dstaddr);
 | 
			
		||||
#if SYSDEPS_MSGHDR_FLAGS
 | 
			
		||||
  msg.msg_flags = (int) flags;
 | 
			
		||||
#endif
 | 
			
		||||
  len = iovlen_sum (niov, iov);
 | 
			
		||||
  (void) base;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -121,7 +121,9 @@ static ssize_t ddsi_udp_conn_write (ddsi_tran_conn_t conn, const nn_locator_t *d
 | 
			
		|||
  set_msghdr_iov (&msg, (ddsi_iovec_t *) iov, niov);
 | 
			
		||||
  msg.msg_name = &dstaddr;
 | 
			
		||||
  msg.msg_namelen = (socklen_t) os_sockaddrSizeof((os_sockaddr *) &dstaddr);
 | 
			
		||||
#if SYSDEPS_MSGHDR_FLAGS
 | 
			
		||||
  msg.msg_flags = (int) flags;
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef MSG_NOSIGNAL
 | 
			
		||||
  sendflags |= MSG_NOSIGNAL;
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue