Home
last modified time | relevance | path

Searched refs:NATChanged (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DuDNS.c1598 mDNSBool NATChanged = mDNSfalse; in UpdateSRV() local
1604 if (WereBehindNAT && NowBehindNAT && NATRouterChanged) NATChanged = mDNStrue; in UpdateSRV()
1605 else if (!NowBehindNAT && PortWasMapped) NATChanged = mDNStrue; in UpdateSRV()
1606 else if (!WereBehindNAT && NowBehindNAT) NATChanged = mDNStrue; in UpdateSRV()
1608 if (!TargetChanged && !NATChanged) return; in UpdateSRV()
1634 if (!NATChanged) return; in UpdateSRV()
1640 …debugf("UpdateSRV: %s service %##s", HaveZoneData ? (NATChanged && NowBehindNAT ? "Starting Port M… in UpdateSRV()
1648 …if (nat && (NATChanged || !NowBehindNAT)) { srs->uDNS_info.NATinfo = mDNSNULL; FreeNATInfo(m, nat)… in UpdateSRV()
1649 …if (NATChanged && NowBehindNAT) { srs->uDNS_info.state = regState_NATMap; StartNATPortMap(m, srs);… in UpdateSRV()