mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk libT) Refactor ipv6 bind socket check
This will let the RPC server use the same test mechanism eventually. Networking code belongs in net.c anyway.
This commit is contained in:
@@ -87,6 +87,14 @@ void tr_normalizeV4Mapped( tr_address * const addr );
|
||||
|
||||
tr_bool tr_isAddress( const tr_address * a );
|
||||
|
||||
typedef struct tr_net_af_support
|
||||
{
|
||||
tr_bool has_inet6;
|
||||
tr_bool needs_inet4;
|
||||
} tr_net_af_support;
|
||||
|
||||
tr_net_af_support tr_net_getAFSupport( tr_port );
|
||||
|
||||
/***********************************************************************
|
||||
* Socket list housekeeping
|
||||
**********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user