chiark
/
gitweb
/
~mdw
/
adns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
e0fc85c
)
addrfam: Introduce SOCKADDR_IN_IN6, etc.
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 19 Jul 2014 16:37:37 +0000
(17:37 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Oct 2014 20:14:55 +0000
(21:14 +0100)
These macros make writing IPv4/IPv6 handling functions convenient.
Use them everywhere applicable.
This replaces AF_CASES, which was longwinded (and also error-prone,
since it is possible to pass a different af to switch() and
unknown_af()).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
No differences found