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
↓ 7 callers
Method
set_dnssec_ok
(&mut self, value: bool)
src/net/client/tsig.rs:625
↓ 7 callers
Method
split_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:1514
↓ 7 callers
Function
str_to_rolltype
(rolltype: &str)
examples/keyset.rs:447
↓ 7 callers
Method
truncate
Truncates the name to the given length. # Panics The method panics if the position is not the beginning of a label or is beyond the end of the name.
src/base/name/relative.rs:539
↓ 7 callers
Method
udp_payload_size
Returns the UDP payload size.
src/net/client/dgram.rs:148
↓ 7 callers
Method
with_special
( &self, version: Version, op: impl FnOnce(Option<&Special>) -> R, )
src/zonetree/in_memory/nodes.rs:199
↓ 6 callers
Method
add
(self, d: Duration)
src/dnssec/sign/keys/keyset.rs:1420
↓ 6 callers
Method
add
(self, other: u32)
src/base/serial.rs:88
↓ 6 callers
Method
append_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 callers
Method
as_ref
(&self)
src/base/opt/cookie.rs:369
↓ 6 callers
Method
as_ref
(&self)
src/base/opt/padding.rs:115
↓ 6 callers
Method
as_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 callers
Method
as_slice
Returns a slice of the server identifier.
src/base/opt/nsid.rs:132
↓ 6 callers
Method
as_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 callers
Method
cd
(self)
src/base/header.rs:279
↓ 6 callers
Method
cmp
(&self, other: &Self)
src/rdata/rp.rs:164
↓ 6 callers
Method
counts
(&self)
src/base/header.rs:872
↓ 6 callers
Method
dnssec_ok
(&self)
src/net/client/tsig.rs:640
↓ 6 callers
Method
extend
(&mut self, iter: T)
src/dnssec/sign/records.rs:373
↓ 6 callers
Method
finalize
Finalizes decoding and returns the decoded data.
src/utils/base64.rs:235
↓ 6 callers
Method
find_zone
Gets the closest matching [`Zone`] for the given QNAME and CLASS, if any.
src/zonetree/tree.rs:56
↓ 6 callers
Method
finish
Converts the builder into an imutable character string.
src/base/charstr.rs:798
↓ 6 callers
Function
from_str
()
src/base/name/relative.rs:1242
↓ 6 callers
Method
into_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:691
↓ 6 callers
Method
into_inner
( self, )
src/net/server/service.rs:368
↓ 6 callers
Method
into_int
(self)
src/rdata/dnssec.rs:684
↓ 6 callers
Method
into_message
Converts the builder into a message. The method will return a message atop whatever octets sequence the builder’s octets builder converts into.
src/base/message_builder.rs:439
↓ 6 callers
Method
is_empty
Returns whether the name is empty.
src/base/name/relative.rs:367
↓ 6 callers
Method
iter
Returns an iterator over the octets of the character string.
src/base/charstr.rs:350
↓ 6 callers
Method
iter
Returns an iterator over the algorithms in the data.
src/base/opt/algsig.rs:213
↓ 6 callers
Method
iter_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 callers
Method
label_count
Returns the number of labels in the domain name.
src/base/name/parsed.rs:133
↓ 6 callers
Method
lines
(&self)
src/stelline/parse_stelline.rs:90
↓ 6 callers
Function
load_zone
(bytes: &[u8])
src/net/server/middleware/xfr/tests.rs:590
↓ 6 callers
Function
mk_nsec3_rr
( apex_owner: &str, owner: &str, next_owner: &str, types: &str, cfg: &GenerateNsec3Config<
src/dnssec/sign/test_util/mod.rs:122
↓ 6 callers
Function
mk_soa
(serial: Serial)
src/zonetree/update.rs:1759
↓ 6 callers
Method
owner
(&self)
src/dnssec/sign/records.rs:397
↓ 6 callers
Method
owner
The owner name attached to the key.
src/dnssec/sign/keys/signingkey.rs:54
↓ 6 callers
Method
push
Appends the given protocol name to the builder. Returns an error if the name is too long or the ALPN value would become too long or the underlying oc
src/rdata/svcb/value.rs:861
↓ 6 callers
Method
push_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 callers
Method
query
( &self, qname: Name<Bytes>, qtype: Rtype, )
src/zonetree/in_memory/read.rs:292
↓ 6 callers
Method
rcode
The DNS RCODE to send back to the client for this error.
src/net/server/service.rs:233
↓ 6 callers
Method
recv
Asynchronous receive function.
src/net/client/protocol.rs:209
↓ 6 callers
Function
remove_comment
Remove a comment from the line if present
src/stelline/parse_stelline.rs:686
↓ 6 callers
Method
roll_actions_fn
(&self)
src/dnssec/sign/keys/keyset.rs:1600
↓ 6 callers
Method
rollfn
(&self)
src/dnssec/sign/keys/keyset.rs:1590
↓ 6 callers
Method
run
(self)
src/net/server/middleware/xfr/axfr.rs:40
↓ 6 callers
Function
service_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 callers
Method
set_aa
Sets the value of the [AA](Flags::aa) bit.
src/base/header.rs:216
↓ 6 callers
Method
set_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:85
↓ 6 callers
Method
set_ra
Sets the value of the [RA](Flags::ra) bit.
src/base/header.rs:249
↓ 6 callers
Method
set_tc
Sets the value of the [TC](Flags::tc) bit.
src/base/header.rs:227
↓ 6 callers
Method
set_version
Sets the EDNS version of the OPT header.
src/base/opt/mod.rs:497
↓ 6 callers
Function
star_closest_encloser
Prepend the wildcard label to a closest encloser.
src/dnssec/validator/utilities.rs:358
↓ 6 callers
Method
starts_with
Determines whether `base` is a prefix of `self`.
src/base/name/parsed.rs:152
↓ 6 callers
Method
state
Return the DNSSEC validation state of the group.
src/dnssec/validator/group.rs:969
↓ 6 callers
Function
svcb_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 callers
Method
trim_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:1528
↓ 6 callers
Method
truncate
(&mut self, len: usize)
src/base/message_builder.rs:2006
↓ 6 callers
Method
types
(&self)
src/rdata/nsec3.rs:109
↓ 6 callers
Method
version
(&self)
src/base/opt/mod.rs:492
↓ 6 callers
Method
without_assuming_dnskeys_will_be_added
(mut self)
src/dnssec/sign/denial/nsec.rs:30
↓ 6 callers
Method
write
( self: Arc<Self>, )
src/zonetree/in_memory/nodes.rs:132
↓ 5 callers
Method
ad
Return whether AD is set or should be considered set.
src/net/client/cache.rs:847
↓ 5 callers
Method
add
Record in the diff that a resource record was added.
src/zonetree/types.rs:289
↓ 5 callers
Function
add_authority_record
( authority: &mut AuthorityBuilder<BytesMut>, item: T, )
src/net/xfr/protocol/tests.rs:598
↓ 5 callers
Method
append_compressed_name
( &mut self, name: &N, )
src/base/wire.rs:53
↓ 5 callers
Method
apply_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:1329
↓ 5 callers
Method
as_mut
(&mut self)
src/base/header.rs:910
↓ 5 callers
Method
as_octets
(&self)
src/rdata/dnssec.rs:2123
↓ 5 callers
Method
as_ref
(&self)
src/crypto/ring.rs:132
↓ 5 callers
Method
as_ref
(&self)
src/base/message.rs:686
↓ 5 callers
Method
as_slice
Returns a reference to a slice of the character string’s data.
src/base/charstr.rs:260
↓ 5 callers
Method
assert_eq
( &self, num_rrs_in_last_batch: u64, num_total_rrs: u64, num_b
src/net/server/batcher.rs:426
↓ 5 callers
Function
assert_stream_eq
( req: &Message<O>, mut stream: S, expected_records: &mut ExpectedRecords, )
src/net/server/middleware/xfr/tests.rs:723
↓ 5 callers
Method
authority
Converts the message builder into an authority builder. This will leave the question and answer sections empty.
src/base/message_builder.rs:415
↓ 5 callers
Method
callback_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 callers
Method
canonical_cmp
(&self, other: &Rp<NN>)
src/rdata/rp.rs:174
↓ 5 callers
Method
check_index
Like `is_label_start` but panics if it isn’t.
src/base/name/absolute.rs:477
↓ 5 callers
Method
checked_sub
(self, rhs: Ttl)
src/base/record.rs:1376
↓ 5 callers
Method
children
Returns the children.
src/zonetree/in_memory/nodes.rs:93
↓ 5 callers
Method
client_addr
From which IP address and port number was this message received?
src/net/server/message.rs:239
↓ 5 callers
Method
clone
(&self)
src/net/client/multi_stream.rs:197
↓ 5 callers
Method
clone
(&self)
src/net/client/load_balancer.rs:339
↓ 5 callers
Method
clone
(&self)
src/net/server/stream.rs:174
↓ 5 callers
Method
counts_mut
Returns a mutable reference to the header counts.
src/base/header.rs:877
↓ 5 callers
Method
dec_arcount
Decreases the value of the ARCOUNT field by one. # Panics This method panics if the count is already zero.
src/base/header.rs:721
↓ 5 callers
Function
decode_vec
(s: &str)
src/utils/base16.rs:45
↓ 5 callers
Method
deref_owner
(&self)
src/base/record.rs:599
↓ 5 callers
Method
expiration
(&self)
src/rdata/dnssec.rs:961
↓ 5 callers
Method
finish
Converts the message into the underlying octets builder. This will leave the all sections empty.
src/base/message_builder.rs:429
↓ 5 callers
Method
first
()
src/base/message.rs:898
↓ 5 callers
Function
generate
Generate a new secret key for the given algorithm.
src/crypto/sign.rs:401
↓ 5 callers
Function
get_zone_soa
(zone: &Zone)
src/net/server/middleware/xfr/tests.rs:596
↓ 5 callers
Method
header
Returns the message header.
src/base/message.rs:288
↓ 5 callers
Method
into_int
(self)
src/base/serial.rs:72
↓ 5 callers
Method
into_name
Appends the root label to the name and returns it as a [`Name`]. If there currently is a label under construction, ends the label. Then adds the empt
src/base/name/builder.rs:431
↓ 5 callers
Method
is_empty
Returns whether there are no RRsets for the given version.
src/zonetree/in_memory/nodes.rs:255
↓ 5 callers
Method
is_line_feed
Returns whether the current item is a line feed.
src/zonefile/inplace.rs:1166
↓ 5 callers
Method
is_root
Returns whether the name is the root label only.
src/base/name/absolute.rs:382
← previous
next →
301–400 of 3,926, ranked by callers