ADDRTYPE_IPPORT
rsport.addrtype = ADDRTYPE_IPPORT;
rsport.addrtype = ADDRTYPE_IPPORT;
temptype = htons(ADDRTYPE_IPPORT);
SET (ap->port, ss2sin(a)->sin_port, ADDRTYPE_IPPORT);
SET (ap->port, ss2sin6(a)->sin6_port, ADDRTYPE_IPPORT);
if (temptype != htons(ADDRTYPE_IPPORT))