Home
last modified time | relevance | path

Searched refs:mDNS (Results 1 – 25 of 44) sorted by relevance

12

/external/mdnsresponder/mDNSCore/
DuDNS.h63 extern void LLQGotZoneData(mDNS *const m, mStatus err, const ZoneData *zoneInfo);
64 extern void startLLQHandshake(mDNS *m, DNSQuestion *q);
65 extern void sendLLQRefresh(mDNS *m, DNSQuestion *q);
67 extern void SleepRecordRegistrations(mDNS *m);
75 extern mStatus uDNS_UpdateRecord(mDNS *m, AuthRecord *rr);
77 extern void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q);
78 extern CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehas…
79 extern mStatus mDNS_Register_internal(mDNS *const m, AuthRecord *const rr);
80 extern mStatus mDNS_Deregister_internal(mDNS *const m, AuthRecord *const rr, mDNS_Dereg_type drt);
81 extern mStatus mDNS_StartQuery_internal(mDNS *const m, DNSQuestion *const question);
[all …]
DmDNSEmbeddedAPI.h449 typedef struct mDNS_struct mDNS; typedef
491 mDNS *m;
894 typedef void mDNSRecordCallback(mDNS *const m, AuthRecord *const rr, mStatus result);
900 typedef void mDNSRecordUpdateCallback(mDNS *const m, AuthRecord *const rr, RData *OldRData, mDNSu16…
986 mDNS *m;
1000 typedef void (*NATTraversalClientCallback)(mDNS *m, NATTraversalInfo *n);
1391 typedef void mDNSServiceCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result);
1508 typedef void mDNSQuestionCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const…
1613 typedef void mDNSServiceInfoQueryCallback(mDNS *const m, ServiceInfoQuery *query);
1637 typedef void ZoneDataCallback(mDNS *const m, mStatus err, const ZoneData *result);
[all …]
DDNSCommon.h222 extern mDNSu8 *putHINFO(const mDNS *const m, DNSMessage *const msg, mDNSu8 *ptr, DomainAuthInfo *au…
238 extern const mDNSu8 *GetLargeResourceRecord(mDNS *const m, const DNSMessage * const msg, const mDNS…
247 extern const rdataOPT *GetLLQOptData(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *cons…
248 extern mDNSu32 GetPktLease(mDNS *m, DNSMessage *msg, const mDNSu8 *end);
249 extern void DumpPacket(mDNS *const m, mStatus status, mDNSBool sent, char *transport,
259 extern mStatus mDNSSendDNSMessage(mDNS *const m, DNSMessage *const msg, mDNSu8 *end,
268 extern void ShowTaskSchedulingError(mDNS *const m);
269 extern void mDNS_Lock_(mDNS *const m, const char * const functionname);
270 extern void mDNS_Unlock_(mDNS *const m, const char * const functionname);
DuDNS.c61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random) in SetRecordRetry()
104 mDNSexport DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID i… in mDNS_AddDNSServer()
164 mDNSexport void PenalizeDNSServer(mDNS *const m, DNSQuestion *q) in PenalizeDNSServer()
285 mDNSlocal DomainAuthInfo *GetAuthInfoForName_direct(mDNS *m, const domainname *const name) in GetAuthInfoForName_direct()
304 mDNSexport DomainAuthInfo *GetAuthInfoForName_internal(mDNS *m, const domainname *const name) in GetAuthInfoForName_internal()
341 mDNSexport DomainAuthInfo *GetAuthInfoForName(mDNS *m, const domainname *const name) in GetAuthInfoForName()
351 mDNSexport mStatus mDNS_SetSecretForDomain(mDNS *m, DomainAuthInfo *info, in mDNS_SetSecretForDomain()
419 mDNSlocal mStatus uDNS_SendNATMsg(mDNS *m, NATTraversalInfo *info) in uDNS_SendNATMsg()
454 mDNSexport void RecreateNATMappings(mDNS *const m) in RecreateNATMappings()
470 mDNSexport void natTraversalHandleAddressReply(mDNS *const m, mDNSu16 err, mDNSv4Addr ExtAddr) in natTraversalHandleAddressReply()
[all …]
DmDNS.c75 mDNSlocal void BeginSleepProcessing(mDNS *const m);
76 mDNSlocal void RetrySPSRegistrations(mDNS *const m);
77 mDNSlocal void SendWakeup(mDNS *const m, mDNSInterfaceID InterfaceID, mDNSEthAddr *EthAddr, mDNSOpa…
78 mDNSlocal mDNSBool CacheRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q);
79 mDNSlocal mDNSBool LocalRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q);
80 mDNSlocal void mDNS_PurgeBeforeResolve(mDNS *const m, DNSQuestion *q);
126 mDNSlocal void SetNextQueryStopTime(mDNS *const m, const DNSQuestion *const q) in SetNextQueryStopTime()
139 mDNSexport void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q) in SetNextQueryTime()
280 mDNSexport AuthGroup *InsertAuthRecord(mDNS *const m, AuthHash *r, AuthRecord *rr) in InsertAuthRecord()
295 mDNSexport AuthGroup *RemoveAuthRecord(mDNS *const m, AuthHash *r, AuthRecord *rr) in RemoveAuthRecord()
[all …]
DImplementer Notes.txt11 However, on networks where there is a lot of mDNS traffic (or the CPU is
22 process of performing a long sequence of back-to-back mDNS API calls.
47 you should do whatever work you have to do, and then, if mDNS packets
48 were received, or mDNS API calls were made, be sure to call
59 2. After making any mDNS API call or series of calls, the client layer
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.h69 mDNS * m;
89 mDNS * m;
115 typedef void (*RegisterWaitableEventHandler)(mDNS * const inMDNS, HANDLE event, void * context );
120 typedef mStatus (*RegisterWaitableEventFunc)(mDNS * const inMDNS, HANDLE event, void * context, Re…
125 typedef void (*UnregisterWaitableEventFunc)(mDNS * const inMDNS, HANDLE event );
191 extern void InterfaceListDidChange( mDNS * const inMDNS );
192 extern void ComputerDescriptionDidChange( mDNS * const inMDNS );
193 extern void TCPIPConfigDidChange( mDNS * const inMDNS );
194 extern void DynDNSConfigDidChange( mDNS * const inMDNS );
195 extern void FileSharingDidChange( mDNS * const inMDNS );
[all …]
DmDNSWin32.c91 mDNSlocal mStatus SetupNiceName( mDNS * const inMDNS );
92 mDNSlocal mStatus SetupHostName( mDNS * const inMDNS );
93 mDNSlocal mStatus SetupName( mDNS * const inMDNS );
94 mDNSlocal mStatus SetupInterface( mDNS * const inMDNS, const struct ifaddrs *inIFA, mDNSInterface…
95 mDNSlocal mStatus TearDownInterface( mDNS * const inMDNS, mDNSInterfaceData *inIFD );
97 mDNSlocal mStatus SetupSocket( mDNS * const inMDNS, const struct sockaddr *inAddr, mDNSIPPort por…
119 mDNSexport mStatus mDNSPlatformInterfaceNameToID( mDNS * const inMDNS, const char *inName, mDNSInte…
120 mDNSexport mStatus mDNSPlatformInterfaceIDToInfo( mDNS * const inMDNS, mDNSInterfaceID inID, mDNSPl…
141 mDNSlocal void TCPDidConnect( mDNS * const inMDNS, HANDLE event, void * context );
158 mDNSlocal void SetDomainSecrets( mDNS * const inMDNS );
[all …]
DREADME.txt1 This directory contains support files for running mDNS on Microsoft Windows
9 Platform Support files that go below mDNS Core. These work on both Windows
22 on any platform-specifics so it should run on any platform with an mDNS
46 DNSServices is an obsolete higher-level API for using mDNS. New code should
53 Tool.c is an example client that uses the services of mDNS Core.
/external/openscreen/osp/impl/discovery/mdns/
Dmdns_responder_platform.cc36 mStatus mDNSPlatformInit(mDNS* m) { in mDNSPlatformInit()
41 void mDNSPlatformClose(mDNS* m) {} in mDNSPlatformClose()
43 mStatus mDNSPlatformSendUDP(const mDNS* m, in mDNSPlatformSendUDP()
73 void mDNSPlatformLock(const mDNS* m) { in mDNSPlatformLock()
77 void mDNSPlatformUnlock(const mDNS* m) {} in mDNSPlatformUnlock()
162 TCPSocket* mDNSPlatformTCPSocket(mDNS* const m, in mDNSPlatformTCPSocket()
209 UDPSocket* mDNSPlatformUDPSocket(mDNS* const m, in mDNSPlatformUDPSocket()
219 void mDNSPlatformReceiveBPF_fd(mDNS* const m, int fd) { in mDNSPlatformReceiveBPF_fd()
223 void mDNSPlatformUpdateProxyList(mDNS* const m, in mDNSPlatformUpdateProxyList()
234 void mDNSPlatformSetLocalAddressCacheEntry(mDNS* const m, in mDNSPlatformSetLocalAddressCacheEntry()
[all …]
Dmdns_responder_adapter_impl.h102 static void AQueryCallback(mDNS* m,
106 static void AaaaQueryCallback(mDNS* m,
110 static void PtrQueryCallback(mDNS* m,
114 static void SrvQueryCallback(mDNS* m,
118 static void TxtQueryCallback(mDNS* m,
122 static void ServiceCallback(mDNS* m,
133 mDNS mdns_;
/external/mdnsresponder/mDNSShared/
Duds_daemon.h34 extern void udsserver_info(mDNS *const m); // print out info about current state
35 extern void udsserver_handle_configchange(mDNS *const m);
45 extern void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay);
49 extern mDNS mDNSStorage;
56 extern void FreeExtraRR(mDNS *const m, AuthRecord *const rr, mStatus result);
57 extern int CountPeerRegistrations(mDNS *const m, ServiceRecordSet *const srs);
64 extern void external_start_browsing_for_service(mDNS *const m, const domainname *const type, DNS_Ty…
65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_Typ…
DPlatformCommon.h18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *con…
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.h63 extern int ParseDNSServers(mDNS *m, const char *filePath);
64 extern mStatus mDNSPlatformPosixRefreshInterfaceList(mDNS *const m);
73 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout);
74 extern void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds);
82 extern mStatus mDNSPosixRunEventLoopOnce( mDNS *m, const struct timeval *pTimeout, sigset_t *pSigna…
DmDNSPosix.c92 mDNS *mDNS; member
157 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *co… in mDNSPlatformSendUDP()
230 mDNSlocal void SocketDataReady(mDNS *const m, PosixNetworkInterface *intf, int skt) in SocketDataReady()
329 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port) in mDNSPlatformTCPSocket()
385 mDNSexport UDPSocket *mDNSPlatformUDPSocket(mDNS * const m, mDNSIPPort port) in mDNSPlatformUDPSocket()
397 mDNSexport void mDNSPlatformUpdateProxyList(mDNS *const m, const mDNSInterfaceID InterfaceID) in mDNSPlatformUpdateProxyList()
410 mDNSexport void mDNSPlatformSetLocalAddressCacheEntry(mDNS *const m, const mDNSAddr *const tpa, con… in mDNSPlatformSetLocalAddressCacheEntry()
427 mDNSexport void mDNSPlatformSetAllowSleep(mDNS *const m, mDNSBool allowSleep, const char *reason) in mDNSPlatformSetAllowSleep()
439 mDNSexport void FreeEtcHosts(mDNS *const m, AuthRecord *const rr, mStatus result) in FreeEtcHosts()
451 mDNSexport void mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, do… in mDNSPlatformSetDNSConfig()
[all …]
DPosixDaemon.c68 mDNSlocal void mDNS_StatusCallback(mDNS *const m, mStatus result) in mDNS_StatusCallback()
95 static void Reconfigure(mDNS *m) in Reconfigure()
130 mDNSlocal void DumpStateLog(mDNS *const m) in DumpStateLog()
138 mDNSlocal mStatus MainLoop(mDNS *m) // Loop until we quit. in MainLoop()
262 mDNSexport void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay) in RecordUpdatedNiceLabel()
DProxyResponder.c39 static mDNS mDNSStorage; // mDNS core uses this to store its globals
54 mDNSlocal void HostNameCallback(mDNS *const m, AuthRecord *const rr, mStatus result) in HostNameCallback()
68 mDNSlocal mStatus mDNS_RegisterProxyHost(mDNS *m, ProxyHost *p) in mDNS_RegisterProxyHost()
102 mDNSlocal void ServiceCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result) in ServiceCallback()
131 mDNSlocal void RegisterService(mDNS *m, ServiceRecordSet *recordset, in RegisterService()
175 mDNSlocal void NoSuchServiceCallback(mDNS *const m, AuthRecord *const rr, mStatus result) in NoSuchServiceCallback()
207 mDNSlocal void RegisterNoSuchService(mDNS *m, AuthRecord *const rr, domainname *proxyhostname, in RegisterNoSuchService()
DIdentify.c61 static mDNS mDNSStorage; // mDNS core uses this to store its globals
93 mDNSexport void mDNSCoreReceive(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, in mDNSCoreReceive()
107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in NameCallback()
121 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in InfoCallback()
163 mDNSlocal void ServicesCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const a… in ServicesCallback()
178 mDNSlocal void WaitForAnswer(mDNS *const m, int seconds) in WaitForAnswer()
361 mDNS *const m = &mDNSStorage; in main()
DClient.c30 static mDNS mDNSStorage; // mDNS core uses this to store its globals
39 static void BrowseCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer… in BrowseCallback()
DExampleClientApp.h18 extern void ExampleClientEventLoop(mDNS *const m);
DNetMonitor.c124 mDNS mDNSStorage; // mDNS core uses this to store its globals
297 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, … in SendUnicastQuery()
326 mDNSlocal void AnalyseHost(mDNS *const m, HostEntry *entry, const mDNSInterfaceID InterfaceID) in AnalyseHost()
460 mDNSlocal const mDNSu8 *FindUpdate(mDNS *const m, const DNSMessage *const query, const mDNSu8 *ptr,… in FindUpdate()
474 mDNSlocal void DisplayPacketHeader(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const … in DisplayPacketHeader()
609 mDNSlocal void DisplayQuery(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end, in DisplayQuery()
688 mDNSlocal void DisplayResponse(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *end, in DisplayResponse()
755 mDNSlocal void ProcessUnicastResponse(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *end… in ProcessUnicastResponse()
778 mDNSexport void mDNSCoreReceive(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, in mDNSCoreReceive()
DExampleClientApp.c44 mDNSexport void ExampleClientEventLoop(mDNS *const m) in ExampleClientEventLoop()
/external/mdnsresponder/
DREADME.txt22 Requirement 2 is met by sending DNS-like queries via Multicast (mDNS).
37 The name "mDNS" was chosen because this protocol is designed to be,
43 then it responds. The mDNS protocol uses the same packet format as
47 224.0.0.251. Another important difference is that all "mDNS" names
68 A typical mDNS program contains three components:
73 | mDNS Core |
78 The "mDNS Core" layer is absolutely identical for all applications and
86 to do. It calls routines provided by the "mDNS Core" layer to perform
92 The "mDNS Core" layer in turn calls through to the "Platform Support"
108 | mDNS Core | | mDNS Core | | mDNS Core |
[all …]
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c143 static mStatus RegisterWaitableEvent( mDNS * const inMDNS, HANDLE event, void * context, RegisterW…
144 static void UnregisterWaitableEvent( mDNS * const inMDNS, HANDLE event );
145 static mStatus SetupWaitList( mDNS * const inMDNS, HANDLE **outWaitList, int *outWaitListCount );
146 static void UDSCanAccept( mDNS * const inMDNS, HANDLE event, void * context );
150 static void CoreCallback(mDNS * const inMDNS, mStatus result);
153 static OSStatus SetLLRoute( mDNS * const inMDNS );
1894 static mStatus RegisterWaitableEvent( mDNS * const inMDNS, HANDLE event, void * context, RegisterWa… in RegisterWaitableEvent()
1925 static void UnregisterWaitableEvent( mDNS * const inMDNS, HANDLE event ) in UnregisterWaitableEvent()
1973 mDNSlocal mStatus SetupWaitList( mDNS * const inMDNS, HANDLE **outWaitList, int *outWaitListCount ) in SetupWaitList()
2037 CoreCallback(mDNS * const inMDNS, mStatus status) in CoreCallback()
[all …]
/external/openscreen/discovery/
DREADME.md3 This discovery module is an implementation of the mDNS and DNS-SD protocols as

12