Home
last modified time | relevance | path

Searched refs:rrtype (Results 51 – 75 of 706) sorted by relevance

12345678910>>...29

/dports/dns/bind-tools/bind-9.16.27/bin/tests/system/qmin/ans4/
H A Dans.py61 rrtype = m.question[0].rdtype
62 typename = dns.rdatatype.to_text(rrtype)
98 if rrtype == TXT:
102 elif rrtype == NS:
107 elif rrtype == SOA:
115 if rrtype == NS:
120 elif rrtype == SOA:
137 if lqname == "icky.icky.icky.ptang.zoop.boing." and rrtype == A:
140 elif lqname == "more.icky.icky.icky.ptang.zoop.boing." and rrtype == A:
143 elif lqname == "icky.ptang.zoop.boing." and rrtype == NS:
[all …]
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/bin/tests/system/qmin/ans4/
H A Dans.py61 rrtype = m.question[0].rdtype
62 typename = dns.rdatatype.to_text(rrtype)
98 if rrtype == TXT:
102 elif rrtype == NS:
107 elif rrtype == SOA:
115 if rrtype == NS:
120 elif rrtype == SOA:
137 if lqname == "icky.icky.icky.ptang.zoop.boing." and rrtype == A:
140 elif lqname == "more.icky.icky.icky.ptang.zoop.boing." and rrtype == A:
143 elif lqname == "icky.ptang.zoop.boing." and rrtype == NS:
[all …]
/dports/net/mDNSResponder/mDNSResponder-1310.140.1/ServiceRegistration/
H A Dsrp-api.h41 int srp_add_interface_address(uint16_t rrtype, const uint8_t *NONNULL rdata, uint16_t rdlen);
46 int srp_add_server_address(const uint8_t *NONNULL port, uint16_t rrtype, const uint8_t *NONNULL rda…
62 int srp_delete_interface_address(uint16_t rrtype, const uint8_t *NONNULL rdata, uint16_t rdlen);
65 int srp_delete_server_address(uint16_t rrtype, const uint8_t *NONNULL port, const uint8_t *NONNULL …
97 bool srp_get_last_server(uint16_t *NONNULL rrtype, uint8_t *NONNULL rrdata, uint16_t rdlength,
105 bool srp_save_last_server(uint16_t rrtype, uint8_t *NONNULL rrdata, uint16_t rdlength,
/dports/dns/py-pywdns/pywdns-0.10.1/
H A Dwdns.pyx325 rrtype and rrclass.
328 @type rrtype: int
498 @type rrtype: int
575 q.rrtype = dns_rrset.rrtype
580 py_rrset.rrtype = dns_rrset.rrtype
743 @type rrtype: int
769 @ivar rrtype: Type
770 @type rrtype: int
814 @ivar rrtype: Type
815 @type rrtype: int
[all …]
/dports/dns/dnstable/dnstable-0.12.0/dnstable/
H A Dquery.c34 uint32_t rrtype; member
182 q->rrtype = WDNS_TYPE_A; in query_set_data_rdata_ip_range()
224 q->rrtype = WDNS_TYPE_A; in query_set_data_rdata_ip_prefix()
266 q->rrtype = WDNS_TYPE_A; in query_set_data_rdata_ip_address()
337 uint16_t rrtype; in dnstable_query_set_rrtype() local
353 if (rrtype == 0) { in dnstable_query_set_rrtype()
357 q->rrtype = rrtype; in dnstable_query_set_rrtype()
438 uint16_t rrtype; in dnstable_query_filter() local
442 if (rrtype != q->rrtype) in dnstable_query_filter()
608 uint16_t rrtype; in query_iter_next_ip() local
[all …]
H A Dentry.c30 uint32_t rrtype; member
126 fmt_rrtype(ubuf *u, uint16_t rrtype) in fmt_rrtype() argument
249 e->rrtype, WDNS_CLASS_IN); in dnstable_entry_to_text_fmt()
252 fmt_rrtype(u, e->rrtype); in dnstable_entry_to_text_fmt()
265 e->rrtype, WDNS_CLASS_IN); in dnstable_entry_to_text_fmt()
268 fmt_rrtype(u, e->rrtype); in dnstable_entry_to_text_fmt()
447 uint8_t rrtype[3]; in dnstable_entry_to_json_fmt() local
448 size_t rrtype_str_len = mtbl_varint_encode32(rrtype, e->rrtype); in dnstable_entry_to_json_fmt()
981 *v = (uint16_t)e->rrtype; in dnstable_entry_get_rrtype()
1175 uint8_t want_window = rrtype / 256; in rrtype_union_check()
[all …]
/dports/security/suricata/suricata-6.0.4/rust/src/dns/
H A Dparser.rs150 rrtype: be_u16 >> in dns_parse_answer()
157 rrtype, in dns_parse_answer()
165 let rrtype = val.1; in dns_parse_answer() localVariable
169 let n = match rrtype { in dns_parse_answer()
196 rrtype: rrtype, in dns_parse_answer()
249 rrtype: be_u16 >> in dns_parse_query()
254 rrtype: rrtype, in dns_parse_query()
349 match rrtype { in dns_parse_rdata()
527 assert_eq!(query.rrtype, 1); in test_dns_parse_request()
585 rrtype: 1, in test_dns_parse_response()
[all …]
/dports/dns/p5-Net-DNS/Net-DNS-1.32/lib/Net/DNS/
H A DParameters.pm363 my ( $mnemonic, $rrtype ) = @_; # uncoverable pod
364 $rrtype = rand(255) + 65280 unless $rrtype;
366 for ( typebyval( $rrtype = int $rrtype ) ) {
367 return $rrtype if /^$mnemonic$/; # duplicate registration
368 croak qq["$mnemonic" conflicts with TYPE$rrtype ($_)] unless /^TYPE\d+$/;
372 $typebyval{$rrtype} = $mnemonic;
373 return $typebyname{$mnemonic} = $rrtype;
/dports/net/kea/kea-2.0.1/src/lib/dns/
H A Drrparamregistry-placeholder.cc278 RRParamRegistry::removeRdataFactory(const RRType& rrtype, in removeRdataFactory() argument
282 impl_->rdata_factories.find(RRTypeClass(rrtype, rrclass)); in removeRdataFactory()
292 RRParamRegistry::removeRdataFactory(const RRType& rrtype) { in removeRdataFactory() argument
294 impl_->genericrdata_factories.find(rrtype); in removeRdataFactory()
482 const RRType& rrtype, const RRClass& rrclass) in findRdataFactory() argument
485 found = reg_impl->rdata_factories.find(RRTypeClass(rrtype, rrclass)); in findRdataFactory()
491 reg_impl->genericrdata_factories.find(rrtype); in findRdataFactory()
508 findRdataFactory(impl_, rrtype, rrclass); in createRdata()
521 findRdataFactory(impl_, rrtype, rrclass); in createRdata()
534 findRdataFactory(impl_, rrtype, rrclass); in createRdata()
[all …]
H A Drrparamregistry.h347 bool removeRdataFactory(const RRType& rrtype, const RRClass& rrclass);
362 bool removeRdataFactory(const RRType& rrtype);
475 rdata::RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
490 rdata::RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
514 rdata::RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
529 rdata::RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
H A Drrset_collection.cc74 const RRType& rrtype) { in find() argument
75 const CollectionKey key(rrclass, rrtype, name); in find()
85 const RRType& rrtype) const in find()
87 const CollectionKey key(rrclass, rrtype, name); in find()
97 const RRType& rrtype) in removeRRset() argument
99 const CollectionKey key(rrclass, rrtype, name); in removeRRset()
H A Dedns.cc67 EDNS::EDNS(const Name& name, const RRClass& rrclass, const RRType& rrtype, in EDNS() argument
71 if (rrtype != RRType::OPT()) { in EDNS()
74 << rrtype); in EDNS()
158 const RRType& rrtype, const RRTTL& ttl, in createEDNSFromRR() argument
163 EDNS* edns = new EDNS(name, rrclass, rrtype, ttl, rdata); in createEDNSFromRR()
H A Dmessage.cc124 const RRClass& rrclass, const RRType& rrtype,
130 const RRClass& rrclass, const RRType& rrtype,
527 r->getType() == rrtype && in hasRRset()
670 const RRType rrtype(buffer.readUint16()); in parseQuestion() local
687 name_(name), rrtype_(rrtype), rrclass_(rrclass) {} in MatchRR()
749 const RRType rrtype(buffer.readUint16()); in parseSection() local
766 if (rrtype == RRType::OPT()) { in parseSection()
768 } else if (rrtype == RRType::TSIG()) { in parseSection()
789 MatchRR(name, rrtype, rrclass)); in addRR()
796 RRsetPtr rrset(new RRset(name, rrclass, rrtype, ttl)); in addRR()
[all …]
H A Drrparamregistry.cc380 RRParamRegistry::removeRdataFactory(const RRType& rrtype, in removeRdataFactory() argument
384 impl_->rdata_factories.find(RRTypeClass(rrtype, rrclass)); in removeRdataFactory()
394 RRParamRegistry::removeRdataFactory(const RRType& rrtype) { in removeRdataFactory() argument
396 impl_->genericrdata_factories.find(rrtype); in removeRdataFactory()
584 const RRType& rrtype, const RRClass& rrclass) in findRdataFactory() argument
587 found = reg_impl->rdata_factories.find(RRTypeClass(rrtype, rrclass)); in findRdataFactory()
593 reg_impl->genericrdata_factories.find(rrtype); in findRdataFactory()
610 findRdataFactory(impl_, rrtype, rrclass); in createRdata()
623 findRdataFactory(impl_, rrtype, rrclass); in createRdata()
636 findRdataFactory(impl_, rrtype, rrclass); in createRdata()
[all …]
/dports/www/larbin/larbin-2.6.3/adns/
H A Dreply.c37 int rrtype, rrclass, rdlength, rdstart; in adns__procdgram() local
166 &rrtype,&rrclass,&ttl, &rdlength,&rdstart, in adns__procdgram()
169 if (rrtype == -1) goto x_truncated; in adns__procdgram()
183 if (rrtype == adns_r_cname && in adns__procdgram()
221 } else if (rrtype == (qu->typei->type & adns__rrt_typemask)) { in adns__procdgram()
243 &rrtype,&rrclass,&ttl, &rdlength,&rdstart, 0); in adns__procdgram()
245 if (rrtype==-1) goto x_truncated; in adns__procdgram()
253 else if (rrtype == adns_r_ns_raw) { foundns= 1; } in adns__procdgram()
317 &rrtype,&rrclass,&ttl, &rdlength,&rdstart, in adns__procdgram()
319 assert(!st); assert(rrtype != -1); in adns__procdgram()
[all …]
/dports/dns/py-pydnstable/pydnstable-0.7.2/
H A Ddnstable.pyx66 # rrtype
69 self.d['rrtype'] = u16
132 if 'rrtype' in d:
133 d['rrtype'] = wdns.rrtype_to_str(d['rrtype'])
209 cdef readonly str rrtype
221 self.rrtype = rrtype
233 if rrtype:
234 res = dnstable_query_set_rrtype(self._instance, rrtype.encode('UTF-8'))
316 if self.rrtype and self.rrtype.lower() != 'any':
317 s += '/' + self.rrtype.upper()
[all …]
/dports/dns/dnstable/dnstable-0.12.0/tests/
H A Dtest-bitmaps.c90 uint16_t rrtype = wdns_str_to_rrtype(encode_this); in encode_test() local
91 if (rrtype == 0) { in encode_test()
95 if (rrtype > 255) in encode_test()
96 printf("encoding: %02x%02x\n", rrtype & 0xff, (rrtype & 0xff00) >> 8); in encode_test()
98 printf("encoding: %02x\n", rrtype & 0xff); in encode_test()
/dports/dns/adns/adns-1.6.0/src/
H A Dreply.c36 int rrtype, rrclass, rdlength, rdstart; in adns__procdgram() local
170 &rrtype,&rrclass,&ttl, &rdlength,&rdstart, in adns__procdgram()
173 if (rrtype == -1) goto x_truncated; in adns__procdgram()
188 if (rrtype == adns_r_cname && in adns__procdgram()
237 " with irrelevant type %d",rrtype); in adns__procdgram()
258 &rrtype,&rrclass,&ttl, &rdlength,&rdstart, 0); in adns__procdgram()
260 if (rrtype==-1) goto x_truncated; in adns__procdgram()
268 else if (rrtype == adns_r_ns_raw) { foundns= 1; } in adns__procdgram()
339 &rrtype,&rrclass,&ttl, &rdlength,&rdstart, in adns__procdgram()
341 assert(!st); assert(rrtype != -1); in adns__procdgram()
[all …]
/dports/dns/wdns/wdns-0.10.0/t/
H A Dtest-str_to_rrtype.c110 uint16_t rrtype; in test_str_to_rrtype() local
111 rrtype = wdns_str_to_rrtype(rrtypes[n].str); in test_str_to_rrtype()
112 if (rrtype != rrtypes[n].u16) { in test_str_to_rrtype()
113 fprintf (stderr, "FAIL: %s %d != %d\n", rrtypes[n].str, rrtype, rrtypes[n].u16); in test_str_to_rrtype()
116 fprintf (stderr, "PASS: %s = %d\n", rrtypes[n].str, rrtype); in test_str_to_rrtype()
/dports/dns/dnstable-convert/dnstable-convert-0.11.0/
H A Ddnstable_convert.c155 switch (dns->rrtype) { in add_entry()
164 if ((dns->rrtype != WDNS_TYPE_CDS) && in add_entry()
166 (dns->rrtype != WDNS_TYPE_TA)) in add_entry()
194 switch(dns->rrtype) { in put_triplet()
199 if ((dns->rrtype != WDNS_TYPE_CDS) && in put_triplet()
201 (dns->rrtype != WDNS_TYPE_TA)) in put_triplet()
252 if (dns->rrtype >= 1 && dns->rrtype <= 65535) { in put_rrtype()
253 if (dns->rrtype > 255) { in put_rrtype()
380 switch (dns->rrtype) { in process_rdata_slice()
403 switch(dns->rrtype) { in process_rdata_slice()
[all …]
/dports/dns/wdns/wdns-0.10.0/wdns/
H A Drdata_to_str.c3 uint16_t rrtype, uint16_t rrclass) in wdns_rdata_to_str() argument
10 _wdns_rdata_to_ubuf(u, rdata, rdlen, rrtype, rrclass); in wdns_rdata_to_str()
18 wdns_str_to_rdata(const char * str, uint16_t rrtype, uint16_t rrclass, in wdns_str_to_rdata() argument
24 res = _wdns_str_to_rdata_ubuf(u, str, rrtype, rrclass); in wdns_str_to_rdata()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/
H A DResourceRecord.java105 int rrtype; // type field of RR field in ResourceRecord
161 return rrtype; in getType()
173 public static String getTypeName(int rrtype) { in getTypeName() argument
174 return valueToName(rrtype, rrTypeNames); in getTypeName()
254 rrtype = getUShort(pos); // TYPE in decode()
255 rrtypeName = (rrtype < rrTypeNames.length) in decode()
256 ? rrTypeNames[rrtype] in decode()
259 rrtypeName = Integer.toString(rrtype); in decode()
280 (rrtype == TYPE_SOA)) in decode()
395 switch (rrtype) { in decodeRdata()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/
H A DResourceRecord.java105 int rrtype; // type field of RR field in ResourceRecord
161 return rrtype; in getType()
173 public static String getTypeName(int rrtype) { in getTypeName() argument
174 return valueToName(rrtype, rrTypeNames); in getTypeName()
254 rrtype = getUShort(pos); // TYPE in decode()
255 rrtypeName = (rrtype < rrTypeNames.length) in decode()
256 ? rrTypeNames[rrtype] in decode()
259 rrtypeName = Integer.toString(rrtype); in decode()
280 (rrtype == TYPE_SOA)) in decode()
395 switch (rrtype) { in decodeRdata()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/jndi/dns/
H A DResourceRecord.java105 int rrtype; // type field of RR field in ResourceRecord
161 return rrtype; in getType()
173 public static String getTypeName(int rrtype) { in getTypeName() argument
174 return valueToName(rrtype, rrTypeNames); in getTypeName()
254 rrtype = getUShort(pos); // TYPE in decode()
255 rrtypeName = (rrtype < rrTypeNames.length) in decode()
256 ? rrTypeNames[rrtype] in decode()
259 rrtypeName = Integer.toString(rrtype); in decode()
280 (rrtype == TYPE_SOA)) in decode()
395 switch (rrtype) { in decodeRdata()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/
H A DResourceRecord.java105 int rrtype; // type field of RR field in ResourceRecord
161 return rrtype; in getType()
173 public static String getTypeName(int rrtype) { in getTypeName() argument
174 return valueToName(rrtype, rrTypeNames); in getTypeName()
254 rrtype = getUShort(pos); // TYPE in decode()
255 rrtypeName = (rrtype < rrTypeNames.length) in decode()
256 ? rrTypeNames[rrtype] in decode()
259 rrtypeName = Integer.toString(rrtype); in decode()
280 (rrtype == TYPE_SOA)) in decode()
395 switch (rrtype) { in decodeRdata()
[all …]

12345678910>>...29