HomeSort by relevance Sort by last modified time
    Searched refs:mDNS (Results 1 - 25 of 36) sorted by null

1 2

  /external/mdnsresponder/mDNSPosix/
ExampleClientApp.h 18 extern void ExampleClientEventLoop(mDNS *const m);
mDNSPosix.h 63 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 *pSignalsReceived, mDNSBool *pDataDispatched);
ProxyResponder.c 29 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
39 static mDNS mDNSStorage; // mDNS core uses this to store its globals
54 mDNSlocal void HostNameCallback(mDNS *const m, AuthRecord *const rr, mStatus result)
68 mDNSlocal mStatus mDNS_RegisterProxyHost(mDNS *m, ProxyHost *p)
102 mDNSlocal void ServiceCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result)
131 mDNSlocal void RegisterService(mDNS *m, ServiceRecordSet *recordset,
175 mDNSlocal void NoSuchServiceCallback(mDNS *const m, AuthRecord *const rr, mStatus result)
207 mDNSlocal void RegisterNoSuchService(mDNS *m, AuthRecord *const rr, domainname *proxyhostname,
PosixDaemon.c 68 mDNSlocal void mDNS_StatusCallback(mDNS *const m, mStatus result)
73 // On successful registration of dot-local mDNS host name, daemon may want to check if
76 // On Mac OS X we store the current dot-local mDNS host name in the SCPreferences store,
95 static void Reconfigure(mDNS *m)
130 mDNSlocal void DumpStateLog(mDNS *const m)
138 mDNSlocal mStatus MainLoop(mDNS *m) // Loop until we quit.
262 mDNSexport void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay)
mDNSPosix.c 33 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
92 mDNS *mDNS;
156 // mDNS core calls this routine when it needs to send a packet.
157 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *const end,
230 mDNSlocal void SocketDataReady(mDNS *const m, PosixNetworkInterface *intf, int skt)
258 // convince mDNS Core that this isn't a spoof packet.
261 // destAddr to the mDNS address.
329 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port)
385 mDNSexport UDPSocket *mDNSPlatformUDPSocket(mDNS * const m, mDNSIPPort port
    [all...]
ExampleClientApp.c 29 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
44 mDNSexport void ExampleClientEventLoop(mDNS *const m)
Identify.c 32 // Incorporate mDNS.c functionality
34 // We want to use the functionality provided by "mDNS.c",
37 #include "mDNS.c"
54 #include "mDNSEmbeddedAPI.h"// Defines the interface to the mDNS core code
55 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
61 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,
107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
121 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord
    [all...]
Client.c 25 #include "mDNSEmbeddedAPI.h"// Defines the interface to the mDNS core code
26 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
30 static mDNS mDNSStorage; // mDNS core uses this to store its globals
39 static void BrowseCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
40 // A callback from the core mDNS code that indicates that we've received a
176 // mDNS query, looking for all AFP servers in the local domain.
187 // Initialise the mDNS core.
NetMonitor.c 32 // Incorporate mDNS.c functionality
34 // We want to use much of the functionality provided by "mDNS.c",
37 #include "mDNS.c"
49 // Both mDNS.c and mDNSWin32.h declare UDPSocket_struct type resulting in a compile-time error, so
65 # include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
124 mDNS mDNSStorage; // mDNS core uses this to store its globals
297 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID)
326 mDNSlocal void AnalyseHost(mDNS *const m, HostEntry *entry, const mDNSInterfaceID InterfaceID)
460 mDNSlocal const mDNSu8 *FindUpdate(mDNS *const m, const DNSMessage *const query, const mDNSu8 *ptr, const mDNSu8 *const end
    [all...]
  /external/mdnsresponder/mDNSShared/
PlatformCommon.h 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
uds_daemon.h 34 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_TypeValues qtype);
65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype);
PlatformCommon.c 106 mDNSexport void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled)
151 __android_log_print(ANDROID_LOG_DEBUG, "mdns", "%s", msg);
162 extern mDNS mDNSStorage;
215 __android_log_print(syslog_level, "mdns", "%s", buffer);
dnsextd.c     [all...]
dnssd_clientshim.c 31 extern mDNS mDNSStorage; // We need to pass the address of this storage to the lower-layer functions
180 mDNSlocal void RegCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result)
369 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
455 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
629 mDNSlocal void DNSServiceQueryRecordResponse(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
  /external/mdnsresponder/mDNSCore/
uDNS.h 63 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 namehash, const domainname *const name);
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...]
mDNSEmbeddedAPI.h 232 // mDNS defines its own names for these common types to simplify portability across
326 // mDNS return values are in the range FFFE FF00 (-65792) to FFFE FFFF (-65537)
374 // mStatus_MemFree is the last legal mDNS error code, at the end of the range allocated for mDNS
449 typedef struct mDNS_struct mDNS;
491 mDNS *m;
652 // * Unique Resource Records should be unique among hosts within any given mDNS scope
659 // * Known Unique Resource Records are treated like Unique Resource Records, except that mDNS does
702 kDNSRecordTypeVerified = 0x10, // Unique means mDNS should check that name is unique (and then send immediate responses)
703 kDNSRecordTypeKnownUnique = 0x20, // Known Unique means mDNS can assume name is unique without checkin
    [all...]
