Lines Matching refs:NATinfo

1766 		if (rr->NATinfo.clientContext)  in CompleteRecordNatMap()
1768 mDNS_StopNATOperation_internal(m, &rr->NATinfo); in CompleteRecordNatMap()
1769 rr->NATinfo.clientContext = mDNSNULL; in CompleteRecordNatMap()
1859 if (rr->NATinfo.clientContext) mDNS_StopNATOperation_internal(m, &rr->NATinfo); in StartRecordNatMap()
1860 rr->NATinfo.Protocol = protocol; in StartRecordNatMap()
1864 rr->NATinfo.IntPort = rr->resrec.rdata->u.srv.port; in StartRecordNatMap()
1865 rr->NATinfo.RequestedPort = rr->resrec.rdata->u.srv.port; in StartRecordNatMap()
1866 rr->NATinfo.NATLease = 0; // Request default lease in StartRecordNatMap()
1867 rr->NATinfo.clientCallback = CompleteRecordNatMap; in StartRecordNatMap()
1868 rr->NATinfo.clientContext = rr; in StartRecordNatMap()
1869 mDNS_StartNATOperation_internal(m, &rr->NATinfo); in StartRecordNatMap()
1901 if (rr->NATinfo.clientContext) in UnlinkResourceRecord()
1903 mDNS_StopNATOperation_internal(m, &rr->NATinfo); in UnlinkResourceRecord()
1904 rr->NATinfo.clientContext = mDNSNULL; in UnlinkResourceRecord()
1905 if (rr->resrec.rrtype == kDNSType_SRV) rr->resrec.rdata->u.srv.port = rr->NATinfo.IntPort; in UnlinkResourceRecord()
1950 mDNSBool WereBehindNAT = (rr->NATinfo.clientContext != mDNSNULL); in UpdateOneSRVRecord()
1951 …mDNSBool PortWasMapped = (rr->NATinfo.clientContext && !mDNSSameIPPort(rr->NATinfo.RequestedPort, … in UpdateOneSRVRecord()
2584 !mDNSIPPortIsZero(rr->NATinfo.ExternalPort)) in BuildUpdateMessage()
2586 rr->resrec.rdata->u.srv.port = rr->NATinfo.ExternalPort; in BuildUpdateMessage()
3882 if (!newRR->NATinfo.clientContext) in RecordRegistrationGotZoneData()
3889 … %s, state %d, context %p", ARDisplayString(m, newRR), newRR->state, newRR->NATinfo.clientContext); in RecordRegistrationGotZoneData()
4628 if (rr->NATinfo.clientContext) in SleepRecordRegistrations()
4630 mDNS_StopNATOperation_internal(m, &rr->NATinfo); in SleepRecordRegistrations()
4631 rr->NATinfo.clientContext = mDNSNULL; in SleepRecordRegistrations()