Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/domain
/ functions
Functions
4,465 in github.com/NLnetLabs/domain
⨍
Functions
4,465
◇
Types & classes
838
↓ 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
data
(rrset: SharedRrset)
src/zonetree/in_memory/read.rs:347
↓ 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:954
↓ 5 callers
Method
finish
Converts the message into the underlying octets builder. This will leave the all sections empty.
src/base/message_builder.rs:411
↓ 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_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:421
↓ 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_line_feed
Returns whether the current item is a line feed.
src/zonefile/inplace.rs:1167
↓ 5 callers
Method
is_root
Returns whether the name is the root label only.
src/base/name/absolute.rs:382
↓ 5 callers
Method
iter
Returns an iterator over the character strings as slices. The returned iterator will always return at least one octets slice.
src/rdata/rfc1035/txt.rs:209
↓ 5 callers
Method
iter
Returns an iterator over the octets of the character string.
src/base/charstr.rs:350
↓ 5 callers
Method
iter
Iterator over the octets of the label.
src/base/name/label.rs:193
↓ 5 callers
Method
labels
(&self)
src/rdata/dnssec.rs:946
↓ 5 callers
Method
len
Returns the number of errors.
src/zonetree/error.rs:205
↓ 5 callers
Method
len
Returns the length of the already assembled domain name.
src/base/name/builder.rs:136
↓ 5 callers
Function
mk_counting_batcher
()
src/net/server/batcher.rs:396
↓ 5 callers
Function
mk_empty_zone
(apex_name: &str)
src/zonetree/update.rs:1261
↓ 5 callers
Method
name
(&self)
src/zonetree/in_memory/nodes.rs:111
↓ 5 callers
Method
next
(&mut self)
src/zonetree/tree.rs:206
↓ 5 callers
Method
next
(&mut self)
src/base/name/absolute.rs:1122
↓ 5 callers
Method
next_ascii_symbol
Hard disagree.
src/zonefile/inplace.rs:1304
↓ 5 callers
Method
next_owner
(&self)
src/rdata/nsec3.rs:101
↓ 5 callers
Method
opt_rcode
Get the extended rcode of a message or the normal rcode converted to an extended rcode if no opt record is present.
src/base/message.rs:659
↓ 5 callers
Method
original_id
Returns the original message ID. Since the message ID is part of the signature generation but may be changed for a forwarded message, it is included
src/rdata/tsig.rs:210
↓ 5 callers
Method
parent
Reduces the name to the parent of the current name. If the name consists of the root label only, returns `false` and does nothing. Otherwise, drops t
src/base/name/parsed.rs:201
↓ 5 callers
Method
pop
(&self)
src/zonetree/walk.rs:82
↓ 5 callers
Method
port
(&self)
src/rdata/srv.rs:57
↓ 5 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
↓ 5 callers
Method
push
Adds a new value to the builder. The method will return an error if a value with this key is already present or if there isn’t enough space left in t
src/rdata/svcb/params.rs:936
↓ 5 callers
Method
qr
(self)
src/base/header.rs:154
↓ 5 callers
Method
query
( &self, qname: Name<Bytes>, qtype: Rtype, )
src/zonetree/in_memory/read.rs:292
↓ 5 callers
Method
rd
(self)
src/base/header.rs:233
↓ 5 callers
Method
rrsets
(&self)
src/dnssec/sign/records.rs:192
↓ 5 callers
Method
set_ancount
Sets the value of the ANCOUNT field.
src/base/header.rs:620
↓ 5 callers
Method
set_arcount
Sets the value of the ARCOUNT field.
src/base/header.rs:698
↓ 5 callers
Method
set_nscount
Sets the value of the NSCOUNT field.
src/base/header.rs:659
↓ 5 callers
Method
set_qdcount
Sets the value of the QDCOUNT field.
src/base/header.rs:581
↓ 5 callers
Method
set_ra
Sets the value of the [RA](Flags::ra) bit.
src/base/header.rs:249
↓ 5 callers
Method
set_rcode
Sets the extended rcode of the message. The method will update both the message header and the OPT header.
src/base/message_builder.rs:1755
↓ 5 callers
Method
set_rd
Set the RD bit.
src/new/base/message.rs:333
↓ 5 callers
Method
sign
Applies the variables to a signing context. This applies the full variables including key information.
src/tsig/mod.rs:1601
↓ 5 callers
Method
signed_data
( &self, buf: &mut B, records: &mut [impl AsRef<Record<N, D>>], )
src/dnssec/validator/base.rs:203
↓ 5 callers
Method
tc
(self)
src/base/header.rs:222
↓ 5 callers
Method
update
Updates an RRset.
src/zonetree/in_memory/nodes.rs:262
↓ 5 callers
Function
wildcard
()
src/base/name/relative.rs:1156
↓ 4 callers
Function
add_edns_options
Adds one or more EDNS OPT options to a response. If the response already has an OPT record the options will be added to that. Otherwise an OPT record
src/net/server/util.rs:232
↓ 4 callers
Method
append_slice
( &mut self, slice: &[u8], )
src/base/charstr.rs:837
↓ 4 callers
Method
as_mut
(&mut self)
src/base/name/label.rs:358
↓ 4 callers
Method
as_record
Converts the OPT record into a regular record.
src/base/opt/mod.rs:578
↓ 4 callers
Method
as_ref
(&self)
src/base/name/builder.rs:478
↓ 4 callers
Method
as_rrset
Gets a reference to the inner [`Rrset`].
src/zonetree/types.rs:205
↓ 4 callers
Method
as_secs
Return the TTL value in seconds.
src/new/base/record.rs:660
↓ 4 callers
Method
as_slice
Returns a slice to the underlying octets sequence.
src/base/message.rs:249
↓ 4 callers
Method
as_slice
Returns the data as an octets slice.
src/base/opt/algsig.rs:193
↓ 4 callers
Method
as_str
(self)
src/rdata/svcb/params.rs:1105
↓ 4 callers
Method
as_str
(self)
src/base/scan.rs:1069
↓ 4 callers
Method
cache_insert
Insert new entry in the cache. Do not insert if the validity is zero. Make sure to clear the AA flag.
src/net/client/cache.rs:698
↓ 4 callers
Function
cached_nsec3_hash
Return an NSEC3 hash using a cache.
src/dnssec/validator/nsec.rs:974
↓ 4 callers
Method
cd
The CD bit.
src/new/base/message.rs:358
↓ 4 callers
Method
checked_mul
(self, rhs: u32)
src/base/record.rs:1419
↓ 4 callers
Method
clone
(&self)
src/net/client/redundant.rs:165
↓ 4 callers
Method
cmp
(&self, other: &Self)
src/rdata/rp.rs:164
↓ 4 callers
Function
cmp_iter
(mut iter: I, labels: &[&[u8]])
src/base/name/absolute.rs:1404
↓ 4 callers
Method
compare_signatures
Compares two signatures. The first signature is the expected value, the second the provided one. This considers signature truncation limited to whate
src/tsig/mod.rs:350
↓ 4 callers
Method
compose_canonical
( &self, target: &mut Target, )
src/base/record.rs:222
↓ 4 callers
Method
compose_head
( &self, target: &mut Target, )
src/rdata/dnssec.rs:546
↓ 4 callers
Method
compose_len
Returns the length in octets of the encoded name.
src/base/name/traits.rs:44
↓ 4 callers
Method
compose_len
(&self)
src/base/name/parsed.rs:467
↓ 4 callers
Method
compose_rdata
( &self, target: &mut Target, )
src/rdata/svcb/rdata.rs:500
↓ 4 callers
Method
compose_rdata
( &self, target: &mut Target, )
src/base/rdata.rs:134
↓ 4 callers
Function
display_hex
Encodes binary data in *base32hex* and writes it into a format stream. This function is intended to be used in implementations of formatting traits:
src/utils/base32.rs:69
↓ 4 callers
Method
enabled
(&self)
src/zonetree/walk.rs:51
↓ 4 callers
Method
error
(&self)
src/tsig/mod.rs:1803
↓ 4 callers
Method
extend
(&mut self, data: Vec<u8>)
src/stelline/channel.rs:51
↓ 4 callers
Method
flags
The flags attached to the key.
src/dnssec/sign/keys/signingkey.rs:59
↓ 4 callers
Method
for_slice
Returns a character string atop a slice of the content.
src/base/charstr.rs:244
↓ 4 callers
Function
from_str
()
src/base/name/absolute.rs:1876
↓ 4 callers
Method
get
( &mut self, _entry: &Entry, )
src/stelline/client.rs:326
↓ 4 callers
Method
get_u16
Returns the value of the 16 bit integer starting at a given offset.
src/base/header.rs:788
↓ 4 callers
Method
header_section
Returns the entire header section.
src/base/message.rs:306
↓ 4 callers
Method
inception
(&self)
src/rdata/dnssec.rs:958
↓ 4 callers
Method
insert_zone
Inserts the given [`Zone`]. Returns a [`ZoneTreeModificationError`] if a zone with the same apex and CLASS already exists in the tree.
src/zonetree/tree.rs:44
↓ 4 callers
Method
into_int
(self)
src/base/serial.rs:72
↓ 4 callers
Method
into_original_id
(self)
src/tsig/mod.rs:1519
↓ 4 callers
Method
is_empty
Return whether the type bitmap is empty.
src/new/rdata/dnssec/nsec.rs:240
↓ 4 callers
Method
is_empty
Returns whether there are no RRsets for the given version.
src/zonetree/in_memory/nodes.rs:239
↓ 4 callers
Method
is_empty
(&self)
src/resolv/stub/conf.rs:620
↓ 4 callers
Method
is_word_char
(self)
src/base/scan.rs:713
↓ 4 callers
Method
last
Returns a reference to the last label. Because the last label in an absolute name is always the root label, this method can return a static reference
src/base/name/parsed.rs:147
↓ 4 callers
Method
len
(&self)
src/new/base/name/unparsed.rs:77
↓ 4 callers
Method
len
(&self)
src/resolv/stub/conf.rs:616
↓ 4 callers
Method
mac
Returns a reference to the bytes value containing the MAC.
src/rdata/tsig.rs:189
← previous
next →
401–500 of 4,465, ranked by callers