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
↓ 7 callers
Method
header_mut
Returns a mutable reference to the message header for manipulations.
src/base/message_builder.rs:360
↓ 7 callers
Function
inner
(input: syn::DeriveInput)
macros/src/lib.rs:23
↓ 7 callers
Method
insert
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 callers
Method
is_empty
Whether the iterator is empty.
src/new/base/name/label.rs:1431
↓ 7 callers
Method
keytype
Return the key type (which includes the state of the key).
src/dnssec/sign/keys/keyset.rs:1179
↓ 7 callers
Function
mk_dnssec_signing_key
(make_ksk: bool)
src/dnssec/sign/signatures/rrsigs.rs:1160
↓ 7 callers
Method
next_back
(&mut self)
src/base/name/chain.rs:278
↓ 7 callers
Method
opcode
The OPCODE field.
src/new/base/message.rs:295
↓ 7 callers
Method
pos
(&self)
src/base/message.rs:792
↓ 7 callers
Method
push_raw
( &mut self, key: SvcParamKey, value_len: u16, value: impl FnOnce(&mut Octs) -
src/rdata/svcb/params.rs:948
↓ 7 callers
Function
report_actions
(actions: Result<Vec<Action>, Error>, ks: &KeySet)
examples/keyset.rs:454
↓ 7 callers
Method
send
Send a response.
src/net/client/stream.rs:429
↓ 7 callers
Method
set_dnssec_ok
(&mut self, value: bool)
src/net/client/tsig.rs:625
↓ 7 callers
Method
set_flag
Set the specified flag bit.
src/new/base/message.rs:273
↓ 7 callers
Method
set_qr
Sets the value of the [QR](Flags::qr) bit.
src/base/header.rs:159
↓ 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:1515
↓ 7 callers
Function
split_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 callers
Method
starts_with
Determines whether `base` is a prefix of `self`.
src/base/name/parsed.rs:152
↓ 7 callers
Function
str_to_rolltype
(rolltype: &str)
examples/keyset.rs:447
↓ 7 callers
Method
to_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 callers
Method
udp_payload_size
Returns the UDP payload size.
src/net/client/dgram.rs:148
↓ 7 callers
Method
update_special
Updates the special.
src/zonetree/in_memory/nodes.rs:208
↓ 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_compressed_name
( &mut self, name: &N, )
src/base/wire.rs:53
↓ 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
bytes
The wire format of the record data.
src/new/rdata/mod.rs:540
↓ 6 callers
Function
copy_to_bump
using a memory allocator
src/utils/dst.rs:441
↓ 6 callers
Method
counts
(&self)
src/base/header.rs:872
↓ 6 callers
Function
deserialize
( deserializer: D, )
src/utils/base64.rs:143
↓ 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:369
↓ 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:685
↓ 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_iter
(self)
src/rdata/dnssec.rs:2254
↓ 6 callers
Method
is_empty
Whether this 'struct' has no fields.
macros/src/data.rs:30
↓ 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 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
Method
owner
(&self)
src/dnssec/sign/records.rs:391
↓ 6 callers
Method
owner
The owner name attached to the key.
src/dnssec/sign/keys/signingkey.rs:54
↓ 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
qr
The QR bit.
src/new/base/message.rs:285
↓ 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
rewind
Rewinds to an empty question section. All previously added questions will be lost.
src/base/message_builder.rs:628
↓ 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_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 callers
Method
set_opcode
Sets the value of the opcode field.
src/base/header.rs:175
↓ 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:82
↓ 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
state
Return the DNSSEC validation state of the group.
src/dnssec/validator/group.rs:957
↓ 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:1529
↓ 6 callers
Method
truncate
(&mut self, len: usize)
src/base/message_builder.rs:1943
↓ 6 callers
Method
types
(&self)
src/rdata/nsec3.rs:109
↓ 6 callers
Method
version
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 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:284
↓ 5 callers
Function
add_authority_record
( authority: &mut AuthorityBuilder<BytesMut>, item: T, )
src/net/xfr/protocol/tests.rs:598
↓ 5 callers
Method
answer
Returns a reference to one of the answers.
src/resolv/lookup/host.rs:102
↓ 5 callers
Method
append
Appends a decoded octet to the target.
src/utils/base32.rs:351
↓ 5 callers
Method
apply
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 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:1341
↓ 5 callers
Method
as_mut
(&mut self)
src/new/base/charstr.rs:409
↓ 5 callers
Method
as_mut
(&mut self)
src/base/header.rs:910
↓ 5 callers
Method
as_octets
(&self)
src/rdata/dnssec.rs:2116
↓ 5 callers
Method
as_ref
(&self)
src/crypto/ring.rs:131
↓ 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:397
↓ 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
can_compress
(&self)
src/base/wire.rs:60
↓ 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
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
← previous
next →
301–400 of 4,465, ranked by callers