MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions4,465 in github.com/NLnetLabs/domain

↓ 7 callersMethodheader_mut
Returns a mutable reference to the message header for manipulations.
src/base/message_builder.rs:360
↓ 7 callersFunctioninner
(input: syn::DeriveInput)
macros/src/lib.rs:23
↓ 7 callersMethodinsert
Inserts the given query. Upon success, returns the index and a mutable reference to the stored query. Upon error, which means the set is full, retur
src/net/client/stream.rs:1339
↓ 7 callersMethodis_empty
Whether the iterator is empty.
src/new/base/name/label.rs:1431
↓ 7 callersMethodkeytype
Return the key type (which includes the state of the key).
src/dnssec/sign/keys/keyset.rs:1179
↓ 7 callersFunctionmk_dnssec_signing_key
(make_ksk: bool)
src/dnssec/sign/signatures/rrsigs.rs:1160
↓ 7 callersMethodnext_back
(&mut self)
src/base/name/chain.rs:278
↓ 7 callersMethodopcode
The OPCODE field.
src/new/base/message.rs:295
↓ 7 callersMethodpos
(&self)
src/base/message.rs:792
↓ 7 callersMethodpush_raw
( &mut self, key: SvcParamKey, value_len: u16, value: impl FnOnce(&mut Octs) -
src/rdata/svcb/params.rs:948
↓ 7 callersFunctionreport_actions
(actions: Result<Vec<Action>, Error>, ks: &KeySet)
examples/keyset.rs:454
↓ 7 callersMethodsend
Send a response.
src/net/client/stream.rs:429
↓ 7 callersMethodset_dnssec_ok
(&mut self, value: bool)
src/net/client/tsig.rs:625
↓ 7 callersMethodset_flag
Set the specified flag bit.
src/new/base/message.rs:273
↓ 7 callersMethodset_qr
Sets the value of the [QR](Flags::qr) bit.
src/base/header.rs:159
↓ 7 callersMethodsplit_to
Splits off the beginning of the buffer up to the given index. # Panics The method panics if `at` is greater than `self.start`.
src/zonefile/inplace.rs:1515
↓ 7 callersFunctionsplit_without_compression
Parse a value from the start of a byte sequence within a DNS message, without name compression. This can be used to parse types that do not contain c
src/new/base/parse/mod.rs:362
↓ 7 callersMethodstarts_with
Determines whether `base` is a prefix of `self`.
src/base/name/parsed.rs:152
↓ 7 callersFunctionstr_to_rolltype
(rolltype: &str)
examples/keyset.rs:447
↓ 7 callersMethodto_message
Generate a DNS response [`Message`] for this answer. The response [Rcode], question, answer and authority sections of the produced [`AdditionalBuilde
src/zonetree/answer.rs:136
↓ 7 callersMethodudp_payload_size
Returns the UDP payload size.
src/net/client/dgram.rs:148
↓ 7 callersMethodupdate_special
Updates the special.
src/zonetree/in_memory/nodes.rs:208
↓ 6 callersMethodadd
(self, d: Duration)
src/dnssec/sign/keys/keyset.rs:1420
↓ 6 callersMethodadd
(self, other: u32)
src/base/serial.rs:88
↓ 6 callersMethodappend_compressed_name
( &mut self, name: &N, )
src/base/wire.rs:53
↓ 6 callersMethodappend_origin
Appends an origin and returns the resulting [`Name`]. If there currently is a label under construction, ends the label. Then adds the `origin` and tr
src/base/name/builder.rs:447
↓ 6 callersMethodas_ref
(&self)
src/base/opt/cookie.rs:369
↓ 6 callersMethodas_ref
(&self)
src/base/opt/padding.rs:115
↓ 6 callersMethodas_slice
Read-only slice based access to the zone to be signed. Allows the zone, whether mutable or immutable, to be accessed via an immutable reference.
src/dnssec/sign/mod.rs:258
↓ 6 callersMethodas_slice
Returns a slice of the server identifier.
src/base/opt/nsid.rs:132
↓ 6 callersMethodas_slice
Returns a slice of the underlying octets. The slice will contain the key tag value in its wire format: a sequence of `u16` in network byte order.
src/base/opt/keytag.rs:133
↓ 6 callersMethodbytes
The wire format of the record data.
src/new/rdata/mod.rs:540
↓ 6 callersFunctioncopy_to_bump
using a memory allocator
src/utils/dst.rs:441
↓ 6 callersMethodcounts
(&self)
src/base/header.rs:872
↓ 6 callersFunctiondeserialize
( deserializer: D, )
src/utils/base64.rs:143
↓ 6 callersMethoddnssec_ok
(&self)
src/net/client/tsig.rs:640
↓ 6 callersMethodextend
(&mut self, iter: T)
src/dnssec/sign/records.rs:369
↓ 6 callersMethodfinalize
Finalizes decoding and returns the decoded data.
src/utils/base64.rs:235
↓ 6 callersMethodfind_zone
Gets the closest matching [`Zone`] for the given QNAME and CLASS, if any.
src/zonetree/tree.rs:56
↓ 6 callersMethodfinish
Converts the builder into an imutable character string.
src/base/charstr.rs:798
↓ 6 callersFunctionfrom_str
()
src/base/name/relative.rs:1242
↓ 6 callersMethodinto_char
Converts the symbol into a `char`. This will fail for a decimal escape sequence which doesn’t actually represent a character.
src/base/scan.rs:685
↓ 6 callersMethodinto_inner
( self, )
src/net/server/service.rs:368
↓ 6 callersMethodinto_int
(self)
src/rdata/dnssec.rs:684
↓ 6 callersMethodinto_iter
(self)
src/rdata/dnssec.rs:2254
↓ 6 callersMethodis_empty
Whether this 'struct' has no fields.
macros/src/data.rs:30
↓ 6 callersMethodis_empty
Returns whether the name is empty.
src/base/name/relative.rs:367
↓ 6 callersMethoditer
Returns an iterator over the algorithms in the data.
src/base/opt/algsig.rs:213
↓ 6 callersMethoditer_suffixes
Returns an iterator over the suffixes of the name. The returned iterator starts with the full name and then for each additional step returns a name w
src/base/name/parsed.rs:128
↓ 6 callersMethodlabel_count
Returns the number of labels in the domain name.
src/base/name/parsed.rs:133
↓ 6 callersMethodlines
(&self)
src/stelline/parse_stelline.rs:90
↓ 6 callersFunctionload_zone
(bytes: &[u8])
src/net/server/middleware/xfr/tests.rs:590
↓ 6 callersFunctionmk_nsec3_rr
( apex_owner: &str, owner: &str, next_owner: &str, types: &str, cfg: &GenerateNsec3Config<
src/dnssec/sign/test_util/mod.rs:122
↓ 6 callersMethodowner
(&self)
src/dnssec/sign/records.rs:391
↓ 6 callersMethodowner
The owner name attached to the key.
src/dnssec/sign/keys/signingkey.rs:54
↓ 6 callersMethodpush_raw_option
Appends a raw option to the OPT data. The method will append an option with the given option code. The data of the option will be written via the clo
src/base/opt/mod.rs:247
↓ 6 callersMethodqr
The QR bit.
src/new/base/message.rs:285
↓ 6 callersMethodrcode
The DNS RCODE to send back to the client for this error.
src/net/server/service.rs:233
↓ 6 callersMethodrecv
Asynchronous receive function.
src/net/client/protocol.rs:209
↓ 6 callersFunctionremove_comment
Remove a comment from the line if present
src/stelline/parse_stelline.rs:686
↓ 6 callersMethodrewind
Rewinds to an empty question section. All previously added questions will be lost.
src/base/message_builder.rs:628
↓ 6 callersMethodroll_actions_fn
(&self)
src/dnssec/sign/keys/keyset.rs:1600
↓ 6 callersMethodrollfn
(&self)
src/dnssec/sign/keys/keyset.rs:1590
↓ 6 callersMethodrun
(self)
src/net/server/middleware/xfr/axfr.rs:40
↓ 6 callersFunctionservice_fn
Helper to simplify making a [`Service`] impl. The [`Service`] trait supports a lot of flexibility in its signature and those of its associated types,
src/net/server/util.rs:100
↓ 6 callersMethodset_default_class
Set a default class to use. RFC 1035 does not define a default class for zone file records to use, it only states that the class field for a record i
src/zonefile/inplace.rs:212
↓ 6 callersMethodset_opcode
Sets the value of the opcode field.
src/base/header.rs:175
↓ 6 callersMethodset_origin
Sets the origin of the zone. If parsing a zone file one might call this method on encoutering an `$ORIGIN` directive.
src/zonetree/parsed.rs:82
↓ 6 callersMethodset_version
Sets the EDNS version of the OPT header.
src/base/opt/mod.rs:497
↓ 6 callersFunctionstar_closest_encloser
Prepend the wildcard label to a closest encloser.
src/dnssec/validator/utilities.rs:358
↓ 6 callersMethodstate
Return the DNSSEC validation state of the group.
src/dnssec/validator/group.rs:957
↓ 6 callersFunctionsvcb_zonefile_parse_only
A helper function that takes a single resource record in zonefile format as input for the Zonefile parser (because only the inplace::Zonefile parser h
src/rdata/svcb/rdata.rs:711
↓ 6 callersMethodtrim_to
Splits off the beginning of the buffer but doesn’t return it. # Panics The method panics if `at` is greater than `self.start`.
src/zonefile/inplace.rs:1529
↓ 6 callersMethodtruncate
(&mut self, len: usize)
src/base/message_builder.rs:1943
↓ 6 callersMethodtypes
(&self)
src/rdata/nsec3.rs:109
↓ 6 callersMethodversion
The version number of this interoperable cookie. Assuming this is an interoperable cookie, as specified by [RFC 9018], the 1-byte version number of t
src/new/edns/cookie.rs:176
↓ 6 callersMethodwithout_assuming_dnskeys_will_be_added
(mut self)
src/dnssec/sign/denial/nsec.rs:30
↓ 6 callersMethodwrite
( self: Arc<Self>, )
src/zonetree/in_memory/nodes.rs:132
↓ 5 callersMethodad
Return whether AD is set or should be considered set.
src/net/client/cache.rs:847
↓ 5 callersMethodadd
Record in the diff that a resource record was added.
src/zonetree/types.rs:284
↓ 5 callersFunctionadd_authority_record
( authority: &mut AuthorityBuilder<BytesMut>, item: T, )
src/net/xfr/protocol/tests.rs:598
↓ 5 callersMethodanswer
Returns a reference to one of the answers.
src/resolv/lookup/host.rs:102
↓ 5 callersMethodappend
Appends a decoded octet to the target.
src/utils/base32.rs:351
↓ 5 callersMethodapply
Apply the given [`ZoneUpdate`] to the [`Zone`] being updated. Returns `Ok` on success, `Err` otherwise. On success, if changes were committed then an
src/zonetree/update.rs:278
↓ 5 callersMethodapply_signature
Applies a signature to the signing context. The `data` argument must be the actual signature that has already been truncated if that is required. Ap
src/tsig/mod.rs:1341
↓ 5 callersMethodas_mut
(&mut self)
src/new/base/charstr.rs:409
↓ 5 callersMethodas_mut
(&mut self)
src/base/header.rs:910
↓ 5 callersMethodas_octets
(&self)
src/rdata/dnssec.rs:2116
↓ 5 callersMethodas_ref
(&self)
src/crypto/ring.rs:131
↓ 5 callersMethodas_ref
(&self)
src/base/message.rs:686
↓ 5 callersMethodas_slice
Returns a reference to a slice of the character string’s data.
src/base/charstr.rs:260
↓ 5 callersMethodassert_eq
( &self, num_rrs_in_last_batch: u64, num_total_rrs: u64, num_b
src/net/server/batcher.rs:426
↓ 5 callersFunctionassert_stream_eq
( req: &Message<O>, mut stream: S, expected_records: &mut ExpectedRecords, )
src/net/server/middleware/xfr/tests.rs:723
↓ 5 callersMethodauthority
Converts the message builder into an authority builder. This will leave the question and answer sections empty.
src/base/message_builder.rs:397
↓ 5 callersMethodcallback_state
Returns the callback specific state. This convenience method returns a reference to the callback specific state that was supplied when the instance w
src/net/server/batcher.rs:204
↓ 5 callersMethodcan_compress
(&self)
src/base/wire.rs:60
↓ 5 callersMethodcanonical_cmp
(&self, other: &Rp<NN>)
src/rdata/rp.rs:174
↓ 5 callersMethodcheck_index
Like `is_label_start` but panics if it isn’t.
src/base/name/absolute.rs:477
↓ 5 callersMethodchildren
Returns the children.
src/zonetree/in_memory/nodes.rs:93
↓ 5 callersMethodclient_addr
From which IP address and port number was this message received?
src/net/server/message.rs:239
← previousnext →301–400 of 4,465, ranked by callers