Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bluecatengineering/dora
/ functions
Functions
611 in github.com/bluecatengineering/dora
⨍
Functions
611
◇
Types & classes
146
Function
leases
( Extension(cfg): Extension<Arc<DhcpConfig>>, Extension(ip_mgr): Extension<Arc<IpManager<S>>>,
external-api/src/lib.rs:197
Method
listen_status
Listen to Health changes over the channel
external-api/src/lib.rs:86
Method
live_msgs
(&self)
dora-core/src/server/state.rs:55
Method
lookup_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
Function
main
()
dora-cfg/src/main.rs:30
Function
main
()
libs/ddns/examples/tsig.rs:17
Function
main
()
libs/icmp-ping/examples/simple.rs:5
Function
main
()
bin/src/main.rs:31
Function
metrics
()
external-api/src/lib.rs:290
Function
metrics_text
()
external-api/src/lib.rs:308
Function
mock_interface
(name: &str, ip_str: &str, prefix: u8)
libs/config/src/lib.rs:251
Method
msg_buf_mut
Get `SerialMsg` by mutable ref
dora-core/src/server/context.rs:101
Method
network
(&self)
libs/ip-manager/src/lib.rs:56
Method
new
Create a new ExternalApi instance
external-api/src/lib.rs:61
Method
new
(now: Instant, lease_time: Duration, percentage: u64)
libs/client-protection/src/lib.rs:48
Method
new
(value: T)
libs/topo_sort/src/lib.rs:91
Method
new
()
libs/ddns/src/lib.rs:54
Method
new
(dst: SocketAddr, tsig: Option<TSigner>)
libs/ddns/src/update.rs:33
Method
new
if created with type Chaddr, only significant bytes (up to hlen) should be provided
libs/ddns/src/dhcid.rs:25
Method
new
(store: T)
libs/ip-manager/src/lib.rs:266
Method
new
(uri: impl AsRef<str>)
libs/ip-manager/src/sqlite.rs:32
Method
new
(domain: Domain, type_: Type, protocol: Protocol)
libs/icmp-ping/src/socket.rs:15
Method
new
( host: IpAddr, socket: Arc<IcmpEcho<P>>, map: PingMap, // shutdown: Shutdown,
libs/icmp-ping/src/lib.rs:98
Method
new
Create a new `Shutdown` backed by the given `broadcast::Receiver`.
libs/icmp-ping/src/shutdown.rs:25
Method
new
Create a new service
libs/discovery/src/lib.rs:31
Method
new
()
libs/config/src/lib.rs:57
Method
new
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
Method
new
(cfg: Arc<DhcpConfig>, ip_mgr: Arc<IpManager<S>>)
plugins/leases/src/lib.rs:66
Method
new
(cfg: Arc<DhcpConfig>)
plugins/static-addr/src/lib.rs:29
Method
new
(cfg: Arc<DhcpConfig>)
plugins/message-type/src/lib.rs:43
Method
new
(args: ClientSettings)
bin/tests/common/client.rs:33
Method
new
Create a new stream from a `UdpRecv`r and `State`
dora-core/src/server/udp.rs:43
Method
new
Make a new instance of dora
dora-core/src/server/mod.rs:73
Method
new
Create new state with a set max live message count
dora-core/src/server/state.rs:25
Method
new
Construct a new `SerialMsg` and the source or destination address
dora-core/src/server/msg.rs:21
Method
new
()
dora-core/src/server/typemap.rs:54
Method
new
Create a `MsgContext` with state
dora-core/src/server/context.rs:198
Function
ok
(Extension(state): Extension<State>)
external-api/src/lib.rs:190
Method
parse
(input: syn::parse::ParseStream)
libs/register_derive_impl/src/lib.rs:143
Function
parse_builtin_vendor
(s: &str)
libs/client-classification/src/lib.rs:22
Method
parse_str
attempts to decode the config first as JSON, then YAML, finally erroring if neither work
libs/config/src/lib.rs:83
Function
parse_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
Function
parse_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
Function
parse_wire
(args: &Args)
dora-cfg/src/main.rs:78
Function
ping
()
external-api/src/lib.rs:326
Method
ping_check
is ping check enabled for this range? should we ping an IP before offering?
libs/config/src/v4.rs:450
Method
ping_check
is ping check enabled for this range? should we ping an IP before offering?
libs/config/src/v6.rs:150
Method
ping_timeout
get the ping timeout
libs/config/src/v6.rs:154
Method
plugin
Add plugin to the preresolve list of handlers
dora-core/src/server/mod.rs:85
Method
poll_next
(self: Pin<&mut Self>, cx: &mut task::Context<'_>)
dora-core/src/server/udp.rs:60
Method
postresponse
Add plugin to the postresponse list of handlers
dora-core/src/server/mod.rs:106
Function
print_time
(expires_at: SystemTime)
plugins/leases/src/lib.rs:437
Method
probation_period
Returns the configured probation period for decline's received on this network
libs/config/src/v6.rs:158
Method
ranges
(&self)
libs/config/src/v4.rs:380
Method
recv
Receive the shutdown notice, waiting if necessary.
libs/icmp-ping/src/shutdown.rs:38
Function
register_macro
(input: proc_macro::TokenStream)
libs/register_derive_impl/src/lib.rs:15
Method
release_ip
(&self, ip: IpAddr, id: &[u8])
libs/ip-manager/src/sqlite.rs:268
Method
remove_local
Removes an item from the type map, returning it.
dora-core/src/server/context.rs:151
Function
request_nak
()
bin/tests/basic.rs:320
Function
requested_lease_time
()
bin/tests/basic.rs:365
Method
reset_live
(&self)
dora-core/src/server/state.rs:67
Method
reverse
(&self)
libs/config/src/wire/v4.rs:642
Method
run
serve the HTTP external api
external-api/src/lib.rs:98
Method
run
(mut self)
dora-core/src/server/mod.rs:224
Method
select_all
(&self)
libs/ip-manager/src/sqlite.rs:305
Method
send_recv
( &mut self, msg_type: MsgType, )
bin/tests/common/client.rs:76
Function
serialize
serialize
libs/config/src/wire/v4.rs:558
Method
serialize
(&self, ser: S)
libs/config/src/wire/v6.rs:257
Method
set_addr
Set the source or destination address
dora-core/src/server/msg.rs:51
Method
set_health
Set the health
external-api/src/lib.rs:81
Method
set_msg_buf
Set the original buffer/address pair that we received for this `MsgContext`
dora-core/src/server/context.rs:107
Method
set_src_addr
Overrides the `src_addr` with a new address/port.
dora-core/src/server/context.rs:166
Function
simple_tree_stack
()
libs/topo_sort/src/lib.rs:250
Function
simple_tree_two
()
libs/topo_sort/src/lib.rs:307
Function
simple_tree_two_insertion_order
()
libs/topo_sort/src/lib.rs:345
Method
span
(&self)
libs/register_derive_impl/src/lib.rs:158
Function
static_bootp
()
bin/tests/basic.rs:154
Function
static_chaddr_dora
()
bin/tests/basic.rs:107
Function
static_opt_dora
()
bin/tests/basic.rs:222
Method
subnet
(&self)
libs/config/src/v6.rs:143
Function
test_bad_lookup
()
libs/ip-manager/src/lib.rs:1190
Function
test_basic_dhcpv4_unicast
runs through a standard Discover Offer Request Ack, then resends Request to renew the lease
bin/tests/basic.rs:23
Function
test_big_range
()
libs/config/src/v4.rs:905
Function
test_bootp
()
plugins/message-type/src/lib.rs:535
Function
test_builtin_vendor
()
libs/client-classification/src/lib.rs:1015
Function
test_cache_renew_0
()
libs/client-protection/src/lib.rs:228
Function
test_cache_threshold
()
libs/client-protection/src/lib.rs:190
Function
test_cache_threshold
()
bin/tests/basic.rs:770
Function
test_circular
()
libs/config/src/v4.rs:746
Function
test_class_dependencies
()
libs/client-classification/src/lib.rs:785
Function
test_class_find
()
libs/config/src/v4.rs:792
Function
test_concat
()
libs/client-classification/src/lib.rs:941
Function
test_ddns_send
()
libs/ddns/src/lib.rs:475
Function
test_decline
()
bin/tests/basic.rs:497
Function
test_dhcid_chaddr
()
libs/ddns/src/dhcid.rs:156
Function
test_dhcid_client_id
()
libs/ddns/src/dhcid.rs:131
Function
test_discover
()
plugins/leases/src/lib.rs:500
Function
test_discover
()
plugins/static-addr/src/lib.rs:186
Function
test_discover
()
plugins/message-type/src/lib.rs:513
Function
test_encode
()
libs/config/src/wire/v6.rs:304
← previous
next →
401–500 of 611, ranked by callers