Home
last modified time | relevance | path

Searched refs:mDNSBool (Results 1 – 25 of 28) sorted by relevance

12

/external/mdnsresponder/mDNSPosix/
DResponder.c59 static volatile mDNSBool gReceivedSigUsr1;
60 static volatile mDNSBool gReceivedSigHup;
61 static volatile mDNSBool gStopNow;
129 static mDNSBool CheckThatRichTextNameIsUsable(const char *richTextName, mDNSBool printExplanation) in CheckThatRichTextNameIsUsable()
134 mDNSBool result = mDNStrue; in CheckThatRichTextNameIsUsable()
152 static mDNSBool CheckThatServiceTypeIsUsable(const char *serviceType, mDNSBool printExplanation) in CheckThatServiceTypeIsUsable()
157 mDNSBool result; in CheckThatServiceTypeIsUsable()
179 static mDNSBool CheckThatPortNumberIsUsable(long portNumber, mDNSBool printExplanation) in CheckThatPortNumberIsUsable()
184 mDNSBool result; in CheckThatPortNumberIsUsable()
234 static mDNSBool gAvoidPort53 = mDNStrue;
[all …]
DClient.c72 static mDNSBool CheckThatServiceTypeIsUsable(const char *serviceType, mDNSBool printExplanation) in CheckThatServiceTypeIsUsable()
77 mDNSBool result; in CheckThatServiceTypeIsUsable()
DmDNSPosix.c241 mDNSBool reject; in SocketDataReady()
368 mDNSexport long mDNSPlatformReadTCP(TCPSocket *sock, void *buf, unsigned long buflen, mDNSBool * cl… in mDNSPlatformReadTCP()
427 mDNSexport void mDNSPlatformSetAllowSleep(mDNS *const m, mDNSBool allowSleep, const char *reason) in mDNSPlatformSetAllowSleep()
451 mDNSexport void mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, do… in mDNSPlatformSetDNSConfig()
566 …latformInterfaceIndexfromInterfaceID(mDNS *const m, mDNSInterfaceID id, mDNSBool suppressNetworkCh… in mDNSPlatformInterfaceIndexfromInterfaceID()
631 const mDNSBool JoinMulticastGroup = (port.NotAnInteger != 0); in SetupSocket()
938 mDNSBool foundav4 = mDNSfalse; in SetupInterfaceList()
1225 mDNSlocal mDNSBool mDNSPlatformInit_CanReceiveUnicast(void) in mDNSPlatformInit_CanReceiveUnicast()
1398 mDNSexport mDNSBool mDNSPlatformMemSame(const void *dst, const void *src, mDNSu32 len) in mDNSPlatformMemSame()
1457 mDNSexport mDNSBool mDNSPlatformValidRecordForInterface(AuthRecord *rr, const NetworkInterfaceInfo … in mDNSPlatformValidRecordForInterface()
[all …]
DExampleClientApp.c34 static volatile mDNSBool StopNow;
DmDNSPosix.h82 …e( mDNS *m, const struct timeval *pTimeout, sigset_t *pSignalsReceived, mDNSBool *pDataDispatched);
DPosixDaemon.c141 mDNSBool gotData = mDNSfalse; in MainLoop()
DNetMonitor.c383 mDNSexport mDNSBool ExtractServiceType(const domainname *const fqdn, domainname *const srvtype) in ExtractServiceType()
615 mDNSBool MQ = (srcport.NotAnInteger == MulticastDNSPort.NotAnInteger); in DisplayQuery()
770 mDNSlocal mDNSBool AddressMatchesFilterList(const mDNSAddr *srcaddr) in AddressMatchesFilterList()
855 mDNSBool gotSomething; in mDNSNetMonitor()
DProxyResponder.c279 mDNSBool gotSomething; in main()
/external/mdnsresponder/mDNSCore/
DmDNSEmbeddedAPI.h234 typedef int mDNSBool; typedef
1086 mDNSBool scoped; // interface should be matched against question only
1250 mDNSBool uselease; // dynamic update contains (should contain) lease option
1252mDNSBool Private; // If zone is private, DNS updates may have to be encrypted to prevent eave…
1258mDNSBool SRVChanged; // temporarily deregistered service because its SRV target or port chan…
1349mDNSBool MPExpectingKA; // Multi-packet query handling: Set when we increment MPUnanswered…
1410mDNSBool Conflict; // Set if this record set was forcibly deregistered because of a co…
1538 mDNSBool SendOnAll; // Set if we're sending this question on all active interfaces
1542mDNSBool SuppressQuery; // This query should be suppressed and not sent on the wir…
1550 mDNSBool deliverAddEvents; // Change in DNSSserver requiring to deliver ADD events
[all …]
DDNSCommon.h116 extern mDNSBool LabelContainsSuffix(const domainlabel *const name, const mDNSBool RichText);
117 extern mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText);
118 extern void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText);
163 extern mDNSBool SameRDataBody(const ResourceRecord *const r1, const RDataBody *const r2, DomainName…
164 extern mDNSBool SameNameRecordAnswersQuestion(const ResourceRecord *const rr, const DNSQuestion *co…
165 extern mDNSBool ResourceRecordAnswersQuestion(const ResourceRecord *const rr, const DNSQuestion *co…
166 extern mDNSBool AnyTypeRecordAnswersQuestion (const ResourceRecord *const rr, const DNSQuestion *co…
167 extern mDNSBool ResourceRecordAnswersUnicastResponse(const ResourceRecord *const rr, const DNSQuest…
168 extern mDNSBool LocalOnlyRecordAnswersQuestion(AuthRecord *const rr, const DNSQuestion *const q);
169 extern mDNSu16 GetRDLength(const ResourceRecord *const rr, mDNSBool estimate);
[all …]
DDNSCommon.c116 mDNSexport mDNSBool mDNSv4AddrIsRFC1918(mDNSv4Addr *addr) in mDNSv4AddrIsRFC1918()
279 static mDNSBool seeded = mDNSfalse; in mDNSRandomNumber()
303 mDNSexport mDNSBool mDNSSameAddress(const mDNSAddr *ip1, const mDNSAddr *ip2) in mDNSSameAddress()
310 case mDNSAddrType_IPv4 : return(mDNSBool)(mDNSSameIPv4Address(ip1->ip.v4, ip2->ip.v4)); in mDNSSameAddress()
311 case mDNSAddrType_IPv6 : return(mDNSBool)(mDNSSameIPv6Address(ip1->ip.v6, ip2->ip.v6)); in mDNSSameAddress()
317 mDNSexport mDNSBool mDNSAddrIsDNSMulticast(const mDNSAddr *ip) in mDNSAddrIsDNSMulticast()
321 …case mDNSAddrType_IPv4: return(mDNSBool)(mDNSSameIPv4Address(ip->ip.v4, AllDNSLinkGroup_v4.ip.v4)); in mDNSAddrIsDNSMulticast()
322 …case mDNSAddrType_IPv6: return(mDNSBool)(mDNSSameIPv6Address(ip->ip.v6, AllDNSLinkGroup_v6.ip.v6)); in mDNSAddrIsDNSMulticast()
333 mDNSexport mDNSBool SameDomainLabel(const mDNSu8 *a, const mDNSu8 *b) in SameDomainLabel()
353 mDNSexport mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2) in SameDomainName()
[all …]
DmDNS.c78 mDNSlocal mDNSBool CacheRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q);
79 mDNSlocal mDNSBool LocalRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q);
336 mDNSexport mDNSBool mDNS_AddressIsLocalSubnet(mDNS *const m, const mDNSInterfaceID InterfaceID, con… in mDNS_AddressIsLocalSubnet()
395 const mDNSBool selfref = SameDomainName(&q->qname, &rr->rdata->u.name); in AnswerQuestionByFollowingCNAME()
445 mDNSBool followcname; in AnswerLocalQuestionWithLocalAuthRecord()
499 mDNSBool answered; in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
533 mDNSBool answered; in AnswerAllLocalQuestionsWithLocalAuthRecord()
615 mDNSlocal mDNSBool SameResourceRecordNameClassInterface(const AuthRecord *const r1, const AuthRecor… in SameResourceRecordNameClassInterface()
622 return(mDNSBool)( in SameResourceRecordNameClassInterface()
636 mDNSlocal mDNSBool PacketRRMatchesSignature(const CacheRecord *const pktrr, const AuthRecord *const… in PacketRRMatchesSignature()
[all …]
DuDNS.c45 mDNSBool StrictUnicastOrdering = mDNSfalse;
104 …mDNSInterfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 t… in mDNS_AddDNSServer()
615 mDNSBool unmap = mDNStrue; in mDNS_StopNATOperation_internal()
964 mDNSlocal void tcpCallback(TCPSocket *sock, void *context, mDNSBool ConnectionEstablished, mStatus … in tcpCallback()
967 mDNSBool closed = mDNSfalse; in tcpCallback()
1118 mDNSBool tls; in tcpCallback()
1658 mDNSexport mDNSBool IsGetZoneDataQuestion(DNSQuestion *q) in IsGetZoneDataQuestion()
1683 mDNSlocal mDNSBool IsRecordMergeable(mDNS *const m, AuthRecord *rr, mDNSs32 time);
1687 mDNSlocal void UpdateAllServiceRecords(mDNS *const m, AuthRecord *rr, mDNSBool reg) in UpdateAllServiceRecords()
1940mDNSBool TargetChanged = (newtarget->c[0] && rr->state == regState_NoTarget) || !SameDomainName(cu… in UpdateOneSRVRecord()
[all …]
DuDNS.h108 …chDomain(mDNS *const m, mDNSInterfaceID InterfaceID, mDNSs8 *searchIndex, mDNSBool ignoreDotLocal);
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.h107 mDNSBool hostRegistered;
150 mDNSBool smbFileSharing;
151 mDNSBool smbPrintSharing;
154 mDNSBool registeredLoopback4;
DSecret.h29 extern mDNSBool
33 extern mDNSBool
DmDNSWin32.c133 mDNSlocal mDNSBool CanReceiveUnicast( void );
134 mDNSlocal mDNSBool IsPointToPoint( IP_ADAPTER_UNICAST_ADDRESS * addr );
641 mDNSexport mDNSBool mDNSPlatformMemSame( const void *inDst, const void *inSrc, mDNSu32 inSize ) in mDNSPlatformMemSame()
646 return( (mDNSBool)( memcmp( inSrc, inDst, inSize ) == 0 ) ); in mDNSPlatformMemSame()
904 …terfaceIndexfromInterfaceID( mDNS * const inMDNS, mDNSInterfaceID inID, mDNSBool suppressNetworkCh… in mDNSPlatformInterfaceIndexfromInterfaceID()
1162 …NSPlatformReadTCP( TCPSocket *sock, void *inBuffer, unsigned long inBufferSize, mDNSBool * closed ) in mDNSPlatformReadTCP()
1615 mDNSexport void mDNSPlatformSetAllowSleep(mDNS *const m, mDNSBool allowSleep, const char *reason) in mDNSPlatformSetAllowSleep()
1706 mDNSexport void mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, do… in mDNSPlatformSetDNSConfig()
2178 mDNSexport mDNSBool mDNSPlatformValidRecordForInterface(AuthRecord *rr, const NetworkInterfaceInfo … in mDNSPlatformValidRecordForInterface()
2437 mDNSBool foundv4; in SetupInterfaceList()
[all …]
DSecret.c158 mDNSBool
/external/mdnsresponder/mDNSShared/
Ddnsextd.h56 mDNSBool isZonePublic;
87 mDNSBool UseTCP; // Use TCP if UDP would cause truncation
114 mDNSBool markedForDeletion;
Ddnsextd.c132 static mDNSBool foreground = 0;
133 static mDNSBool verbose = 0;
136 static mDNSBool terminate = 0;
137 static mDNSBool dumptable = 0;
138 static mDNSBool hangup = 0;
368 static int my_recv(TCPSocket *sock, void *const buf, const int len, mDNSBool * closed) in my_recv()
417 mDNSBool * closed in RecvPacket()
512 mDNSlocal mDNSBool
531 mDNSlocal mDNSBool IsQuery( PktMsg * pkt ) in IsQuery()
537 mDNSlocal mDNSBool IsUpdate( PktMsg * pkt ) in IsUpdate()
[all …]
Duds_daemon.h60 extern void machserver_automatic_browse_domain_changed(const domainname *d, mDNSBool add);
61 extern void machserver_automatic_registration_domain_changed(const domainname *d, mDNSBool add);
DPlatformCommon.h18 … *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryD…
DPlatformCommon.c85 mDNSlocal mDNSBool GetConfigOption(char *dst, const char *option, FILE *f) in GetConfigOption()
106 … *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryD… in ReadDDNSSettingsFromConfFile()
Duds_daemon.c45 mDNSBool AlwaysAppendSearchDomains = mDNSfalse;
101 mDNSBool external_advertise;
114 mDNSBool renameonmemfree; // Set on config change when we deregister original name
115 mDNSBool clientnotified; // Has client been notified of successful registration yet?
116 mDNSBool default_local; // is this the "local." from an empty-string registration?
117 mDNSBool external_advertise; // is this is being advertised externally?
165 mDNSBool default_domain;
166 mDNSBool ForceMCast;
179 mDNSBool default_domain;
181 mDNSBool autoname; // Set if this name is tied to the Computer Name
[all …]
Ddnsextd_parser.y476 mDNSBool found = mDNSfalse; in ParseConfig()
510 mDNSBool found = mDNSfalse; in ParseConfig()

12