Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/domain
/ functions
Functions
3,926 in github.com/NLnetLabs/domain
⨍
Functions
3,926
◇
Types & classes
732
↓ 2 callers
Method
as_slice_mut
Returns a mutable slice of the underlying octets. The slice will contain the key tag value in its wire format: a sequence of `u16` in network byte or
src/base/opt/keytag.rs:144
↓ 2 callers
Method
as_str
(self)
src/rdata/rfc1035/txt.rs:862
↓ 2 callers
Method
as_str
(self)
src/base/rdata.rs:511
↓ 2 callers
Method
as_str
(self)
src/base/opt/mod.rs:1081
↓ 2 callers
Function
assert_opt
( reply: AdditionalBuilder<StreamTarget<Target>>, expected_rcode: Rcode, expected_opt_
src/net/server/util.rs:494
↓ 2 callers
Function
assert_to_name
(_: &T)
src/base/name/absolute.rs:1242
↓ 2 callers
Function
assert_to_relative_name
(_: &T)
src/base/name/relative.rs:1116
↓ 2 callers
Method
authority
Gets the authority section content for this answer.
src/zonetree/answer.rs:279
↓ 2 callers
Method
borrow
(&self)
src/base/opt/nsid.rs:171
↓ 2 callers
Method
build
( req_msg: Arc<Message<RequestOctets>>, sender: UnboundedSender<ServiceResult<Target>>,
src/net/server/middleware/xfr/batcher.rs:67
↓ 2 callers
Method
build_message
( self, msg: &Message<Octs>, builder: MessageBuilder<Target>, )
src/tsig/mod.rs:1812
↓ 2 callers
Method
cache_expired1
A report that any cached values should have expired by now. This method should be called at least ttl seconds after the call to propagation1_complete
src/dnssec/sign/keys/keyset.rs:509
↓ 2 callers
Method
cache_expired2
A report that any cached values should have expired by now. This method should be called at least ttl seconds after the call to propagation2_complete
src/dnssec/sign/keys/keyset.rs:554
↓ 2 callers
Method
cache_lookup
Try to look up a name in the cache.
src/dnssec/validator/context.rs:1389
↓ 2 callers
Method
calculate_hash
( self, client_cookie: ClientCookie, client_ip: crate::base::net::IpAddr, secr
src/base/opt/cookie.rs:646
↓ 2 callers
Method
canonical_cmp
(&self, other: &Dnskey<Other>)
src/rdata/dnssec.rs:331
↓ 2 callers
Method
canonical_cmp
(&self, other: &Cdnskey<Other>)
src/rdata/cds.rs:223
↓ 2 callers
Method
chain_root
Creates an absolute name by chaining the root label to it.
src/base/name/relative.rs:350
↓ 2 callers
Method
check_bounds
(&self, bounds: &impl RangeBounds<usize>)
src/base/name/relative.rs:444
↓ 2 callers
Method
check_bounds
Checks that a range starts and ends at label bounds.
src/base/name/absolute.rs:484
↓ 2 callers
Function
check_not_exists_for_wildcard
Check that target name does not exist. This typically happens if there is an answer but the answer is an expanded wildcard. In that case the closest e
src/dnssec/validator/utilities.rs:295
↓ 2 callers
Method
class
The [class] of the zone. [class]: https://datatracker.ietf.org/doc/html/rfc9499#section-4-2.2
src/zonetree/parsed.rs:191
↓ 2 callers
Method
clone_from
Replaces the contents of this [`OptBuilder`] with the given [`OptRecord`]`.
src/base/message_builder.rs:1754
↓ 2 callers
Method
close
Close all write state, if not closed already.
src/zonetree/update.rs:625
↓ 2 callers
Method
close_charstr
Ends a character string. If a previous call to [`append_slice`][Self::append_slice] started a new character string, a call to this method will close
src/rdata/rfc1035/txt.rs:814
↓ 2 callers
Method
cmp
(&self, other: &Self)
src/rdata/dnssec.rs:349
↓ 2 callers
Method
cmp
(&self, other: &Self)
src/rdata/svcb/params.rs:460
↓ 2 callers
Method
cmp
(&self, other: &Self)
src/rdata/rfc1035/mx.rs:150
↓ 2 callers
Method
cmp
(&self, other: &Self)
src/base/name/relative.rs:726
↓ 2 callers
Method
cname
(rr: SharedRr)
src/zonetree/in_memory/read.rs:365
↓ 2 callers
Method
code
(self)
src/base/opt/mod.rs:766
↓ 2 callers
Method
commit
Commits any pending changes to the [`Zone`] being written to. Returns the created diff, if any.
src/zonetree/update.rs:590
↓ 2 callers
Method
compose
( &self, target: &mut Target, )
src/rdata/dnssec.rs:530
↓ 2 callers
Method
compose
Appends the wire format representation to an octets builder.
src/base/charstr.rs:374
↓ 2 callers
Method
compose
( &self, target: &mut Target, )
src/base/record.rs:211
↓ 2 callers
Method
compose_canonical_len_rdata
Appends the record data prefixed with its length.
src/base/rdata.rs:90
↓ 2 callers
Method
compose_canonical_rdata
( &self, target: &mut Target, )
src/rdata/rp.rs:219
↓ 2 callers
Method
compose_canonical_rdata
( &self, target: &mut Target, )
src/base/rdata.rs:141
↓ 2 callers
Method
compose_fixed
( &self, target: &mut Target, )
src/rdata/rfc1035/soa.rs:375
↓ 2 callers
Method
compose_head
( &self, target: &mut Target, )
src/rdata/srv.rs:265
↓ 2 callers
Method
compose_head
( &self, target: &mut Target, )
src/rdata/naptr.rs:432
↓ 2 callers
Method
compose_len
(&self)
src/rdata/dnssec.rs:2165
↓ 2 callers
Method
compose_len
Returns the length of the wire format representation.
src/base/charstr.rs:369
↓ 2 callers
Method
compose_len
(&self)
src/base/name/label.rs:344
↓ 2 callers
Method
compose_len
Returns the space needed for a TSIG RR for this key.
src/tsig/mod.rs:260
↓ 2 callers
Method
compose_param
Appends the wire format of the full parameter to the target. This includes the key and length of the parameter.
src/rdata/svcb/params.rs:716
↓ 2 callers
Function
compose_prefixed
( target: &mut Target, op: F, )
src/base/rdata.rs:105
↓ 2 callers
Method
compose_rdata
( &self, target: &mut Target, )
src/rdata/rp.rs:211
↓ 2 callers
Method
composed_cmp
(&self, other: &Self)
src/base/name/label.rs:262
↓ 2 callers
Method
continues
(&mut self)
src/base/scan.rs:879
↓ 2 callers
Method
convert_one_token
Converts a single token using a token converter.
src/zonefile/inplace.rs:920
↓ 2 callers
Method
cookie
( request: &Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/cookies.rs:143
↓ 2 callers
Method
counts_mut
Returns a mutable reference to the message header counts.
src/base/message_builder.rs:383
↓ 2 callers
Function
create_message
()
examples/client.rs:10
↓ 2 callers
Method
data_mut
Returns a mutable reference to the record data.
src/base/record.rs:181
↓ 2 callers
Method
dec_num_pending_writes
Decrement the number of pending writes metric.
src/net/server/metrics.rs:124
↓ 2 callers
Function
decode
Decodes a string with Base 16 encoded data. The function attempts to decode the entire string and returns the result as an `Octets` value.
src/utils/base16.rs:31
↓ 2 callers
Method
delete_key
Delete a key.
src/dnssec/sign/keys/keyset.rs:417
↓ 2 callers
Method
delete_record_from_rrset
Find and delete a resource record in the zone by exact match.
src/zonetree/update.rs:453
↓ 2 callers
Method
deref_mut
(&mut self)
src/base/name/label.rs:560
↓ 2 callers
Method
digest
Calculates a digest from DNSKEY. See [RFC 4034, Section 5.1.4]: ```text 5.1.4. The Digest Field The digest is calculated by concatenating the canon
src/dnssec/validator/base.rs:72
↓ 2 callers
Method
dispatch
Dispatch a request and process the responses. Dispatches the given request to the given [`Service`] impl and processes the stream of resulting respon
src/net/server/invoker.rs:72
↓ 2 callers
Function
display
()
src/base/name/chain.rs:590
↓ 2 callers
Method
display_as_bind
Display this secret key in the conventional format used by BIND. This is a simple wrapper around [`Self::format_as_bind()`].
src/crypto/sign.rs:613
↓ 2 callers
Method
dnskey
Convert to a [`Dnskey`].
src/crypto/openssl.rs:320
↓ 2 callers
Method
dnskey
Convert to a [`Dnskey`].
src/crypto/ring.rs:234
↓ 2 callers
Method
dnssec_ok
Return whether DO is set.
src/net/client/cache.rs:856
↓ 2 callers
Method
do_enqueue_response
Enqueue a response from the [`Service`] impl for writing back to the client.
src/net/server/connection.rs:1080
↓ 2 callers
Function
do_server
( msg: &'a Message<Oct>, stelline: &Stelline, step_value: &CurrStepValue, )
src/stelline/server.rs:18
↓ 2 callers
Function
do_single_response
(invalidate_signature: bool)
src/net/client/tsig.rs:745
↓ 2 callers
Function
encode_display_hex
Returns a placeholder value that implements `Display` for encoded data.
src/utils/base32.rs:116
↓ 2 callers
Function
encode_string_hex
(bytes: &B)
src/utils/base32.rs:109
↓ 2 callers
Function
entry2msg
(entry: &Entry)
src/stelline/client.rs:703
↓ 2 callers
Function
entry2reqmsg
(entry: &Entry)
src/stelline/client.rs:661
↓ 2 callers
Function
eq
()
src/base/charstr.rs:1299
↓ 2 callers
Method
eq
Compare this entry to a label.
src/base/message_builder.rs:2550
↓ 2 callers
Method
eq
(&self, other: &T)
src/base/name/label.rs:377
↓ 2 callers
Method
expire
(self)
src/base/opt/expire.rs:46
↓ 2 callers
Method
extended_error
Get the optional extended error.
src/dnssec/validator/context.rs:1728
↓ 2 callers
Method
final_answer
Signs an answer and drops the context. This is like [`answer`] above but it doesn’t need to clone the context. [`answer`]: Self::answer()
src/tsig/mod.rs:1385
↓ 2 callers
Function
find_key_for_ds
( ds: &Ds<Bytes>, dnskey_group: &Group, config: &Config, opt_ede: &mut Option<ExtendedError<Ve
src/dnssec/validator/context.rs:1822
↓ 2 callers
Method
find_matching_record
( &self, entries: &[ZonefileEntry], msg_rr: &ParsedRecord<'_, Octs>, )
src/stelline/matches.rs:245
↓ 2 callers
Method
first_answer
Signs the first answer in a sequence. This is like [`answer`] but it resets the context. [`answer`]: Self::answer()
src/tsig/mod.rs:1404
↓ 2 callers
Method
flatten_into
(self)
src/base/name/traits.rs:610
↓ 2 callers
Method
for_slice
Returns a parameter sequence atop a slice of this value’s octets.
src/rdata/svcb/params.rs:343
↓ 2 callers
Method
for_slice
Returns a domain name for the octets slice of the content.
src/base/name/relative.rs:288
↓ 2 callers
Method
for_slice
Returns a domain name for the octets slice of the content.
src/base/name/absolute.rs:359
↓ 2 callers
Method
for_slice_ref
(&self)
src/base/opt/mod.rs:192
↓ 2 callers
Method
fudge
Return the number of seconds of offset from signing time permitted. When a signature is checked, the local system time needs to be within this many s
src/rdata/tsig.rs:184
↓ 2 callers
Function
generate_rrsigs_for_complete_zone
( keys: &[&SigningKey<Bytes, TestKey>], _ksk_idx: usize, zsk_idx: usize, cfg:
src/dnssec/sign/signatures/rrsigs.rs:813
↓ 2 callers
Function
generate_rrsigs_for_partial_zone
(zone_apex: &str, record_owner: &str)
src/dnssec/sign/signatures/rrsigs.rs:664
↓ 2 callers
Function
generate_wire_query
( qname: &Name<Bytes>, qtype: Rtype, )
examples/common/serve-utils.rs:8
↓ 2 callers
Function
generate_wire_response
( wire_query: &Message<Vec<u8>>, zone_answer: Answer, )
examples/common/serve-utils.rs:19
↓ 2 callers
Method
get
(&self, name: &StoredName)
src/zonetree/parsed.rs:389
↓ 2 callers
Method
get
(&self, pos: usize)
src/resolv/stub/conf.rs:624
↓ 2 callers
Function
get_checked_nsec
A group may contain an NSEC record. Check if there is a valid, secure NSEC record. And if so return it.
src/dnssec/validator/nsec.rs:309
↓ 2 callers
Method
get_label
Returns the next label. This just assumes that there is a label at the current beginning of the parser. This may lead to funny results if there isn’t
src/base/name/parsed.rs:567
↓ 2 callers
Method
get_ready_flag
(&self)
src/net/server/tests/unit.rs:201
↓ 2 callers
Method
get_response
( &mut self, )
src/stelline/client.rs:202
↓ 2 callers
Method
get_response
( &mut self, )
src/net/client/load_balancer.rs:378
← previous
next →
701–800 of 3,926, ranked by callers