mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Currently, to convert from a pj_sockaddr to an ast_sockaddr, the address needs to be rendered to a string and then parsed into the correct structure. This also involves a call to getaddrinfo(3). The same is true for the inverse operation. Instead, because we know the internal structure of both ast_sockaddr and pj_sockaddr, we can translate directly between the two without the need for an intermediate string. Change-Id: If0fc4bba9643f755604c6ffbb0d7cc46020bc761
		
			
				
	
	
		
			7 lines
		
	
	
		
			56 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			56 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
| 	global:
 | |
| 		LINKER_SYMBOL_PREFIXast_*;
 | |
| 	local:
 | |
| 		*;
 | |
| };
 |