DNSCommon.h 222 extern mDNSu8 *putHINFO(const mDNS *const m, DNSMessage *const msg, mDNSu8 *ptr, DomainAuthInfo *authInfo, mDNSu8 *limit);
238 extern const mDNSu8 *GetLargeResourceRecord(mDNS *const m, const DNSMessage * const msg, const mDNSu8 *ptr,
247 extern const rdataOPT *GetLLQOptData(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end);
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);
uDNS.c 61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random)
104 mDNSexport DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout)
164 mDNSexport void PenalizeDNSServer(mDNS *const m, DNSQuestion *q)
285 mDNSlocal DomainAuthInfo *GetAuthInfoForName_direct(mDNS *m, const domainname *const name)
304 mDNSexport DomainAuthInfo *GetAuthInfoForName_internal(mDNS *m, const domainname *const name)
341 mDNSexport DomainAuthInfo *GetAuthInfoForName(mDNS *m, const domainname *const name)
351 mDNSexport mStatus mDNS_SetSecretForDomain(mDNS *m, DomainAuthInfo *info,
419 mDNSlocal mStatus uDNS_SendNATMsg(mDNS *m, NATTraversalInfo *info)
454 mDNSexport void RecreateNATMappings(mDNS *const m)
470 mDNSexport void natTraversalHandleAddressReply(mDNS *const m, mDNSu16 err, mDNSv4Addr ExtAddr
    [all...]
mDNS.c 18 * from outside the mDNS project -- all the types it expects to find are defined right here.
75 mDNSlocal void BeginSleepProcessing(mDNS *const m);
76 mDNSlocal void RetrySPSRegistrations(mDNS *const m);
77 mDNSlocal void SendWakeup(mDNS *const m, mDNSInterfaceID InterfaceID, mDNSEthAddr *EthAddr, mDNSOpaque48 *password);
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)
139 mDNSexport void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q)
280 mDNSexport AuthGroup *InsertAuthRecord(mDNS *const m, AuthHash *r, AuthRecord *rr
    [all...]
  /external/mdnsresponder/mDNSWindows/
mDNSWin32.h 69 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, RegisterWaitableEventHandler handler );
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...]
mDNSWin32.c 20 - Use the IPv6 Internet Connection Firewall API to allow IPv6 mDNS without manually changing the firewall.
91 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, mDNSInterfaceData **outIFD );
95 mDNSlocal mStatus TearDownInterface( mDNS * const inMDNS, mDNSInterfaceData *inIFD );
97 mDNSlocal mStatus SetupSocket( mDNS * const inMDNS, const struct sockaddr *inAddr, mDNSIPPort port, SocketRef *outSocketRef );
119 mDNSexport mStatus mDNSPlatformInterfaceNameToID( mDNS * const inMDNS, const char *inName, mDNSInterfaceID *outID );
120 mDNSexport mStatus mDNSPlatformInterfaceIDToInfo( mDNS * const inMDNS, mDNSInterfaceID inID, mDNSPlatformInterfaceInfo *outInfo );
141 mDNSlocal void TCPDidConnect( mDNS * const inMDNS, HANDLE event, void * context )
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
JmmDNSImpl.java 37 * This class enable multihomming mDNS. It will open a mDNS per IP address of the machine.
72 _timer = new Timer("Multihommed mDNS.Timer", true);
89 for (final JmDNS mDNS : _knownMDNS.values()) {
97 mDNS.close();
120 for (JmDNS mDNS : _knownMDNS.values()) {
121 result.add(mDNS.getName());
133 for (JmDNS mDNS : _knownMDNS.values()) {
134 result.add(mDNS.getHostName());
146 for (JmDNS mDNS : _knownMDNS.values())
    [all...]
  /external/mdnsresponder/
Android.mk 32 daemonSources := mDNSCore/mDNS.c \
101 mDNSCore/mDNS.c \
242 # This builds an mDns that is embeddable within GmsCore for the nearby connections API
249 LOCAL_SRC_FILES := /mDNSCore/mDNS.c \
  /tools/test/connectivity/acts/framework/acts/controllers/
packet_sender.py 658 """Creates a custom mDNS IPv6 packet
693 """Generates a mDNS v6 packet for multicast DNS config
704 # Create mDNS layer
706 mDNS = scapy.DNS(rd=MDNS_RECURSIVE, qd=qdServer)
717 self.packet = ethernet / ip6 / udp / mDNS
722 """Creates a custom mDNS v4 packet
755 """Generates a mDNS v4 packet for multicast DNS config
766 # Create mDNS layer
768 mDNS = scapy.DNS(rd=MDNS_RECURSIVE, qd=qdServer)
779 self.packet = ethernet / ip4 / udp / mDNS
    [all...]
  /external/mdnsresponder/mDNSWindows/SystemService/
Service.c 143 static mStatus RegisterWaitableEvent( mDNS * const inMDNS, HANDLE event, void * context, RegisterWaitableEventHandler handler );
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 );
347 fprintf( stderr, " -cache n Number of mDNS cache entries (defaults to %d)\n", kDNSServiceCacheEntryCountDefault );
    [all...]

Completed in 606 milliseconds

1 2