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
↓ 1 callers
Function
write_opt
(enc: &mut Encoder<'_>, code: u8, opt: Opt)
libs/config/src/wire/v4.rs:250
Method
_topological_sort
(mut dep_tree: HashMap<K, Node<K>>)
libs/topo_sort/src/lib.rs:156
Method
addrs
get the range of IPs this range offers
libs/config/src/v4.rs:489
Method
as_ref
(&self)
libs/config/src/wire/v6.rs:135
Method
authoritative
(&self)
libs/config/src/v6.rs:146
Function
backup_ivp4_interface
find the first up non-loopback interface, if a name is provided it must also match
libs/config/src/lib.rs:95
Method
cache_threshold
return the renew threshold config
libs/config/src/v4.rs:123
Method
class
return configured class if present
libs/config/src/v4.rs:547
Method
classes
(&self)
libs/config/src/v4.rs:136
Method
client_id
(id: T)
libs/ddns/src/dhcid.rs:34
Method
clone
(&self)
libs/ip-manager/src/sqlite.rs:24
Function
config
( Extension(cfg): Extension<Arc<DhcpConfig>>, )
external-api/src/lib.rs:278
Method
contents
Gets the bytes and address as a tuple
dora-core/src/server/msg.rs:56
Method
count
(&self, state: IpState)
libs/ip-manager/src/sqlite.rs:294
Function
cpy_bytes
# Returns A zeroed out array of size `N` with all the `bytes` copied in. # Safety will create a new slice of `&[libc::c_char]` from the bytes. # Pan
dora-core/src/server/ioctl.rs:67
Method
create_socket
(&self)
dora-core/src/server/mod.rs:501
Function
criterion_benchmark
(c: &mut Criterion)
libs/client-classification/benches/my_benchmark.rs:10
Function
decode_opt
(opt: &DhcpOption)
libs/config/src/wire/v6.rs:270
Method
decode_resp
Decode the currently held binary data in `resp_msg` using [`Decoder`] into a message. A decoded DHCP query. [`Decoder`]: dhcproto::decoder::Decoder
dora-core/src/server/context.rs:225
Method
default
()
libs/client-classification/src/lib.rs:171
Method
default
()
libs/topo_sort/src/lib.rs:109
Method
default
()
libs/config/src/v4.rs:681
Method
default
()
libs/config/src/wire/mod.rs:114
Method
default
()
libs/config/src/wire/v4.rs:527
Function
default_authoritative
()
libs/config/src/wire/mod.rs:89
Function
default_bootp_enable
()
libs/config/src/wire/mod.rs:101
Function
default_cache_threshold
()
libs/config/src/wire/mod.rs:109
Function
default_chaddr_only
()
libs/config/src/wire/mod.rs:97
Function
default_false
()
libs/config/src/wire/v4.rs:509
Function
default_path
()
libs/config/src/wire/v6.rs:102
Function
default_persist
()
libs/config/src/wire/v6.rs:98
Function
default_ping_to
()
libs/config/src/wire/mod.rs:85
Function
default_probation
()
libs/config/src/wire/mod.rs:93
Function
default_rapid_commit
()
libs/config/src/wire/mod.rs:105
Function
default_request_list
()
bin/tests/common/mod.rs:38
Function
default_send_count
()
bin/tests/common/builder.rs:35
Function
default_timeout
()
bin/tests/common/builder.rs:31
Function
default_true
()
libs/config/src/wire/v4.rs:506
Method
deserialize
(de: D)
libs/config/src/wire/v4.rs:175
Method
deserialize
(de: D)
libs/config/src/wire/v6.rs:166
Function
deserialize_duration
(de: D)
libs/config/src/wire/mod.rs:186
Function
deserialize_optional_duration
(de: D)
libs/config/src/wire/mod.rs:193
Function
discover_req_addr
()
bin/tests/basic.rs:273
Method
drop
(&mut self)
external-api/src/lib.rs:41
Method
drop
(&mut self)
libs/ddns/src/update.rs:106
Method
drop
(&mut self)
libs/icmp-ping/src/lib.rs:330
Method
drop
(&mut self)
bin/tests/common/env.rs:46
Method
drop
(&mut self)
dora-core/src/server/context.rs:73
Method
dst_addr
Return the destination address and port IF it has been set. `dst_addr` is determined when a response is sent. In dora, it will most often be the IP o
dora-core/src/server/context.rs:175
Method
duid
(id: T)
libs/ddns/src/dhcid.rs:40
Function
dynamic_bootp
()
bin/tests/basic.rs:190
Method
encode_resp_msg
Takes the decoded response message, encodes into a `SerialMsg`
dora-core/src/server/context.rs:235
Method
eq
(&self, other: &Self)
libs/topo_sort/src/lib.rs:74
Method
eq
(&self, other: &Self)
libs/icmp-ping/src/icmp.rs:39
Function
eval_bootp
()
libs/config/src/client_classes.rs:267
Function
find_cycle
()
libs/topo_sort/src/lib.rs:282
Function
flatten
(handle: JoinHandle<Result<T, anyhow::Error>>)
bin/src/main.rs:133
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
external-api/src/lib.rs:354
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
libs/client-classification/src/lib.rs:71
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
libs/client-classification/src/ast.rs:61
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
libs/ddns/src/dhcid.rs:15
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
libs/ip-manager/src/lib.rs:182
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
libs/icmp-ping/src/lib.rs:43
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
plugins/leases/src/lib.rs:57
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
plugins/message-type/src/lib.rs:37
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bin/tests/common/client.rs:204
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
dora-core/src/server/mod.rs:60
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
dora-core/src/server/typemap.rs:153
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
dora-core/src/server/context.rs:58
Method
forward
(&self)
libs/config/src/wire/v4.rs:635
Method
from
(err: E)
external-api/src/lib.rs:450
Method
from
(value: pest::error::Error<Rule>)
libs/client-classification/src/ast.rs:99
Method
from
(state: IpState)
libs/ip-manager/src/lib.rs:74
Method
from
(net: wire::v4::Net)
libs/config/src/v4.rs:270
Method
from
(iface: Interface)
libs/config/src/wire/mod.rs:60
Method
from
(o: Options)
libs/config/src/wire/v4.rs:124
Method
from
(o: Options)
libs/config/src/wire/v6.rs:141
Method
from_json
(path: &Path)
libs/config/src/lib.rs:231
Method
from_msg
Constructs a new `SerialMsg` from another `SerialMsg` and a `SocketAddr`
dora-core/src/server/msg.rs:26
Method
get
(&self, ip: IpAddr)
libs/ip-manager/src/sqlite.rs:252
Method
get
(self)
libs/config/src/wire/v6.rs:129
Method
get_default
(&self)
libs/config/src/lib.rs:181
Method
get_first
get the first `Network`
libs/config/src/v4.rs:246
Method
get_first
get the first `Network`
libs/config/src/v6.rs:110
Method
get_local
Return a value in the current `MsgContext` based on a type, or `None` if no such value is present.
dora-core/src/server/context.rs:129
Function
get_mac
()
bin/tests/common/mod.rs:14
Method
get_max
(&self)
libs/config/src/lib.rs:187
Method
get_min
(&self)
libs/config/src/lib.rs:184
Method
get_mut_local
Return a mutable reference to a value in the current `MsgContext` based on a type, or `None` if no such value is present.
dora-core/src/server/context.rs:135
Method
get_mut_local_or_default
Return a mutable reference to a value in the current `MsgContext`, or insert a default value if no such value is present. This requires that the type
dora-core/src/server/context.rs:142
Method
global
get the global unicast addr associated with the received interface
dora-core/src/server/context.rs:718
Method
hash
(&self, state: &mut H)
libs/topo_sort/src/lib.rs:85
Method
id
(&self)
libs/ip-manager/src/lib.rs:53
Method
id
Get the id
dora-core/src/server/context.rs:82
Method
in_range
Return `true` if ip is in a range for a given `network`, `false` otherwise
libs/config/src/v4.rs:437
Method
inc_live_msgs
Increments the count of live in-flight messages
dora-core/src/server/state.rs:34
Method
interfaces
return the optional explicitly bound interfaces if there are any
libs/config/src/v6.rs:47
Method
into_response
(self)
external-api/src/lib.rs:429
Method
into_service
consume `Server<T>` and return `Service<T>` which has the dependencies topologically sorted and in a list, shutdown handlers, etc
dora-core/src/server/mod.rs:120
Method
is_shutdown
Returns `true` if the shutdown signal has been received.
libs/icmp-ping/src/shutdown.rs:33
← previous
next →
301–400 of 611, ranked by callers