Skip to content
Snippets Groups Projects
Commit 3bc8b365 authored by Jaco Kroon's avatar Jaco Kroon
Browse files

netsock2: ast_addressfamily_to_sockaddrsize and ast_sockaddr_from_sockaddr.


ast_addressfamily_to_sockaddrize will determine the size that's
required, and ast_sockaddr_from_sockaddr then wraps this new function
and ast_sockaddr_copy_sockaddr to copy arbitrary sockaddr's (without
knowing the address family) into the ast_sockaddr structure.

Change-Id: Iee604e96e9096c79b477d6e5ff310cf0b06dae86
Signed-off-by: default avatarJaco Kroon <jaco@uls.co.za>
parent 34746220
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment