MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions4,465 in github.com/NLnetLabs/domain

↓ 2 callersMethodset_response_timeout
Sets the response timeout. For requests where ComposeRequest::is_streaming() returns true see set_streaming_response_timeout() instead. Excessive va
src/net/client/stream.rs:113
↓ 2 callersMethodset_status
(&mut self, status: InvokerStatus)
src/net/server/dgram.rs:761
↓ 2 callersMethodset_ttl
Sets the record’s time-to-live.
src/base/record.rs:171
↓ 2 callersMethodsign
Sign some data.
src/crypto/openssl.rs:649
↓ 2 callersFunctionsign_sorted_rrset_in
Generate `RRSIG` records for a given RRset. This function generates an `RRSIG` record for the given RRset based on the given signing key, according t
src/dnssec/sign/signatures/rrsigs.rs:273
↓ 2 callersMethodsigned_subsequent
Signs a subsequent message. Resets the context.
src/tsig/mod.rs:1439
↓ 2 callersFunctionsplit
()
src/base/name/relative.rs:1553
↓ 2 callersMethodsplit
Splits the name into two at the given position. Returns a pair of the left and right part of the split name. # Panics The method will panic if `mid
src/base/name/absolute.rs:627
↓ 2 callersMethodsplit_first
Splits off the first label. If there is at least one label in the name, returns the first label as a relative domain name with exactly one label and
src/base/name/relative.rs:553
↓ 2 callersMethodsplit_first
Splits off the first label. If this name is longer than just the root label, returns a pair of that label and the remaining name. If the name is only
src/base/name/absolute.rs:666
↓ 2 callersFunctionsplit_rtype
Splits an Rtype value into window number, octet number, and octet mask.
src/rdata/dnssec.rs:2695
↓ 2 callersMethodstale
Return whether this key is no long in use.
src/dnssec/sign/keys/keyset.rs:1279
↓ 2 callersMethodstart_roll
Start a key roll. The parameters are the type of key roll, a list of old keys that need to be rolled out and a list of new keys that on their way in.
src/dnssec/sign/keys/keyset.rs:465
↓ 2 callersFunctionstep
(name: ParsedName<&[u8]>, result: &[u8])
src/base/name/parsed.rs:1152
↓ 2 callersMethodsum
(iter: I)
src/base/record.rs:1641
↓ 2 callersFunctionsupported_nsec3_hash
Return if the NSEC3 hash algorithm is supported by the nsec3_hash function.
src/dnssec/validator/nsec.rs:969
↓ 2 callersMethodtimeout
Create a new timeout error.
src/net/client/dgram.rs:418
↓ 2 callersMethodtimestamp
(self)
src/base/opt/cookie.rs:607
↓ 2 callersMethodto_cow
(&self)
src/base/name/traits.rs:219
↓ 2 callersMethodto_mnemonic_str
(self)
src/base/iana/rcode.rs:207
↓ 2 callersMethodto_name
Converts the name into a single, uncompressed name. This is the same as [`try_to_name`][ToName::try_to_name] but for builder types with an unrestrict
src/base/name/traits.rs:134
↓ 2 callersMethodto_parts
(self)
src/base/iana/rcode.rs:549
↓ 2 callersMethodto_relative_name
Converts the name into a single, continous name. This is the same as [`try_to_relative_name`][ToRelativeName::try_to_relative_name] but for builder t
src/base/name/traits.rs:423
↓ 2 callersMethodto_vec
(&self)
src/base/name/traits.rs:229
↓ 2 callersMethodtruncate
Truncates the name before `len`. Because truncating converts the name into a relative name, the method consumes self. # Panics The method will pani
src/base/name/absolute.rs:652
↓ 2 callersMethodunsized_member
The name of the last field of this 'struct'.
macros/src/data.rs:68
↓ 2 callersMethodupdate_child
Get a write interface to a child node of the tree. Use this to modify child nodes in the tree.
src/zonetree/update.rs:599
↓ 2 callersFunctionupdate_message
Update a Message in a Value by creating a new Value with a new Message if the Message needs to be changed. Return the original Value if no change is
src/net/client/cache.rs:1258
↓ 2 callersMethoduses_lowercase_canonical_form
Whether this type uses lowercased domain names in canonical form. As specified by [RFC 4034, section 6.2] (and updated by [RFC 6840, section 5.1]), t
src/new/base/record.rs:395
↓ 2 callersFunctionvalidity
Compute how long a response can be cached.
src/net/client/cache.rs:937
↓ 2 callersMethodverify_signed_data
( &self, dnskey: &Dnskey<impl AsRef<[u8]>>, signed_data: &impl AsRef<[u8]>, )
src/dnssec/validator/base.rs:297
↓ 2 callersMethodversions
(&self)
src/zonetree/in_memory/nodes.rs:107
↓ 2 callersMethodwalk
(&self, op: WalkOp)
src/zonetree/in_memory/read.rs:308
↓ 2 callersMethodwith
(chars: Chars, op: F)
src/base/scan.rs:797
↓ 2 callersMethodwith_denied_ips
( mut self, ip_deny_list: T, )
src/net/server/middleware/cookies.rs:106
↓ 2 callersMethodwith_feedback
(mut self, feedback: ServiceFeedback)
src/net/server/service.rs:339
↓ 2 callersMethodwith_opt_out
(mut self)
src/dnssec/sign/denial/nsec3.rs:93
↓ 1 callersMethod_scan_entry
Scans a single entry from the zone file. This is identical to `scan_entry` but with a more convenient error type.
src/zonefile/inplace.rs:335
↓ 1 callersMethodaccept
Wait for and accept a single stream connection. TODO: This may be obsoleted when Rust gains more support for async fns in traits.
src/net/server/stream.rs:686
↓ 1 callersMethodactions
Return the actions that need to be performed for the current roll state.
src/dnssec/sign/keys/keyset.rs:588
↓ 1 callersMethodactual_xfr_type
(&self)
src/net/xfr/protocol/interpreter.rs:443
↓ 1 callersMethodad
The AD bit.
src/new/base/message.rs:348
↓ 1 callersMethodadd_cname
Adds a CNAME to the answer section.
src/zonetree/answer.rs:93
↓ 1 callersMethodadd_diff
(&self, diff: InMemoryZoneDiff)
examples/serve-zone.rs:346
↓ 1 callersMethodadd_extra
Add extra records that are associated with a group. The main use at the moment is to store the courtesy CNAME that comes with a DNAME. We need to kee
src/dnssec/validator/group.rs:225
↓ 1 callersFunctionadd_list_to_section
Add a list of `ValidatedGroup` objects to a section of a new DNS message.
src/dnssec/validator/utilities.rs:430
↓ 1 callersFunctionadd_opt
Return a new message that adds an `ExtendedError` option to an existing message.
src/net/client/validator.rs:598
↓ 1 callersMethodadd_record_to_rrset
Add a resource record to a new or existing RRset.
src/zonetree/update.rs:456
↓ 1 callersFunctionadd_rr_to_section
Add a record to a section of a new DNS message. If needed, adjust the TTL.
src/dnssec/validator/utilities.rs:452
↓ 1 callersMethodadd_soa_add_diff_entry
( &mut self, new_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:177
↓ 1 callersMethodadd_soa_remove_diff_entry
( &mut self, old_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:147
↓ 1 callersMethodadd_u8
Add trust anchors from a byte string to an existing set of trust anchors. The trust anchors are `DS` or `DNSKEY` records in zonefile format.
src/dnssec/validator/anchor.rs:141
↓ 1 callersMethodadded
(&self)
src/zonetree/types.rs:438
↓ 1 callersMethodadditional_builder_stream_target
( &self, )
src/net/server/single_service.rs:122
↓ 1 callersMethodalgorithm
(&self)
src/crypto/ring.rs:511
↓ 1 callersMethodanswer_first
Checks the first answer in the sequence.
src/tsig/mod.rs:859
↓ 1 callersMethodanswer_subsequent
Checks any subsequent answer in the sequence.
src/tsig/mod.rs:895
↓ 1 callersMethodanswer_with_fudge
Produces a signed answer with a given fudge. This method is similar to [`answer`] but lets you explicitly state the `fudge`, i.e., the number of seco
src/tsig/mod.rs:701
↓ 1 callersMethodappend
Appends a decoded octet to the target.
src/utils/base16.rs:244
↓ 1 callersMethodappend_charstr
Appends a complete character string. If a character string had previously been started by a call to [`append_slice`][Self::append_slice], this string
src/rdata/rfc1035/txt.rs:790
↓ 1 callersMethodappend_dec_u8_label
Appends a label with the decimal representation of `u8`. If there currently is a label under construction, it will be ended before appending `label`.
src/base/name/builder.rs:276
↓ 1 callersMethodappend_hex_digit_label
Appends a label with the hex digit. If there currently is a label under construction, it will be ended before appending `label`. Returns an error if
src/base/name/builder.rs:301
↓ 1 callersFunctionappend_origin
(base32hex_label: String, apex_owner: &N)
src/dnssec/sign/denial/nsec3.rs:726
↓ 1 callersMethodappend_u8
Appends a single octet. This method calls [`append_slice`][Self::append_slice], so all the caveats described there apply.
src/rdata/rfc1035/txt.rs:775
↓ 1 callersFunctionapply_bit_mask
Only keeps the left-most `mask` bits and zeros out the rest. Returns whether the buffer has been modified.
src/base/opt/subnet.rs:309
↓ 1 callersFunctionarc_into_inner
(this: Arc<Mutex<T>>)
src/zonetree/in_memory/write.rs:352
↓ 1 callersMethodas_array
Represent these counts as an array.
src/new/base/message.rs:467
↓ 1 callersMethodas_bytes_mut
Represent this as a mutable byte sequence. Given `&mut self`, it is already possible to individually modify the message header and contents; since ne
src/new/base/message.rs:37
↓ 1 callersMethodas_days
(&self)
src/base/record.rs:1210
↓ 1 callersMethodas_flat_slice
(&self)
src/base/name/parsed.rs:473
↓ 1 callersMethodas_hours
(&self)
src/base/record.rs:1194
↓ 1 callersMethodas_label
(&self)
src/new/base/name/label.rs:947
↓ 1 callersMethodas_minutes
(&self)
src/base/record.rs:1178
↓ 1 callersMethodas_mut
(&mut self)
src/base/opt/cookie.rs:375
↓ 1 callersMethodas_mut
(&mut self)
src/base/opt/mod.rs:1010
↓ 1 callersMethodas_mut
(&mut self)
src/base/opt/keytag.rs:183
↓ 1 callersMethodas_mut_label
(&mut self)
src/new/base/name/label.rs:962
↓ 1 callersMethodas_octets
Returns a reference to the underlying octets sequence.
src/rdata/svcb/params.rs:331
↓ 1 callersMethodas_octets
Returns a reference to the underlying octets sequence.
src/base/name/uncertain.rs:263
↓ 1 callersMethodas_out_slice
Read-only slice based access to the record collection being written to.
src/dnssec/sign/mod.rs:268
↓ 1 callersMethodas_ref
(&self)
src/crypto/common.rs:148
↓ 1 callersMethodas_ref
(&self)
src/zonetree/types.rs:221
↓ 1 callersMethodas_ref
(&self)
src/base/record.rs:257
↓ 1 callersMethodas_ref
(&self)
src/base/name/uncertain.rs:332
↓ 1 callersMethodas_ref
(&self)
src/resolv/stub/conf.rs:652
↓ 1 callersMethodas_slice
(&self)
src/rdata/dnssec.rs:2128
↓ 1 callersMethodas_slice
(&self)
src/base/header.rs:113
↓ 1 callersMethodas_slice
Returns a reference to an octets slice with the content of the name.
src/base/name/relative.rs:280
↓ 1 callersMethodas_slice
(&self)
src/resolv/stub/conf.rs:628
↓ 1 callersMethodas_slice_mut
Returns a mutable slice of the value.
src/rdata/svcb/params.rs:746
↓ 1 callersMethodas_slice_mut
Returns a reference to the octets slice of the content.
src/base/message_builder.rs:2024
↓ 1 callersMethodas_slice_mut
Returns a mutable reference to the octets slice of the header counts.
src/base/header.rs:556
↓ 1 callersMethodas_slice_mut
Returns a mutable slice to the underlying octets sequence. Because it is possible to utterly break the message using this slice, the method is privat
src/base/message.rs:260
↓ 1 callersMethodas_slice_mut
Returns a mutable reference to the underlying octets slice.
src/base/name/label.rs:219
↓ 1 callersMethodas_target_mut
Returns a mutable reference to the underlying octets builder. Since one could entirely mess up the message with this reference, the method is private
src/base/message_builder.rs:436
↓ 1 callersMethodas_wire_slice
(&self)
src/base/name/label.rs:525
↓ 1 callersFunctionassert_to_name
(_: &T)
src/base/name/chain.rs:391
↓ 1 callersFunctionassert_to_relative_name
(_: &T)
src/base/name/chain.rs:392
↓ 1 callersFunctionasync_test_cache
(filename: &str)
tests/net-client-cache.rs:25
↓ 1 callersFunctionasync_test_no_cache
(filename: &str)
tests/net-client-cache.rs:42
← previousnext →1,001–1,100 of 4,465, ranked by callers