repo.or.cz
/
ghsmtp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
don't "domain block" address literals
[ghsmtp.git]
/
sa.hpp
blob
edeab22d8ff1860deb91a63b7b4b253f86a0d929
1
#ifndef SA_DOT_HPP_INCLUDED
2
#define SA_DOT_HPP_INCLUDED
3
4
#include <arpa/inet.h>
5
#include <netinet/in.h>
6
7
namespace
sa
{
8
union
sockaddrs
{
9
struct
sockaddr addr
;
10
struct
sockaddr_in addr_in
;
11
struct
sockaddr_in6 addr_in6
;
12
struct
sockaddr_storage addr_storage
;
13
};
14
}
// namespace sa
15
16
#endif
// SA_DOT_HPP_INCLUDED