/external/e2fsprogs/lib/quota/ |
mkquota.h | 46 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype); 53 errcode_t quota_write_inode(quota_ctx_t qctx, int qtype); 58 errcode_t quota_remove_inode(ext2_filsys fs, int qtype); 59 int quota_file_exists(ext2_filsys fs, int qtype, int fmt); 60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype); 61 errcode_t quota_compare_and_update(quota_ctx_t qctx, int qtype,
|
mkquota.c | 53 int quota_file_exists(ext2_filsys fs, int qtype, int fmt) 59 if (qtype >= MAXQUOTAS) 62 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); 75 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype) 79 inump = (qtype == USRQUOTA) ? &fs->super->s_usr_quota_inum : 83 qtype); 88 errcode_t quota_remove_inode(ext2_filsys fs, int qtype) 93 qf_ino = (qtype == USRQUOTA) ? fs->super->s_usr_quota_inum : 95 quota_set_sb_inum(fs, 0, qtype); 121 errcode_t quota_write_inode(quota_ctx_t qctx, int qtype) [all...] |
quotaio.h | 162 const char *quota_get_qf_path(const char *mntpt, int qtype, int fmt,
|
quotaio.c | 57 const char *quota_get_qf_path(const char *mntpt, int qtype, int fmt, 67 strncat(path_buf, quota_get_qf_name(qtype, fmt, qf_name),
|
/external/dnsmasq/src/ |
rfc1035.c | 532 int i, qtype, qclass, rdlen; local 540 GETSHORT(qtype, p); 545 if ((qclass == C_IN) && (qtype == T_A)) 586 int qtype, qclass, rdlen; local 600 GETSHORT(qtype, p); 605 if ((qclass == C_IN) && (qtype == T_SOA)) 644 int i, j, qtype, qclass, aqtype, aqclass, ardlen, res, searched_soa = 0; local 671 GETSHORT(qtype, p); 679 if (qtype == T_PTR) 749 if (qtype == T_A 869 int qtype, qclass; local 981 int i, qtype, qclass, rdlen; local 1135 int qtype, qclass; local [all...] |
forward.c | 114 unsigned short qtype, char *qdomain, int *type, char **domain) 136 if (sflag & qtype) 167 if (sflag & qtype) 183 if (flags == 0 && !(qtype & F_BIGNAME) && 196 logflags = F_NEG | qtype; 738 unsigned short qtype, gotname; local 758 if ((gotname = extract_request(header, (unsigned int)size, daemon->namebuff, &qtype))) 767 querystr(types, qtype); [all...] |
/external/iputils/ninfod/ |
ninfod_core.c | 178 uint16_t qtype; member in struct:qtypeinfo 187 .qtype = NI_QTYPE_NOOP, 193 .qtype = NI_QTYPE_SUPTYPES, 200 .qtype = NI_QTYPE_DNSNAME, 206 .qtype = NI_QTYPE_NODEADDR, 212 .qtype = NI_QTYPE_IPV4ADDR, 231 static __inline__ struct qtypeinfo *qtypeinfo_lookup(int qtype) 233 if (qtype >= ARRAY_SIZE(qtypeinfo_table)) 235 if (qtypeinfo_table[qtype].name == NULL) 237 return &qtypeinfo_table[qtype]; 310 unsigned short qtype; local [all...] |
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 70 getnewci(qtype, keytag, algorithm, flags, certlen, cert) 71 int qtype, keytag, algorithm, flags, certlen; 81 res->ci_type = qtype; 214 int qtype, qclass, keytag, algorithm; local 273 GETSHORT(qtype, cp); /* QTYPE */ 286 GETSHORT(qtype, cp); /* TYPE */ 292 if (qtype != T_CERT) { 299 GETSHORT(qtype, cp); /* type */ 314 qtype, keytag, algorithm, rdlength) [all...] |
/external/e2fsprogs/e2fsck/ |
quota.c | 21 ext2_ino_t to_ino, int qtype) 42 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name);
|
/external/mdnsresponder/mDNSShared/ |
uds_daemon.h | 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);
|
dnsextd.h | 97 mDNSu16 qtype; member in struct:LLQEntry
|
uds_daemon.c | [all...] |
dnsextd.c | 655 exception = ( ( question.qtype == kDNSType_SOA ) || ( question.qtype == kDNSType_NS ) || ( ( question.qtype == kDNSType_SRV ) && IsPublicSRV( self, &question ) ) ); [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 217 q->qtype = qtype; 233 //mprintf("%##s %s ?\n", q->qname.c, DNSTypeName(qtype)); 237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 239 mStatus status = StartQuery(q, qname, qtype, target, callback); 249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 251 DoOneQuery(q, qname, qtype, target, callback); 254 mprintf("%##s %s Trying multicast\n", q->qname.c, DNSTypeName(q->qtype)); 255 DoOneQuery(q, qname, qtype, NULL, callback) [all...] |
/prebuilts/go/darwin-x86/src/net/ |
dnsclient_unix.go | 124 func exchange(server, name string, qtype uint16, timeout time.Duration) (*dnsMsg, error) { 131 {name, qtype, dnsClassINET}, 164 func tryOneName(cfg *dnsConfig, name string, qtype uint16) (string, []dnsRR, error) { 176 msg, err := exchange(server, name, qtype, timeout) 188 cname, rrs, err := answer(name, server, msg, qtype) 300 func lookup(name string, qtype uint16) (cname string, rrs []dnsRR, err error) { 309 cname, rrs, err = tryOneName(conf, fqdn, qtype) 450 for _, qtype := range qtypes { 451 go func(qtype uint16) { 452 _, rrs, err := tryOneName(conf, fqdn, qtype) [all...] |
dnsclient_unix_test.go | 24 qtype uint16 28 // Querying "com." with qtype=255 usually makes an answer 41 msg, err := exchange(tt.server, tt.name, tt.qtype, timeout) 59 qtype uint16 83 msg, err := exchange(server, tt.name, tt.qtype, 0)
|
dnsclient.go | 40 func answer(name, server string, dns *dnsMsg, qtype uint16) (cname string, addrs []dnsRR, err error) { 66 // of type qtype, but we don't 73 case qtype:
|
/prebuilts/go/linux-x86/src/net/ |
dnsclient_unix.go | 124 func exchange(server, name string, qtype uint16, timeout time.Duration) (*dnsMsg, error) { 131 {name, qtype, dnsClassINET}, 164 func tryOneName(cfg *dnsConfig, name string, qtype uint16) (string, []dnsRR, error) { 176 msg, err := exchange(server, name, qtype, timeout) 188 cname, rrs, err := answer(name, server, msg, qtype) 300 func lookup(name string, qtype uint16) (cname string, rrs []dnsRR, err error) { 309 cname, rrs, err = tryOneName(conf, fqdn, qtype) 450 for _, qtype := range qtypes { 451 go func(qtype uint16) { 452 _, rrs, err := tryOneName(conf, fqdn, qtype) [all...] |
dnsclient_unix_test.go | 24 qtype uint16 28 // Querying "com." with qtype=255 usually makes an answer 41 msg, err := exchange(tt.server, tt.name, tt.qtype, timeout) 59 qtype uint16 83 msg, err := exchange(server, tt.name, tt.qtype, 0)
|
dnsclient.go | 40 func answer(name, server string, dns *dnsMsg, qtype uint16) (cname string, addrs []dnsRR, err error) { 66 // of type qtype, but we don't 73 case qtype:
|
/system/netd/tests/ |
dns_responder.cpp | 231 unsigned qtype; member in struct:test::DNSQuestion 248 qtype = ntohs(*reinterpret_cast<const uint16_t*>(cur)); 260 *reinterpret_cast<uint16_t*>(buffer_cur) = htons(qtype); 269 dnstype2str(qtype), dnsclass2str(qclass)); 757 ns_type(question.qtype))); 792 auto it = mappings_.find(QueryKey(question.qname.name, question.qtype)); 796 question.qname.name.c_str(), dnstype2str(question.qtype)); 800 dnstype2str(question.qtype), it->second.c_str()); 803 record.rtype = question.qtype; 806 if (question.qtype == ns_type::ns_t_a) [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 213 int qclass, qtype; /* class and type of query */ member in struct:res_target [all...] |
gethnamaddr.c | 201 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, 226 switch (qtype) { 258 if (qtype == T_A || qtype == T_AAAA) { 298 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { 327 if (qtype == T_PTR && type == T_CNAME) { 348 if (type != qtype) { 352 qname, p_class(C_IN), p_type(qtype), 464 if (res->nsort && haveanswer > 1 && qtype == T_A [all...] |
/external/mdnsresponder/mDNSCore/ |
uDNS.c | 179 LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->qtype), q->unansweredQueries); 184 &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c, q, q->qname.c, DNSTypeName(q->qtype), 200 if (q->qtype == kDNSType_PTR) 206 LogInfo("PenalizeDNSServer: Penalizing question type %d", q->qtype); 236 q->qname.c, DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c); 273 LogInfo("PenalizeDNSServer: Server for %p, %##s (%s) changed to NULL, Interval %d", q, q->qname.c, DNSTypeName(q->qtype), q->ThisQInterval); 325 info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); 405 newinfo ? newinfo ->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); 709 ptr = putQuestion(msg, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qtype, question->qclass); 753 if (q->tcp) { LogMsg("sendChallengeResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c, DNSTypeName(q->qtype)); return; [all...] |
mDNS.c | 122 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \ 384 LogInfo("GenerateNegativeResponse: Generating negative response for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype)); 386 MakeNegativeCacheRecord(m, &m->rec.r, &q->qname, q->qnamehash, q->qtype, q->qclass, 60, mDNSInterface_Any, mDNSNULL); 398 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, selfref ? " (Self-Referential)" : "", RRDisplayString(m, rr)); 419 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, RRDisplayString(m, rr)); 430 q, q->qname.c, DNSTypeName(q->qtype), RRDisplayString(m, rr)); 495 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); 528 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); [all...] |