path: root/src/Makefile.am
diff options
authorAlexander Couzens <lynxis@fe80.eu>2020-06-07 18:10:13 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-08-10 23:29:21 +0200
commit8419bb2e9e7b24e21b9dd71352f4490e572ba4ee (patch)
tree4758c10ffdd7eed1b164955dba81181ab9dd52c0 /src/Makefile.am
parenteb6882fa5249c1f4fd764f4339ff7d749e1cfb99 (diff)
socket.h: introduce osmo_sockaddr to hold v4 and v6 endpoints
When dealing with IPv4 and IPv6 address, the struct sockaddr allows to hold IPv4 and IPv6. However even when struct sockaddr is being used, a cast to the IPv4 or IPv6 family must happen. To work around this additional code, use a union for the most common types. Change-Id: If80172373735193401af872b18e1ff00c93880e7
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions