diff options
| author | Simon Rettberg | 2017-10-28 14:56:58 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2017-10-28 14:56:58 +0200 |
| commit | c8c62246f84b5d9d4a496097f043696e2d9ba0bb (patch) | |
| tree | 27a896f6677791ef8087fa44b1aab7cb2071d774 /src/kernel/utils.c | |
| parent | [SERVER] Add function to parse x-www-form-urlencoded strings (diff) | |
| download | dnbd3-c8c62246f84b5d9d4a496097f043696e2d9ba0bb.tar.gz dnbd3-c8c62246f84b5d9d4a496097f043696e2d9ba0bb.tar.xz dnbd3-c8c62246f84b5d9d4a496097f043696e2d9ba0bb.zip | |
[*] Introduce constants for IPv4/6 in dnbd3_host_t
AF_INET luckily was "2" on all platforms checked, so no problems
there with interoperation, but AF_INET6 is different between
Linux, BSD, Windows and possibly others, so map back and forth
between AF_INET/AF_INET6 and HOST_IP4/HOST_IP6 to fix this.
Diffstat (limited to 'src/kernel/utils.c')
0 files changed, 0 insertions, 0 deletions
