MCPcopy Create free account

hub / github.com/bluecatengineering/dora / functions

Functions611 in github.com/bluecatengineering/dora

Functionleases
( Extension(cfg): Extension<Arc<DhcpConfig>>, Extension(ip_mgr): Extension<Arc<IpManager<S>>>,
external-api/src/lib.rs:197
Methodlisten_status
Listen to Health changes over the channel
external-api/src/lib.rs:86
Methodlive_msgs
(&self)
dora-core/src/server/state.rs:55
Methodlookup_http
do a DNS lookup, returning a URL with the "http" schema ex. lookup_http("foobar.internal", 67) -> "http://1.2.3.4:67"
libs/discovery/src/lib.rs:43
Functionmain
()
dora-cfg/src/main.rs:30
Functionmain
()
libs/ddns/examples/tsig.rs:17
Functionmain
()
libs/icmp-ping/examples/simple.rs:5
Functionmain
()
bin/src/main.rs:31
Functionmetrics
()
external-api/src/lib.rs:290
Functionmetrics_text
()
external-api/src/lib.rs:308
Functionmock_interface
(name: &str, ip_str: &str, prefix: u8)
libs/config/src/lib.rs:251
Methodmsg_buf_mut
Get `SerialMsg` by mutable ref
dora-core/src/server/context.rs:101
Methodnetwork
(&self)
libs/ip-manager/src/lib.rs:56
Methodnew
Create a new ExternalApi instance
external-api/src/lib.rs:61
Methodnew
(now: Instant, lease_time: Duration, percentage: u64)
libs/client-protection/src/lib.rs:48
Methodnew
(value: T)
libs/topo_sort/src/lib.rs:91
Methodnew
()
libs/ddns/src/lib.rs:54
Methodnew
(dst: SocketAddr, tsig: Option<TSigner>)
libs/ddns/src/update.rs:33
Methodnew
if created with type Chaddr, only significant bytes (up to hlen) should be provided
libs/ddns/src/dhcid.rs:25
Methodnew
(store: T)
libs/ip-manager/src/lib.rs:266
Methodnew
(uri: impl AsRef<str>)
libs/ip-manager/src/sqlite.rs:32
Methodnew
(domain: Domain, type_: Type, protocol: Protocol)
libs/icmp-ping/src/socket.rs:15
Methodnew
( host: IpAddr, socket: Arc<IcmpEcho<P>>, map: PingMap, // shutdown: Shutdown,
libs/icmp-ping/src/lib.rs:98
Methodnew
Create a new `Shutdown` backed by the given `broadcast::Receiver`.
libs/icmp-ping/src/shutdown.rs:25
Methodnew
Create a new service
libs/discovery/src/lib.rs:31
Methodnew
()
libs/config/src/lib.rs:57
Methodnew
Create a new DhcpConfig for the server. Attempts to decode path as json, then yaml, and if both fail will return Err
libs/config/src/v4.rs:261
Methodnew
(cfg: Arc<DhcpConfig>, ip_mgr: Arc<IpManager<S>>)
plugins/leases/src/lib.rs:66
Methodnew
(cfg: Arc<DhcpConfig>)
plugins/static-addr/src/lib.rs:29
Methodnew
(cfg: Arc<DhcpConfig>)
plugins/message-type/src/lib.rs:43
Methodnew
(args: ClientSettings)
bin/tests/common/client.rs:33
Methodnew
Create a new stream from a `UdpRecv`r and `State`
dora-core/src/server/udp.rs:43
Methodnew
Make a new instance of dora
dora-core/src/server/mod.rs:73
Methodnew
Create new state with a set max live message count
dora-core/src/server/state.rs:25
Methodnew
Construct a new `SerialMsg` and the source or destination address
dora-core/src/server/msg.rs:21
Methodnew
()
dora-core/src/server/typemap.rs:54
Methodnew
Create a `MsgContext` with state
dora-core/src/server/context.rs:198
Functionok
(Extension(state): Extension<State>)
external-api/src/lib.rs:190
Methodparse
(input: syn::parse::ParseStream)
libs/register_derive_impl/src/lib.rs:143
Functionparse_builtin_vendor
(s: &str)
libs/client-classification/src/lib.rs:22
Methodparse_str
attempts to decode the config first as JSON, then YAML, finally erroring if neither work
libs/config/src/lib.rs:83
Functionparse_var
Returns the value of the environment variable with the given key. If it doesn't exist, returns `default` Casts the value to the type of `default` # Ex
libs/env-parser/src/lib.rs:36
Functionparse_var_opt
Returns the value of the environment variable with the given key, or None if it doesn't exist.
libs/env-parser/src/lib.rs:48
Functionparse_wire
(args: &Args)
dora-cfg/src/main.rs:78
Functionping
()
external-api/src/lib.rs:326
Methodping_check
is ping check enabled for this range? should we ping an IP before offering?
libs/config/src/v4.rs:450
Methodping_check
is ping check enabled for this range? should we ping an IP before offering?
libs/config/src/v6.rs:150
Methodping_timeout
get the ping timeout
libs/config/src/v6.rs:154
Methodplugin
Add plugin to the preresolve list of handlers
dora-core/src/server/mod.rs:85
Methodpoll_next
(self: Pin<&mut Self>, cx: &mut task::Context<'_>)
dora-core/src/server/udp.rs:60
Methodpostresponse
Add plugin to the postresponse list of handlers
dora-core/src/server/mod.rs:106
Functionprint_time
(expires_at: SystemTime)
plugins/leases/src/lib.rs:437
Methodprobation_period
Returns the configured probation period for decline's received on this network
libs/config/src/v6.rs:158
Methodranges
(&self)
libs/config/src/v4.rs:380
Methodrecv
Receive the shutdown notice, waiting if necessary.
libs/icmp-ping/src/shutdown.rs:38
Functionregister_macro
(input: proc_macro::TokenStream)
libs/register_derive_impl/src/lib.rs:15
Methodrelease_ip
(&self, ip: IpAddr, id: &[u8])
libs/ip-manager/src/sqlite.rs:268
Methodremove_local
Removes an item from the type map, returning it.
dora-core/src/server/context.rs:151
Functionrequest_nak
()
bin/tests/basic.rs:320
Functionrequested_lease_time
()
bin/tests/basic.rs:365
Methodreset_live
(&self)
dora-core/src/server/state.rs:67
Methodreverse
(&self)
libs/config/src/wire/v4.rs:642
Methodrun
serve the HTTP external api
external-api/src/lib.rs:98
Methodrun
(mut self)
dora-core/src/server/mod.rs:224
Methodselect_all
(&self)
libs/ip-manager/src/sqlite.rs:305
Methodsend_recv
( &mut self, msg_type: MsgType, )
bin/tests/common/client.rs:76
Functionserialize
serialize
libs/config/src/wire/v4.rs:558
Methodserialize
(&self, ser: S)
libs/config/src/wire/v6.rs:257
Methodset_addr
Set the source or destination address
dora-core/src/server/msg.rs:51
Methodset_health
Set the health
external-api/src/lib.rs:81
Methodset_msg_buf
Set the original buffer/address pair that we received for this `MsgContext`
dora-core/src/server/context.rs:107
Methodset_src_addr
Overrides the `src_addr` with a new address/port.
dora-core/src/server/context.rs:166
Functionsimple_tree_stack
()
libs/topo_sort/src/lib.rs:250
Functionsimple_tree_two
()
libs/topo_sort/src/lib.rs:307
Functionsimple_tree_two_insertion_order
()
libs/topo_sort/src/lib.rs:345
Methodspan
(&self)
libs/register_derive_impl/src/lib.rs:158
Functionstatic_bootp
()
bin/tests/basic.rs:154
Functionstatic_chaddr_dora
()
bin/tests/basic.rs:107
Functionstatic_opt_dora
()
bin/tests/basic.rs:222
Methodsubnet
(&self)
libs/config/src/v6.rs:143
Functiontest_bad_lookup
()
libs/ip-manager/src/lib.rs:1190
Functiontest_basic_dhcpv4_unicast
runs through a standard Discover Offer Request Ack, then resends Request to renew the lease
bin/tests/basic.rs:23
Functiontest_big_range
()
libs/config/src/v4.rs:905
Functiontest_bootp
()
plugins/message-type/src/lib.rs:535
Functiontest_builtin_vendor
()
libs/client-classification/src/lib.rs:1015
Functiontest_cache_renew_0
()
libs/client-protection/src/lib.rs:228
Functiontest_cache_threshold
()
libs/client-protection/src/lib.rs:190
Functiontest_cache_threshold
()
bin/tests/basic.rs:770
Functiontest_circular
()
libs/config/src/v4.rs:746
Functiontest_class_dependencies
()
libs/client-classification/src/lib.rs:785
Functiontest_class_find
()
libs/config/src/v4.rs:792
Functiontest_concat
()
libs/client-classification/src/lib.rs:941
Functiontest_ddns_send
()
libs/ddns/src/lib.rs:475
Functiontest_decline
()
bin/tests/basic.rs:497
Functiontest_dhcid_chaddr
()
libs/ddns/src/dhcid.rs:156
Functiontest_dhcid_client_id
()
libs/ddns/src/dhcid.rs:131
Functiontest_discover
()
plugins/leases/src/lib.rs:500
Functiontest_discover
()
plugins/static-addr/src/lib.rs:186
Functiontest_discover
()
plugins/message-type/src/lib.rs:513
Functiontest_encode
()
libs/config/src/wire/v6.rs:304
← previousnext →401–500 of 611, ranked by callers