MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions4,465 in github.com/NLnetLabs/domain

↓ 409 callersMethodunwrap
(self)
src/base/message.rs:1160
↓ 130 callersFunctionfrom_octets
()
src/base/charstr.rs:1234
↓ 120 callersFunctionfrom_str
()
src/base/charstr.rs:1245
↓ 98 callersMethodunwrap
Unwraps the chain into its two constituent components.
src/base/name/chain.rs:121
↓ 88 callersFunctionparse
()
src/base/charstr.rs:1267
↓ 82 callersMethodwrite_str
(&mut self, x: &str)
src/base/zonefile_fmt.rs:280
↓ 74 callersMethodclone
(&self)
src/dnssec/sign/records.rs:761
↓ 73 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
↓ 70 callersMethodas_bytes
A byte representation of the [`RevName`]. Note that labels appear in reverse order to the _conventional_ format (it thus starts with the root label).
src/new/base/name/reversed.rs:102
↓ 67 callersMethodas_ref
(&self)
src/rdata/aaaa.rs:171
↓ 62 callersMethodas_ref
(&self)
src/tsig/mod.rs:392
↓ 61 callersMethodclone
(&self)
src/net/server/dgram.rs:162
↓ 58 callersMethodlen
The length of the [`CharStr`]. This is always less than 256 -- it is guaranteed to fit in a [`u8`].
src/new/base/charstr.rs:67
↓ 56 callersMethoddata
Get the certificate association data field.
src/rdata/tlsa.rs:86
↓ 54 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
↓ 54 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
↓ 54 callersMethodquestion
Returns the question section.
src/base/message.rs:325
↓ 53 callersFunctionempty
()
src/base/name/relative.rs:1145
↓ 47 callersMethodlen
Returns the length of the parameter sequence in octets.
src/rdata/svcb/params.rs:348
↓ 46 callersMethodremaining
The serialized options yet to be parsed.
src/new/rdata/edns.rs:349
↓ 44 callersMethodclone
(&self)
src/new/edns/mod.rs:559
↓ 44 callersMethodclone
(&self)
src/zonetree/in_memory/write.rs:226
↓ 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:743
↓ 42 callersMethodas_slice
Returns a reference to a slice of the salt.
src/rdata/nsec3.rs:872
↓ 38 callersMethodget_mut
(&mut self, class: Class)
src/zonetree/tree.rs:100
↓ 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
↓ 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
↓ 34 callersMethodlen
(&self)
src/new/base/name/reversed.rs:89
↓ 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:1028
↓ 31 callersMethodto_vec
(&self)
src/net/client/tsig.rs:594
↓ 31 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:191
↓ 30 callersMethodsend
Create a new send error.
src/net/client/dgram.rs:405
↓ 29 callersMethodfinish
(&mut self)
src/net/xfr/protocol/interpreter.rs:275
↓ 29 callersMethodinto_message
(self)
src/resolv/stub/mod.rs:478
↓ 29 callersFunctiontest_compose_parse
Check that composing and parsing are reverse operations.
src/base/rdata.rs:576
↓ 29 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:566
↓ 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 callersMethodchecked_add
(self, rhs: Ttl)
src/base/record.rs:1333
↓ 27 callersMethodget
(&self)
src/new/base/serial.rs:52
↓ 27 callersFunctiontest_scan
Checks scanning.
src/base/rdata.rs:595
↓ 26 callersMethodas_ref
(&self)
src/base/name/absolute.rs:746
↓ 26 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:97
↓ 26 callersMethodlimit
Trims the given value to fit into the minimum/maximum range, inclusive.
src/utils/config.rs:32
↓ 26 callersMethodnext
(self)
src/zonetree/in_memory/versioned.rs:22
↓ 26 callersMethodwrite_token
Push a token
src/base/zonefile_fmt.rs:298
↓ 25 callersMethodheader
(&self)
src/net/client/tsig.rs:613
↓ 25 callersMethoditer
Iterate over the [`CharStr`]s in this record.
src/new/rdata/basic/txt.rs:133
↓ 25 callersMethodlen
Returns the length of the OPT record data.
src/base/opt/mod.rs:199
↓ 24 callersMethoditer
(&self)
src/rdata/dnssec.rs:2132
↓ 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
↓ 23 callersFunctioninit_logging
()
src/logging.rs:14
↓ 23 callersMethodowner
Return the owner name of a group.
src/dnssec/validator/group.rs:263
↓ 23 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
↓ 22 callersMethodas_ref
(&self)
src/rdata/rfc1035/a.rs:185
↓ 22 callersMethodas_ref
(&self)
src/base/name/relative.rs:602
↓ 22 callersFunctionmake_ede
Helper function to create an EDNS(0) extended error option.
src/dnssec/validator/utilities.rs:366
↓ 22 callersFunctionmk_a_rr
(owner: &str)
src/dnssec/sign/test_util/mod.rs:51
↓ 21 callersMethodas_ref
(&self)
src/zonetree/zone.rs:94
↓ 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
(&mut self)
src/net/client/tsig.rs:617
↓ 21 callersMethodparse
Parse the questions and records in this message. This returns a fallible iterator of [`MessageItem`]s.
src/new/base/message.rs:56
↓ 20 callersMethodadvance
(&mut self)
src/rdata/dnssec.rs:2606
↓ 20 callersMethodas_ref
(&self)
src/rdata/dnssec.rs:2178
↓ 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 callersMethodcmp
Determine the order between two labels. Labels are compared ASCII-case-insensitively by their contents, as is conventional for DNS. Labels are equal
src/new/base/name/label.rs:509
↓ 20 callersFunctionfrom_slice
()
src/base/charstr.rs:1223
↓ 20 callersMethodheader_mut
Returns a mutable reference to the header.
src/base/header.rs:866
↓ 20 callersMethoditer_labels
(&self)
src/base/name/traits.rs:90
↓ 20 callersMethodunsized_copy_into
(&self)
src/utils/dst.rs:70
↓ 19 callersMethodends_with
Determines whether `base` is a suffix of `self`.
src/base/name/parsed.rs:157
↓ 19 callersFunctionfmt
(s: &[u8])
src/utils/base64.rs:591
↓ 19 callersMethoditer
Return an iterator over the group set.
src/dnssec/validator/group.rs:850
↓ 19 callersMethoditer
(&self)
src/dnssec/sign/records.rs:246
↓ 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:1753
↓ 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:592
↓ 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 callersMethodfreeze
Converts the builder into an imutable ALPN value.
src/rdata/svcb/value.rs:889
↓ 18 callersMethodget
Access the [`RecordData`] within.
src/new/rdata/mod.rs:554
↓ 18 callersMethodok
Checks whether there was an error converting symbols.
src/base/scan.rs:793
↓ 18 callersMethodsplit_at
(&self, i: usize)
src/dnssec/sign/records.rs:735
↓ 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/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 callersMethodfirst
(&self)
src/dnssec/sign/records.rs:500
↓ 17 callersMethodnext_section
Proceeds to the answer section. This is identical to [`answer`][Self::answer] and is here for consistency.
src/base/message.rs:812
↓ 17 callersMethodowner_rrs
(&self)
src/dnssec/sign/records.rs:188
↓ 17 callersMethodparse
( parser: &mut Parser<'a, Src>, )
src/rdata/rp.rs:96
next →1–100 of 4,465, ranked by callers