/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 184 struct name_question question; local 201 question.name = answer->name; 204 packet.qdcount = 1; /* question entries */ 205 packet.question = &question; 335 struct name_question *question; local 413 question = packet->question; 416 if ((entry = smb_netbios_cache_lookup(question->name)) != 0) { 519 (void) smb_first_level_name_encode(npb->question[ 962 smb_send_name_registration_request(int bcast, struct name_question *question, struct resource_record *additional) argument 1035 smb_send_name_refresh_request(int bcast, struct name_question *question, struct resource_record *additional, int force) argument 1170 smb_send_name_release_request_and_demand(int bcast, struct name_question *question, struct resource_record *additional) argument 1258 smb_send_name_query_request(int bcast, struct name_question *question) argument 1527 struct name_question question; local 1571 struct name_question question; local 1583 struct name_question question; local 1625 struct name_question question; local 1665 struct name_question question; local 1704 struct name_question question; local 1720 struct name_question question; local 1836 struct name_question *question; local 1916 struct name_question *question; local [all...] |
H A D | smbns_netbios.h | 207 unsigned qdcount; /* question entries */ 212 struct name_question *question; member in struct:name_packet
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 47 query(question) 48 char *question; 53 def = query_once(question, -1); 75 query_once(question, def) 76 char *question; 89 if (question == NULL) { 95 attnmessage = question; 99 msgsum = addem(question); 100 if (lastmsg != question || lastmsgsum != msgsum) { 104 lastmsg = question; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNS.c | 140 // A, AAAA , CNAME, or PTR. The caller should answer the question with this record and not send out 141 // the question on the wire if LocalOnlyRecordAnswersQuestion() also returns true. 163 // Depending on whether this is a multicast or unicast question we want to set either: 420 LogInfo("GenerateNegativeResponse: Generating negative response for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype)); 426 // b) Append search domains and retry the question 428 // The question may not have set Intermediates in which case we don't deliver negative responses. So, to force 431 if (m->CurrentQuestion == q) { q->ThisQInterval = 0; } // Deactivate this question 432 // Don't touch the question after this 455 // both A and AAAA question and while answering it we don't want to throw 475 // A and B, and when we stop question 5386 ActivateUnicastQuery(mDNS *const m, DNSQuestion *const question, mDNSBool ScheduleImmediately) argument 6152 NetWakeResolve(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 7846 ExpectingUnicastResponseForQuestion(const mDNS *const m, const mDNSIPPort port, const mDNSOpaque16 id, const DNSQuestion *const question, mDNSBool tcp) argument 10386 FindDuplicateQuestion(const mDNS *const m, const DNSQuestion *const question) argument 10414 UpdateQuestionDuplicates(mDNS *const m, DNSQuestion *const question) argument 10595 GetTimeoutForMcastQuestion(mDNS *m, DNSQuestion *question) argument 10708 SetValidDNSServers(mDNS *m, DNSQuestion *question) argument 10886 GetServerForQuestion(mDNS *m, DNSQuestion *question) argument 11137 IsQuestionNew(mDNS *const m, DNSQuestion *question) argument 11349 ValidateParameters(mDNS *const m, DNSQuestion *const question) argument 11383 InitDNSConfig(mDNS *const m, DNSQuestion *const question) argument 11438 InitCommonState(mDNS *const m, DNSQuestion *const question) argument 11577 InitWABState(DNSQuestion *const question) argument 11606 InitLLQState(DNSQuestion *const question) argument 11617 InitDNSSECProxyState(mDNS *const m, DNSQuestion *const question) argument 11648 FinalizeUnicastQuestion(mDNS *const m, DNSQuestion *question, mDNSBool purge) argument 11690 mDNS_StartQuery_internal(mDNS *const m, DNSQuestion *const question) argument 11801 mDNS_StopQuery_internal(mDNS *const m, DNSQuestion *const question) argument 11980 mDNS_StartQuery(mDNS *const m, DNSQuestion *const question) argument 11989 mDNS_StopQuery(mDNS *const m, DNSQuestion *const question) argument 12002 mDNS_StopQueryWithRemoves(mDNS *const m, DNSQuestion *const question) argument 12053 mDNS_StartBrowse_internal(mDNS *const m, DNSQuestion *const question, const domainname *const srv, const domainname *const domain, const mDNSu8 *anondata, const mDNSInterfaceID InterfaceID, mDNSu32 flags, mDNSBool ForceMCast, mDNSBool useBackgroundTrafficClass, mDNSQuestionCallback *Callback, void *Context) argument 12098 mDNS_StartBrowse(mDNS *const m, DNSQuestion *const question, const domainname *const srv, const domainname *const domain, const mDNSu8 *anondata, const mDNSInterfaceID InterfaceID, mDNSu32 flags, mDNSBool ForceMCast, mDNSBool useBackgroundTrafficClass, mDNSQuestionCallback *Callback, void *Context) argument 12119 FoundServiceInfoSRV(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 12180 FoundServiceInfoTXT(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 12205 FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 12401 mDNS_GetDomains(mDNS *const m, DNSQuestion *const question, mDNS_DomainType DomainType, const domainname *dom, const mDNSInterfaceID InterfaceID, mDNSQuestionCallback *Callback, void *Context) argument 14556 DNSQuestion question; local [all...] |
H A D | uds_daemon.c | 2199 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 2202 request_state *req = question->QuestionContext; 2209 if (mDNSOpaque16IsZero(question->TargetQID) && (question->BrowseThreshold > 0) && (question->CurrentAnswers >= question->BrowseThreshold)) 2232 req->sd, question->qname.c, DNSTypeName(question->qtype), AddRecord ? "Add" : "Rmv", 2734 mDNSlocal void resolve_result_callback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 2740 request_state *req = question 2962 AppendNewSearchDomain(mDNS *const m, DNSQuestion *question) argument 3062 ShouldDeliverNegativeResponse(mDNS *const m, DNSQuestion *question) argument 3212 RetryQuestionWithSearchDomains(mDNS *const m, DNSQuestion *question, request_state *req, QC_result AddRecord) argument 3260 queryrecord_result_reply(mDNS *const m, request_state *req, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord, DNSServiceErrorType error) argument 3440 queryrecord_result_callback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 3638 DNSQuestion *question = &request->u.queryrecord.q; local 3663 DNSQuestion *question = request->u.queryrecord.q2; local 3901 enum_result_callback(mDNS *const m, DNSQuestion *const question, const ResourceRecord *const answer, QC_result AddRecord) argument [all...] |
H A D | uDNS.h | 98 extern mStatus mDNS_StartQuery_internal(mDNS *const m, DNSQuestion *const question); 99 extern mStatus mDNS_StopQuery_internal(mDNS *const m, DNSQuestion *const question);
|
H A D | uDNS.c | 49 // question. Bit position is the index into the DNS server list. This is done so to try all 201 // when we receive the first response to a DNSSEC question, we set 228 LogInfo("PenalizeDNSServer: Penalizing DNS server %#a question for question %p %##s (%s) SuppressUnusable %d", 258 LogInfo("PenalizeDNSServer: Not Penalizing PTR question"); 266 LogInfo("PenalizeDNSServer: Penalizing question type %d", q->qtype); 284 q->ThisQInterval = 0; // Inactivate this question so that we dont bombard the network 305 // We want to try the next server immediately. As the question may already have backed off, reset 318 // We don't have any more DNS servers for this question. If some server in the list did not return 327 // Be careful not to touch the ThisQInterval here. For a normal question, whe 998 putLLQ(DNSMessage *const msg, mDNSu8 *ptr, const DNSQuestion *const question, const LLQOptData *const data) argument 1539 MakeTCPConn(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end, TCPSocketFlags flags, const mDNSAddr *const Addr, const mDNSIPPort Port, domainname *hostname, DNSQuestion *const question, AuthRecord *const rr) argument 1769 GetZoneData_QuestionCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 2525 FoundStaticHostname(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument 5295 FoundDomain(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument [all...] |
H A D | dnssec.h | 65 // When we do a validation for a question, there might be additional validations that needs to be done e.g., 73 // A wildcard may be used to answer a question. In that case, we need to verify that the right wildcard was 74 // used in answering the question. This is done by marking the validation with WILDCARD_PROVES_ANSWER_EXPANDED. 94 domainname origName; // Original question name that needs verification 95 mDNSu16 origType; // Original question type corresponding to origName 96 mDNSu16 currQtype; // Current question type that is being verified 97 mDNSInterfaceID InterfaceID; // InterfaceID of the question 100 mDNSu8 ValidationRequired; // Copy of the question's ValidationRequired status 143 extern void InitializeQuestion(mDNS *const m, DNSQuestion *question, mDNSInterfaceID InterfaceID, const domainname *qname,
|
H A D | mDNSEmbeddedAPI.h | 166 kDNSQClass_UnicastResponse = 0x8000 // Top bit set in a question means "unicast response acceptable" 428 // them to hang around for too long in the cache if the host in question crashes or otherwise goes away. 517 DNSQuestion *question; // For queries member in struct:tcpInfo_t 1354 // a DNSSEC question. In some cases it is possible that the proxy 1522 mDNSAddr AddressProxy; // For reverse-mapping Sleep Proxy PTR records, address in question 1534 mDNSu8 AnsweredLocalQ; // Set if this AuthRecord has been delivered to any local question (LocalOnly or mDNSInterface_Any) 1547 const mDNSu8 *NR_AnswerTo; // Set if this record was selected by virtue of being a direct answer to a question 1608 // Everywhere else in the code, the determination of whether a question is unicast is made by checking to see if TargetQID is nonzero. 1618 // is not available locally for A or AAAA question respectively. Also, if the 1647 DNSQuestion *CRActiveQuestion; // Points to an active question referencin 2074 DNSQuestion question; // Storage for any active question member in struct:ZoneData_struct [all...] |
H A D | DNSCommon.c | 1705 // Checks whether the RRSIG or NSEC record answers the question "q". 1717 // records as it answers any question type. 1727 debugf("DNSSECRecordAnswersQuestion: %d type resource record matched question %##s (%s), ignoring", rr->rrtype, 1736 // the response to the question. The RRSIG type won't match the q->qtype and hence 1746 debugf("DNSSECRecordAnswersQuestion: RRSIG did not match question %##s (%s)", q->qname.c, 1750 LogInfo("DNSSECRecordAnswersQuestion: RRSIG matched question %##s (%s)", q->qname.c, 1755 // If the NSEC record asserts the non-existence of a name looked up by the question, we would 1757 // to prove the non-existence as required by ValidatingResponse and ValidationRequired question, 1769 // ResourceRecordAnswersQuestion returns mDNStrue if the given resource record is a valid answer to the given question. 1803 // If ResourceRecord received via multicast, but question wa 3535 getQuestion(const DNSMessage *msg, const mDNSu8 *ptr, const mDNSu8 *end, const mDNSInterfaceID InterfaceID, DNSQuestion *question) argument [all...] |
H A D | DNSCommon.h | 254 DNSQuestion *question);
|
/illumos-gate/usr/src/cmd/format/ |
H A D | misc.h | 142 int check(char *question);
|
H A D | misc.c | 165 * This routine asks the user the given yes/no question and returns 169 check(question) 170 char *question; 184 answer = input(FIO_MSTR, question, '?', &ioparam,
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | kdcmgr.sh | 56 # ask question, set global answer 57 typeset question=$1 default_answer=$2 59 print "$question \c" 61 print "$question [$default_answer]: \c" 69 typeset question="$1" 79 ask "$question" $yn
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 204 reply(char *question) argument 210 (void) printf("\n%s? ", question);
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 456 reply(char *question) argument 462 (void) fprintf(stderr, "%s? [%s] ", question, yesorno);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kclient.sh | 302 typeset question=$1 306 printf "$question :" 308 printf "$question [$default_answer]: " 315 typeset question="$1" 325 ask "$question" $yn
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 866 ask_yesno(boolean_t default_answer, const char *question) argument 875 if (printf("%s (%s)? ", gettext(question),
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 3199 " command must know what the kernel in question expects). The" 4378 {"slash", "question", '/', '?', 0x35}, 4553 " less, period, greater, slash, question, alt, space, capslock, FX (X"
|
/illumos-gate/usr/src/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 1426 killall=$(zenity --question \
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 4877 ask_yesno(boolean_t default_answer, const char *question) argument 4884 (void) printf("%s (%s)? ", question,
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 1606 ask_yesno(boolean_t default_answer, const char *question) argument 1615 if (printf("%s (%s)? ", question, 1642 char line[ZONENAME_MAX + 128]; /* enough to ask a question */ 2613 char line[ZONENAME_MAX + 128]; /* enough to ask a question */ 7070 char line[128]; /* enough to ask a question */ 7368 * that if the zone in question does not exist yet, we can
|