Lines Matching defs:mDNS_struct
1778 struct mDNS_struct struct
1785 mDNS_PlatformSupport *p; // Pointer to platform-specific data of indeterminite size
1786 mDNSu32 KnownBugs;
1787 mDNSBool CanReceiveUnicastOn5353;
1788 mDNSBool AdvertiseLocalAddresses;
1789 …vertMulticastAdvertisements; // from interfaces that do not advertise local addresses to local-only
1790 mStatus mDNSPlatformStatus;
1791 mDNSIPPort UnicastPort4;
1792 mDNSIPPort UnicastPort6;
1793 mDNSEthAddr PrimaryMAC; // Used as unique host ID
1794 mDNSCallback *MainCallback;
1795 void *MainContext;
1798 mDNSu32 mDNS_busy; // Incremented between mDNS_Lock/mDNS_Unlock section
1799 mDNSu32 mDNS_reentrancy; // Incremented when calling a client callback
1800 mDNSu8 lock_rrcache; // For debugging: Set at times when these lists may not be modified
1801 mDNSu8 lock_Questions;
1802 mDNSu8 lock_Records;
1806 char MsgBuffer[MaxMsg]; // Temp storage used while building error log messages
1809 mDNSs32 timenow_adjust; // Correction applied if we ever discover time went backwards
1810 mDNSs32 timenow; // The time that this particular activation of the mDNS code started
1811 mDNSs32 timenow_last; // The time the last time we ran
1812 mDNSs32 NextScheduledEvent; // Derived from values below
1813 mDNSs32 ShutdownTime; // Set when we're shutting down; allows us to skip some unnecessary steps
1814 mDNSs32 SuppressSending; // Don't send local-link mDNS packets during this time
1815 mDNSs32 NextCacheCheck; // Next time to refresh cache record before it expires
1816 mDNSs32 NextScheduledQuery; // Next time to send query in its exponential backoff sequence
1817 mDNSs32 NextScheduledProbe; // Next time to probe for new authoritative record
1818 mDNSs32 NextScheduledResponse; // Next time to send authoritative record(s) in responses
1819 mDNSs32 NextScheduledNATOp; // Next time to send NAT-traversal packets
1820 mDNSs32 NextScheduledSPS; // Next time to purge expiring Sleep Proxy records
1821 mDNSs32 RandomQueryDelay; // For de-synchronization of query packets on the wire
1822 mDNSu32 RandomReconfirmDelay; // For de-synchronization of reconfirmation queries on the wire
1823 mDNSs32 PktNum; // Unique sequence number assigned to each received packet
1824 … // Set if we may need to deliver remove events for local-only questions and/or local-only records
1825 mDNSu8 SleepState; // Set if we're sleeping
1826 mDNSu8 SleepSeqNum; // "Epoch number" of our current period of wakefulness
1827 …u8 SystemWakeOnLANEnabled; // Set if we want to register with a Sleep Proxy before going to sleep
1828 …NSu8 SentSleepProxyRegistration;// Set if we registered (or tried to register) with a Sleep Proxy
1829 …SystemSleepOnlyIfWakeOnLAN;// Set if we may only sleep if we managed to register with a Sleep Proxy
1830 …Ss32 AnnounceOwner; // After waking from sleep, include OWNER option in packets until this time
1831 mDNSs32 DelaySleep; // To inhibit re-sleeping too quickly right after wake
1832 mDNSs32 SleepLimit; // Time window to allow deregistrations, etc.,
1834 mDNSs32 NextScheduledSPRetry; // Time next sleep proxy registration action is required.
1837 mDNSs32 NextScheduledStopTime; // Next time to stop a question
1840 DNSQuestion *Questions; // List of all registered questions, active and inactive
1841 DNSQuestion *NewQuestions; // Fresh questions not yet answered from cache
1842 DNSQuestion *CurrentQuestion; // Next question about to be examined in AnswerLocalQuestions()
1843 …calOnlyQuestions; // Questions with InterfaceID set to mDNSInterface_LocalOnly or mDNSInterface_P2P
1844 DNSQuestion *NewLocalOnlyQuestions; // Fresh local-only or P2P questions not yet answered
1845 DNSQuestion *RestartQuestion; // Questions that are being restarted (stop followed by start)
1846 mDNSu32 rrcache_size; // Total number of available cache entries
1847 mDNSu32 rrcache_totalused; // Number of cache entries currently occupied
1848 …he_active; // Number of cache entries currently occupied by records that answer active questions
1849 mDNSu32 rrcache_report;
1850 CacheEntity *rrcache_free;
1851 CacheGroup *rrcache_hash[CACHE_HASH_SLOTS];
1852 mDNSs32 rrcache_nextcheck[CACHE_HASH_SLOTS];
1854 AuthHash rrauth;
1857 domainlabel nicelabel; // Rich text label encoded using canonically precomposed UTF-8
1858 domainlabel hostlabel; // Conforms to RFC 1034 "letter-digit-hyphen" ARPANET host name rules
1859 domainname MulticastHostname; // Fully Qualified "dot-local" Host Name, e.g. "Foo.local."
1860 UTF8str255 HIHardware;
1861 UTF8str255 HISoftware;
1862 AuthRecord DeviceInfo;
1863 AuthRecord *ResourceRecords;
1864 … *DuplicateRecords; // Records currently 'on hold' because they are duplicates of existing records
1865 …cord *NewLocalRecords; // Fresh AuthRecords (public) not yet delivered to our local-only questions
1866 AuthRecord *CurrentRecord; // Next AuthRecord about to be examined
1867 … NewLocalOnlyRecords; // Fresh AuthRecords (local only) not yet delivered to our local questions
1868 NetworkInterfaceInfo *HostInterfaces;
1869 mDNSs32 ProbeFailTime;
1870 mDNSu32 NumFailedProbes;
1871 mDNSs32 SuppressProbes;
1874 mDNSs32 NextuDNSEvent; // uDNS next event
1875 mDNSs32 NextSRVUpdate; // Time to perform delayed update
1877 DNSServer *DNSServers; // list of DNS servers
1878 McastResolver *McastResolvers; // list of Mcast Resolvers
1880 mDNSAddr Router;
1881 mDNSAddr AdvertisedV4; // IPv4 address pointed to by hostname
1882 mDNSAddr AdvertisedV6; // IPv6 address pointed to by hostname
1884 DomainAuthInfo *AuthInfoList; // list of domains requiring authentication for updates
1886 …uestion ReverseMap; // Reverse-map query to find static hostname for service target
1887 DNSQuestion AutomaticBrowseDomainQ;
1888 domainname StaticHostname; // Current answer to reverse-map query
1889 domainname FQDN;
1890 HostnameInfo *Hostnames; // List of registered hostnames + hostname metadata
1891 …6Addr AutoTunnelHostAddr; // IPv6 address advertised for AutoTunnel services on this machine
1892 mDNSBool AutoTunnelHostAddrActive;
1897 mDNSv6Addr AutoTunnelRelayAddrIn;
1898 mDNSv6Addr AutoTunnelRelayAddrOut;
1899 …nlabel AutoTunnelLabel; // Used to construct hostname for *IPv4* address of tunnel endpoints
1901 mDNSBool StartWABQueries; // Start WAB queries for the purpose of domain enumeration
1902 mDNSBool RegisterAutoTunnel6;
1905 NATTraversalInfo LLQNAT; // Single shared NAT Traversal to receive inbound LLQ notifications
1906 NATTraversalInfo *NATTraversals;
1907 NATTraversalInfo *CurrentNATTraversal;
1908 mDNSs32 retryIntervalGetAddr; // delta between time sent and retry
1909 mDNSs32 retryGetAddr; // absolute time when we retry
1910 mDNSv4Addr ExternalAddress;
1912 …t *NATMcastRecvskt; // For receiving NAT-PMP AddrReply multicasts from router on port 5350
1913 mDNSu32 LastNATupseconds; // NAT engine uptime in seconds, from most recent NAT packet
1914 …32 LastNATReplyLocalTime; // Local time in ticks when most recent NAT packet was received
1915 mDNSu16 LastNATMapResultCode; // Most recent error code for mappings
1917 tcpLNTInfo tcpAddrInfo; // legacy NAT traversal TCP connection info for external address
1918 tcpLNTInfo tcpDeviceInfo; // legacy NAT traversal TCP connection info for device info
1919 tcpLNTInfo *tcpInfoUnmapList; // list of pending unmap requests
1920 mDNSInterfaceID UPnPInterfaceID;
1921 UDPSocket *SSDPSocket; // For SSDP request/response
1922 …PPPConnection; // whether we should send the SSDP query for WANIPConnection or WANPPPConnection
1923 mDNSIPPort UPnPRouterPort; // port we send discovery messages to
1924 mDNSIPPort UPnPSOAPPort; // port we send SOAP messages to
1925 mDNSu8 *UPnPRouterURL; // router's URL string
1926 …SBool UPnPWANPPPConnection; // whether we're using WANIPConnection or WANPPPConnection
1927 mDNSu8 *UPnPSOAPURL; // router's SOAP control URL string
1928 mDNSu8 *UPnPRouterAddressString; // holds both the router's address and port
1929 mDNSu8 *UPnPSOAPAddressString; // holds both address and port for SOAP messages
1932 mDNSu8 SPSType; // 0 = off, 10-99 encodes desirability metric
1933 mDNSu8 SPSPortability; // 10-99
1934 mDNSu8 SPSMarginalPower; // 10-99
1935 mDNSu8 SPSTotalPower; // 10-99
1936 …Su8 SPSState; // 0 = off, 1 = running, 2 = shutting down, 3 = suspended during sleep
1937 mDNSInterfaceID SPSProxyListChanged;
1938 UDPSocket *SPSSocket;
1939 ServiceRecordSet SPSRecords;
1940 …ack *SPSBrowseCallback; // So the platform layer can do something useful with SPS browse results
1941 int ProxyRecords; // Total number of records we're holding as proxy
1945 ClientTunnel *TunnelClients;
1946 uuid_t asl_uuid; // uuid for ASL logging
1947 void *WCF;
1952 union { DNSMessage m; void *p; } imsg; // Incoming message received from wire
1953 DNSMessage omsg; // Outgoing message we're building
1954 LargeCacheRecord rec; // Resource Record extracted from received message