summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorSimon Rettberg2021-03-24 16:07:15 +0100
committerSimon Rettberg2021-03-24 16:07:15 +0100
commitc73bc9413da8bc964d82e0a58525c7280cc1a456 (patch)
treec2ec982722fd79c413d97edefa089a6176ebef9b /inc
parent[KERNEL] Set fake low RTT after manual server switch (diff)
downloaddnbd3-c73bc9413da8bc964d82e0a58525c7280cc1a456.tar.gz
dnbd3-c73bc9413da8bc964d82e0a58525c7280cc1a456.tar.xz
dnbd3-c73bc9413da8bc964d82e0a58525c7280cc1a456.zip
[KERNEL] Use sockaddr instead of dnbd3_host_t where possible
Convert dnbd3_host_t to struct sockaddr immediately when adding alt servers, so we don't have to convert it every time we establish a connection. Additionally we can now use %pISpc in printf-like functions instead of having if/else constructs whenever we want to print an address.
Diffstat (limited to 'inc')
0 files changed, 0 insertions, 0 deletions