mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-23 11:51:00 +01:00
conn_get_src() and conn_get_dst() functions are used to fill the source and destination addresses of a connection. On success, ->src and ->dst connection fields can be safely used. For convenience, 2 new functions are added here: conn_src() and conn_dst(). These functions return the corresponding address, as a const and only if it is already set. Otherwise NULL is returned.