MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions3,926 in github.com/NLnetLabs/domain

Methodnew
(expire: Option<u32>)
src/base/opt/expire.rs:40
Methodnew
Creates a new value from a code and optional text. Returns an error if `text` is present but is too long to fit into an option.
src/base/opt/exterr.rs:76
Methodnew
Creates new CHAIN option data using the given name as the start.
src/base/opt/chain.rs:45
Methodnew
Create a connected client socket. Creates a new connection to the server. Receives `client_tx` which it should use to send messages to the server.
src/stelline/channel.rs:100
Methodnew
()
src/stelline/simple_dgram_client.rs:49
Methodnew
(stelline: Stelline, step_value: Arc<CurrStepValue>)
src/stelline/dgram.rs:29
Methodnew
( stelline: Stelline, step_value: Arc<CurrStepValue>, )
src/stelline/connection.rs:28
Methodnew
( stelline: Stelline, step_value: Arc<CurrStepValue>, )
src/stelline/connect.rs:18
Methodnew
( client: impl SendRequest<RequestMessage<Vec<u8>>> + 'static, )
src/stelline/client.rs:318
Methodnew
Creates a new key from its components. This function can be used to import a key from some kind of serialized form. The algorithm, key bits, and name
src/tsig/mod.rs:143
Methodnew
Create new TCP connections. addr is the destination address to connect to.
src/net/client/protocol.rs:46
Methodnew
Creates a new multi-stream transport with default configuration.
src/net/client/multi_stream.rs:117
Methodnew
Creates a new, default config.
src/net/client/stream.rs:93
Methodnew
Create a new ConnConfig object.
src/net/client/load_balancer.rs:231
Methodnew
Creates a new config with default values. The default values are documented at the relevant set_* methods.
src/net/client/validator.rs:137
Methodnew
Create a new RequestMessage object.
src/net/client/request.rs:217
Methodnew
Creates a new config with default values.
src/net/client/dgram.rs:81
Methodnew
Create a new connection.
src/net/client/redundant.rs:121
Methodnew
Create a new tsig transport. After creating the transport call `send_request` via the [`SendRequest`] or [`SendRequestMulti`] traits to send signed m
src/net/client/tsig.rs:159
Methodnew
Creates a new config with default values.
src/net/client/dgram_stream.rs:36
Methodnew
Creates a new config with default values. The default values are documented at the relevant set_* methods.
src/net/client/cache.rs:251
Methodnew
( processor: &'a mut RecordProcessor, resp: &'b Message<Bytes>, )
src/net/xfr/protocol/iterator.rs:30
Methodnew
Creates a new XFR message processor.
src/net/xfr/protocol/interpreter.rs:51
Methodnew
Create a new [SingleServiceToService] object.
src/net/server/adapter.rs:59
Methodnew
Creates a new instance for building responses to the given request. Delegates certain parts of the task to the callbacks supplied via generic type `C
src/net/server/batcher.rs:187
Methodnew
Creates a new, default config.
src/net/server/stream.rs:93
Methodnew
Creates a new, default config.
src/net/server/dgram.rs:104
Methodnew
(response: AdditionalBuilder<StreamTarget<Target>>)
src/net/server/service.rs:321
Methodnew
Creates a new, default config.
src/net/server/connection.rs:127
Methodnew
Create a new empty router.
src/net/server/qname_router.rs:44
Methodnew
Creates a new UDP specific transport context.
src/net/server/message.rs:34
Methodnew
(next_svc: NextSvc)
src/net/server/middleware/edns.rs:79
Methodnew
(next_svc: NextSvc, notify_target: N)
src/net/server/middleware/notify.rs:119
Methodnew
Creates a new post-processing stream. The created post-processing stream will resolve the given `Service::Future` to its `Service::Stream` type and t
src/net/server/middleware/stream.rs:219
Methodnew
(next_svc: NextSvc)
src/net/server/middleware/mandatory.rs:74
Methodnew
(next_svc: NextSvc, key_store: KS)
src/net/server/middleware/tsig.rs:102
Methodnew
(next_svc: NextSvc, server_secret: [u8; 16])
src/net/server/middleware/cookies.rs:88
Methodnew
( req_msg: Arc<Message<RequestOctets>>, sender: UnboundedSender<ServiceResult<Target>>,
src/net/server/middleware/xfr/batcher.rs:210
Methodnew
( read: Box<dyn ReadableZone>, qname: StoredName, zone_soa_rrset: SharedRrset,
src/net/server/middleware/xfr/axfr.rs:24
Methodnew
( msg: Arc<Message<RequestOctets>>, zone_soa_answer: Answer, batcher_rx: Receiver<(Nam
src/net/server/middleware/xfr/responder.rs:40
Methodnew
( next_svc: NextSvc, xfr_data_provider: XDP, max_concurrency: usize, )
src/net/server/middleware/xfr/service.rs:110
Methodnew
( qname: StoredName, zone_soa_rrset: SharedRrset, diffs: Vec<Diff>, batcher_tx
src/net/server/middleware/xfr/ixfr.rs:25
Methodnew
(zone: Zone, diffs: Vec<InMemoryZoneDiff>)
src/net/server/middleware/xfr/tests.rs:804
Methodnew
( zone: Zone, diffs: Vec<Diff>, backward_compatible: bool, )
src/net/server/middleware/xfr/data_provider.rs:57
Methodnew
( messages_to_read: VecDeque<Vec<u8>>, new_message_every: Duration, disconnect_with_pe
src/net/server/tests/unit.rs:58
Methodnew
( answer: &Message<[u8]>, fallback_name: impl ToName, fallback_port: u16, )
src/resolv/lookup/srv.rs:162
Methodnew
( aaaa: Result<R::Answer, io::Error>, a: Result<R::Answer, io::Error>, )
src/resolv/lookup/host.rs:79
Methodnew
Returns a new default server config for a given address and transport. The function sets default values as described in the field descriptions above.
src/resolv/stub/conf.rs:261
Methodnew
Creates a new resolver using the system’s default configuration.
src/resolv/stub/mod.rs:89
Methodnew
Creates a new, empty value.
src/zonefile/inplace.rs:96
Methodnew
( name: S, algorithm: S, secret: V, )
tests/common/nsd.rs:132
Methodnew
(zones: Arc<ZoneTree>)
examples/serve-zone.rs:339
Methodnew
(a: TcpListener, b: TcpListener)
examples/server-transports.rs:303
Methodnew
(db_pool: sqlx::MySqlPool, apex_name: StoredName)
examples/other/mysql-zone.rs:199
Methodnew_apex
( zone: WriteZone, create_diff: bool, )
src/zonetree/in_memory/write.rs:408
Methodnew_bytes
Creates a new, empty TXT builder using `BytesMut`.
src/rdata/rfc1035/txt.rs:712
Methodnew_bytes
Creates a new message builder atop a bytes value.
src/base/message_builder.rs:222
Methodnew_bytes
Creates a new empty builder for a bytes value.
src/base/charstr.rs:778
Methodnew_bytes
Creates an empty domain name bulider atop a bytes value.
src/base/name/builder.rs:116
Functionnew_cookie
()
src/base/opt/cookie.rs:701
Methodnew_delegation
Create a new delegation node.
src/dnssec/validator/context.rs:1685
Methodnew_dgram
()
src/stelline/channel.rs:211
Methodnew_from_owned
Create new Rrset from a slice of owned records. All records in an RRset are required to have the same TTL. # Panic This function panics if the reco
src/dnssec/sign/records.rs:495
Methodnew_from_refs
Create new Rrset from a slice of references. All records in an RRset are required to have the same TTL. # Panic This function panics if the records
src/dnssec/sign/records.rs:471
Methodnew_from_value_and_response
Create a value object that is derived from another value object.
src/net/client/cache.rs:902
Methodnew_hex
()
src/utils/base32.rs:241
Methodnew_in
Creates a new question from a name and record type, assuming class IN.
src/base/question.rs:59
Methodnew_in_place
Create an input suitable for signing a zone in-place.
src/dnssec/sign/mod.rs:221
Methodnew_intermediate
Create a new intermediate node.
src/dnssec/validator/context.rs:1704
Methodnew_into
Create an input suitable for signing a read-only zone. Records generated by signing should be written into the provided separate collection.
src/dnssec/sign/mod.rs:229
Methodnew_multi
Create a new Request object.
src/net/client/tsig.rs:298
Methodnew_random
()
src/base/opt/cookie.rs:312
Methodnew_ref
Creates a reference to CHAIN option data from a reference to the start.
src/base/opt/chain.rs:53
Functionnew_secret
()
src/base/opt/cookie.rs:798
Methodnew_stream
()
src/stelline/channel.rs:218
Methodnew_stream_bytes
Creates a new streamable message builder atop a bytes value.
src/base/message_builder.rs:230
Methodnew_stream_vec
()
src/base/message_builder.rs:214
Methodnew_uncertain
Creates a chain from an uncertain name. This function is separate because the ultimate size depends on the variant of the left name.
src/base/name/chain.rs:61
Methodnew_unchecked
Creates new TSIG record data without checking. # Safety The caller needs to ensure that the wire format length of the created record will not exceed
src/rdata/tsig.rs:143
Methodnew_unchecked
Creates new DNSKEY record data without checking. # Safety The caller needs to ensure that wire format representation of the record data is at most 6
src/rdata/dnssec.rs:102
Methodnew_unchecked
Creates new CDNSKEY record data without checking. # Safety The caller needs to ensure that wire format representation of the record data is at most
src/rdata/cds.rs:84
Methodnew_unchecked
Creates a new SVCB parameter value without checking. # Safety The caller needs to make sure that `value` is not longer than 65,535 octets.
src/rdata/svcb/params.rs:686
Methodnew_unchecked
Creates a new value from its components without checking. # Safety The called must ensure that the wire format of the record data does not exceed a
src/rdata/svcb/rdata.rs:159
Methodnew_unchecked
Creates a new option data value without checking. # Safety The caller needs to make sure that `data` is not longer than 65,535 octets.
src/base/opt/mod.rs:947
Methodnew_unchecked
Creates a new value without checking for the option length. # Safety The caller must ensure that the length of the wire format of the value does not
src/base/opt/exterr.rs:110
Methodnew_vec
()
src/rdata/dnssec.rs:2485
Methodnew_vec
()
src/base/message_builder.rs:205
Methodnew_vec
()
src/base/charstr.rs:764
Methodnew_vec
()
src/base/name/builder.rs:99
Methodnew_with_str
( code: ExtendedErrorCode, text: &str, )
src/base/opt/exterr.rs:91
Methodnext
(&mut self)
src/rdata/rfc1035/txt.rs:658
Methodnext
(&mut self)
src/base/charstr.rs:890
Methodnext
(&mut self)
src/base/name/chain.rs:268
Methodnext
(&mut self)
src/base/opt/algsig.rs:560
Methodnext
(&mut self)
src/base/opt/keytag.rs:374
Methodnext
(&mut self)
src/resolv/lookup/addr.rs:85
Methodnext
(&mut self)
src/resolv/lookup/host.rs:221
Methodnext
(&mut self)
src/zonefile/inplace.rs:251
Methodnext_back
(&mut self)
src/base/name/parsed.rs:601
Methodno_data
()
src/zonetree/in_memory/read.rs:357
← previousnext →2,901–3,000 of 3,926, ranked by callers