ares_set_local_ip6.3 (748B)
1 .\" 2 .\" Copyright 2010 by Ben Greear <greearb@candelatech.com> 3 .\" SPDX-License-Identifier: MIT 4 .\" 5 .TH ARES_SET_LOCAL_IP6 3 "30 June 2010" 6 .SH NAME 7 ares_set_local_ip6 \- Set local IPv6 address outgoing requests. 8 .SH SYNOPSIS 9 .nf 10 #include <ares.h> 11 12 void ares_set_local_ip6(ares_channel_t *\fIchannel\fP, const unsigned char* \fIlocal_ip6\fP) 13 .fi 14 .SH DESCRIPTION 15 The \fBares_set_local_ip6\fP function sets the IPv6 address for outbound IPv6 16 requests. The parameter \fIlocal_ip6\fP is specified in network byte order. 17 This allows users to specify outbound interfaces when used on multi-homed 18 systems. The \fIlocal_ip6\fP argument must be 16 bytes in length. 19 .SH SEE ALSO 20 .BR ares_set_local_ip4 (3) 21 .SH NOTES 22 This function was added in c-ares 1.7.4