MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions3,926 in github.com/NLnetLabs/domain

↓ 402 callersMethodunwrap
(self)
src/base/message.rs:1166
↓ 137 callersFunctionfrom_octets
()
src/base/charstr.rs:1234
↓ 124 callersFunctionfrom_str
()
src/base/charstr.rs:1245
↓ 98 callersMethodunwrap
Unwraps the chain into its two constituent components.
src/base/name/chain.rs:121
↓ 91 callersMethodlen
Returns the length of the character string. This is the length of the content only, i.e., without the extra length octet added for the wire format.
src/base/charstr.rs:340
↓ 90 callersFunctionparse
()
src/base/charstr.rs:1267
↓ 75 callersMethodas_ref
(&self)
src/rdata/aaaa.rs:171
↓ 75 callersMethodclone
(&self)
src/dnssec/sign/records.rs:798
↓ 72 callersMethodas_ref
(&self)
src/tsig/mod.rs:383
↓ 65 callersMethodwrite_str
(&mut self, x: &str)
src/base/zonefile_fmt.rs:280
↓ 61 callersMethodclone
(&self)
src/net/server/dgram.rs:162
↓ 57 callersMethoddata
Get the certificate association data field.
src/rdata/tlsa.rs:122
↓ 57 callersMethodquestion
Returns the question section.
src/base/message.rs:325
↓ 56 callersMethodlen
Returns the length of the parameter sequence in octets.
src/rdata/svcb/params.rs:348
↓ 55 callersMethodadditional
Returns the additional section. Iterates over all three previous sections to determine the start of the additional section. If you are already access
src/base/message.rs:381
↓ 55 callersMethodclone
(&self)
src/zonetree/in_memory/write.rs:234
↓ 51 callersMethodpush
Decodes one more character of data. Returns an error as soon as the encoded data is determined to be illegal. It is okay to push more data after the
src/utils/base64.rs:255
↓ 50 callersMethodclone
(&self)
src/base/message.rs:826
↓ 45 callersFunctionempty
()
src/base/name/relative.rs:1145
↓ 43 callersMethodpush
( &mut self, record: impl ComposeRecord, )
src/net/server/batcher.rs:293
↓ 43 callersFunctionroot
()
src/base/name/absolute.rs:1267
↓ 42 callersMethodappend_slice
Appends a slice to the builder. The method breaks up the slice into individual octets strings if necessary. If a previous call has started a new octe
src/rdata/rfc1035/txt.rs:750
↓ 37 callersMethodas_slice
Returns a reference to a slice of the salt.
src/rdata/nsec3.rs:878
↓ 37 callersMethodmessage
Read access to the inner message
src/net/server/message.rs:244
↓ 36 callersMethodname_cmp
Returns the ordering between `self` and `other`. This method can be used to implement both [`PartialOrd`] and [`Ord`] on types implementing [`ToName`
src/base/name/traits.rs:268
↓ 36 callersMethodunwrap
Unwrap the set of errors. Returns the set of errors as [Result::Err(T)] or [Result::Ok] if the set is empty.
src/zonetree/error.rs:201
↓ 35 callersMethodappend_slice
Appends the content of an octets slice to the end of the domain name. Starts a new label if necessary. Returns an error if pushing would exceed the s
src/base/name/builder.rs:217
↓ 32 callersMethodopt
Returns the OPT record from the message, if there is one.
src/base/message.rs:549
↓ 31 callersMethodas_ref
(&self)
src/rdata/svcb/params.rs:757
↓ 31 callersMethodclone
(&self)
src/net/client/stream.rs:272
↓ 31 callersFunctionparse
( mut parser: Parser<'_, &[u8]>, equals: ParsedName<&[u8]>, compose_len: u
src/base/name/parsed.rs:1035
↓ 31 callersMethodto_vec
(&self)
src/net/client/tsig.rs:594
↓ 30 callersMethoditer
(&self)
src/rdata/dnssec.rs:2139
↓ 30 callersMethodsend
Create a new send error.
src/net/client/dgram.rs:405
↓ 30 callersFunctiontest_compose_parse
Check that composing and parsing are reverse operations.
src/base/rdata.rs:586
↓ 30 callersFunctiontest_rdlen
Check that `rdlen` produces the correct length. The test composes `data` both regularly and cannonically and checks that the length of the composed d
src/base/rdata.rs:576
↓ 29 callersMethodinto_message
(self)
src/resolv/stub/mod.rs:478
↓ 28 callersMethodchecked_add
(self, rhs: Ttl)
src/base/record.rs:1333
↓ 28 callersMethodnext
(self)
src/zonetree/in_memory/versioned.rs:22
↓ 28 callersFunctiontest_scan_check
Checks scanning.
src/base/rdata.rs:625
↓ 27 callersMethodauthority
Returns the authority section. Iterates over both the question and the answer sections to determine the start of the authority section. If you are al
src/base/message.rs:363
↓ 27 callersMethodinsert
Insert a record in sorted order. If inserting a lot of records at once prefer [`Extend::extend()`] instead which will sort once after all insertions
src/dnssec/sign/records.rs:101
↓ 27 callersMethodlimit
Trims the given value to fit into the minimum/maximum range, inclusive.
src/utils/config.rs:32
↓ 27 callersMethodparse
( parser: &mut Parser<'a, Src>, )
src/rdata/rp.rs:96
↓ 26 callersMethodas_ref
(&self)
src/base/name/absolute.rs:746
↓ 26 callersMethodwrite_token
Push a token
src/base/zonefile_fmt.rs:298
↓ 25 callersMethodheader
(&self)
src/net/client/tsig.rs:613
↓ 25 callersMethodlen
Returns the length of the OPT record data.
src/base/opt/mod.rs:199
↓ 24 callersFunctioninit_logging
()
src/logging.rs:14
↓ 24 callersFunctionmake_ede
Helper function to create an EDNS(0) extended error option.
src/dnssec/validator/utilities.rs:366
↓ 24 callersMethodname_eq
Tests whether `self` and `other` are equal. This method can be used to implement [`PartialEq`] on types implementing [`ToName`] since a blanket imple
src/base/name/traits.rs:246
↓ 24 callersMethodnext
(&mut self)
src/net/xfr/protocol/iterator.rs:66
↓ 24 callersMethodrtype
Returns the record type.
src/base/record.rs:148
↓ 23 callersMethodas_ref
(&self)
src/rdata/rfc1035/a.rs:185
↓ 23 callersMethodowner
Return the owner name of a group.
src/dnssec/validator/group.rs:264
↓ 22 callersMethodas_ref
(&self)
src/base/name/relative.rs:602
↓ 22 callersMethodget_mut
(&mut self, class: Class)
src/zonetree/tree.rs:100
↓ 22 callersFunctionmk_a_rr
(owner: &str)
src/dnssec/sign/test_util/mod.rs:51
↓ 22 callersMethodstart_answer
Starts creating an answer for the given message. Specifically, this sets the ID, QR, OPCODE, RD, and RCODE fields in the header and attempts to push
src/base/message_builder.rs:244
↓ 21 callersMethodas_ref
(&self)
src/base/charstr.rs:458
↓ 21 callersMethodcompose
Composes the wire-format of the parameter sequence.
src/rdata/svcb/params.rs:399
↓ 21 callersMethodheader_mut
Returns a mutable reference to the header.
src/base/header.rs:866
↓ 21 callersMethodheader_mut
(&mut self)
src/net/client/tsig.rs:617
↓ 21 callersMethodset_rd
Sets the value of the [RD](Flags::rd) bit.
src/base/header.rs:238
↓ 20 callersMethodadvance
(&mut self)
src/rdata/dnssec.rs:2613
↓ 20 callersMethodas_mut
(&mut self)
src/rdata/aaaa.rs:177
↓ 20 callersMethodas_ref
(&self)
src/rdata/dnssec.rs:2185
↓ 20 callersMethodas_ref
(&self)
src/base/header.rs:904
↓ 20 callersMethodblock
Start a sequence of grouped tokens The block might be surrounded by `(` and `)` in a multiline format.
src/base/zonefile_fmt.rs:291
↓ 20 callersMethoditer
Return an iterator over the group set.
src/dnssec/validator/group.rs:860
↓ 20 callersMethoditer_labels
(&self)
src/base/name/traits.rs:90
↓ 19 callersMethodends_with
Determines whether `base` is a suffix of `self`.
src/base/name/parsed.rs:157
↓ 19 callersFunctionfrom_slice
()
src/base/charstr.rs:1223
↓ 19 callersMethodis_empty
(&self)
src/rdata/dnssec.rs:2177
↓ 19 callersMethoditer
(&self)
src/dnssec/sign/records.rs:250
↓ 19 callersFunctionmk_builder_for_target
Helper for creating a [`MessageBuilder`] for a `Target`.
src/net/server/util.rs:27
↓ 19 callersFunctionmk_soa_rr
( owner: &str, mname: &str, rname: &str, )
src/dnssec/sign/test_util/mod.rs:240
↓ 19 callersMethodrun
Synchronously perform a DNS operation atop a standard resolver. This associated functions removes almost all boiler plate for the case that you want
src/resolv/stub/mod.rs:277
↓ 19 callersFunctiontest
(zone: &str, tok: impl AsRef<[u8]>)
src/zonefile/inplace.rs:1760
↓ 19 callersMethodto_name
Returns a domain name for this value.
src/tsig/mod.rs:1701
↓ 18 callersMethodanswer
Validates an answer. Takes a message and checks whether it is a correctly signed answer for this transaction. First, if the last record in the messa
src/tsig/mod.rs:583
↓ 18 callersMethodanswer
A helper wrapper around [`ClientTransaction::answer`] and [`ClientSequence::answer`] that allows the appropriate method to be invoked without needing
src/net/client/tsig.rs:100
↓ 18 callersFunctionfmt
(s: &[u8])
src/utils/base64.rs:591
↓ 18 callersMethodfreeze
Converts the builder into an imutable ALPN value.
src/rdata/svcb/value.rs:889
↓ 18 callersMethodpush_data
Adds a resource record to the RRset. # Panics This function will panic if the provided record data is for a different type than the RRset.
src/zonetree/types.rs:163
↓ 18 callersFunctionvalidate_generic_representation
( test_value: T, display_repr: &str, debug_repr: &str, fromstr_list: &[&str],
src/base/iana/mod.rs:103
↓ 17 callersMethodas_ref
(&self)
src/zonetree/zone.rs:94
↓ 17 callersMethodas_ref
(&self)
src/base/opt/mod.rs:721
↓ 17 callersMethodclone
(&self)
src/base/name/chain.rs:256
↓ 17 callersMethodelapsed
Return how much time has elapsed since the current timestamp.
src/dnssec/sign/keys/keyset.rs:1386
↓ 17 callersMethodextend_from_slice
Appends the given slice to the end of the buffer.
src/zonefile/inplace.rs:172
↓ 17 callersMethodfinish
Finishes the builder and returns TXT record data. If the builder is empty, appends an empty character string before returning. If that fails because
src/rdata/rfc1035/txt.rs:827
↓ 17 callersMethodfirst
(&self)
src/dnssec/sign/records.rs:530
↓ 17 callersMethodinto_data
Trades the record for its record data.
src/base/record.rs:186
↓ 17 callersMethodnext_section
Proceeds to the answer section. This is identical to [`answer`][Self::answer] and is here for consistency.
src/base/message.rs:818
↓ 17 callersMethodok
Checks whether there was an error converting symbols.
src/base/scan.rs:799
↓ 17 callersMethodowner_rrs
(&self)
src/dnssec/sign/records.rs:192
↓ 16 callersMethodheader_counts
Returns the header counts of the message.
src/base/message.rs:301
↓ 16 callersMethodlen
(&self)
src/base/name/label.rs:317
↓ 16 callersMethodload
( read: &mut impl std::io::Read, )
src/zonefile/inplace.rs:129
next →1–100 of 3,926, ranked by callers