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