Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 34) sorted by relevance

12

/smoltcp-0.9.1/src/iface/interface/
Digmp.rs30 ) -> Result<bool, MulticastError> in join_multicast_group()
78 ) -> Result<bool, MulticastError> in leave_multicast_group()
112 pub fn has_multicast_group<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_multicast_group()
196 pub fn has_multicast_group<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_multicast_group()
Dmod.rs159 fn finished(&self) -> bool { in finished()
165 fn is_empty(&self) -> bool { in is_empty()
653 pub fn has_ip_addr<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_ip_addr()
678 pub fn set_any_ip(&mut self, any_ip: bool) { in set_any_ip()
686 pub fn any_ip(&self) -> bool { in any_ip()
1239 pub fn has_solicited_node(&self, addr: Ipv6Address) -> bool { in has_solicited_node()
1253 fn has_ip_addr<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_ip_addr()
1279 fn has_multicast_group<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_multicast_group()
1313 ) -> bool { in raw_socket_filter()
1332 fn is_subnet_broadcast(&self, address: Ipv4Address) -> bool { in is_subnet_broadcast()
[all …]
Dipv6.rs52 handled_by_raw_socket: bool, in process_nxt_hdr()
255 handled_by_raw_socket: bool, in process_hopbyhop()
/smoltcp-0.9.1/src/wire/
Dtcp.rs187 pub fn fin(&self) -> bool { in fin()
195 pub fn syn(&self) -> bool { in syn()
203 pub fn rst(&self) -> bool { in rst()
211 pub fn psh(&self) -> bool { in psh()
219 pub fn ack(&self) -> bool { in ack()
227 pub fn urg(&self) -> bool { in urg()
235 pub fn ece(&self) -> bool { in ece()
243 pub fn cwr(&self) -> bool { in cwr()
251 pub fn ns(&self) -> bool { in ns()
300 pub fn selective_ack_permitted(&self) -> Result<bool> { in selective_ack_permitted()
[all …]
Dipv4.rs76 pub fn is_unicast(&self) -> bool { in is_unicast()
81 pub fn is_broadcast(&self) -> bool { in is_broadcast()
86 pub const fn is_multicast(&self) -> bool { in is_multicast()
91 pub const fn is_unspecified(&self) -> bool { in is_unspecified()
96 pub fn is_link_local(&self) -> bool { in is_link_local()
101 pub const fn is_loopback(&self) -> bool { in is_loopback()
249 pub fn contains_addr(&self, addr: &Address) -> bool { in contains_addr()
263 pub fn contains_subnet(&self, subnet: &Cidr) -> bool { in contains_subnet()
394 pub fn dont_frag(&self) -> bool { in dont_frag()
401 pub fn more_frags(&self) -> bool { in more_frags()
[all …]
Dipv6.rs143 pub fn is_unicast(&self) -> bool { in is_unicast()
150 pub const fn is_multicast(&self) -> bool { in is_multicast()
157 pub fn is_unspecified(&self) -> bool { in is_unspecified()
164 pub fn is_link_local(&self) -> bool { in is_link_local()
171 pub fn is_loopback(&self) -> bool { in is_loopback()
178 pub fn is_ipv4_mapped(&self) -> bool { in is_ipv4_mapped()
364 pub fn contains_addr(&self, addr: &Address) -> bool { in contains_addr()
375 pub fn contains_subnet(&self, subnet: &Cidr) -> bool { in contains_subnet()
Dethernet.rs51 pub fn is_unicast(&self) -> bool { in is_unicast()
56 pub fn is_broadcast(&self) -> bool { in is_broadcast()
61 pub const fn is_multicast(&self) -> bool { in is_multicast()
66 pub const fn is_local(&self) -> bool { in is_local()
Dip.rs128 pub fn is_unicast(&self) -> bool { in is_unicast()
138 pub const fn is_multicast(&self) -> bool { in is_multicast()
148 pub fn is_broadcast(&self) -> bool { in is_broadcast()
158 pub fn is_unspecified(&self) -> bool { in is_unspecified()
313 pub fn contains_addr(&self, addr: &Address) -> bool { in contains_addr()
326 pub fn contains_subnet(&self, subnet: &Cidr) -> bool { in contains_subnet()
460 pub const fn is_specified(&self) -> bool { in is_specified()
Dmod.rs297 pub fn is_unicast(&self) -> bool { in is_unicast()
307 pub fn is_broadcast(&self) -> bool { in is_broadcast()
397 pub const fn is_empty(&self) -> bool { in is_empty()
Dicmpv6.rs50 pub fn is_error(&self) -> bool { in is_error()
58 pub const fn is_ndisc(&self) -> bool { in is_ndisc()
73 pub const fn is_mld(&self) -> bool { in is_mld()
358 pub fn verify_checksum(&self, src_addr: &IpAddress, dst_addr: &IpAddress) -> bool { in verify_checksum()
Dipv6fragment.rs87 pub fn more_frags(&self) -> bool { in more_frags()
133 pub fn set_more_frags(&mut self, value: bool) { in set_more_frags()
/smoltcp-0.9.1/src/iface/
Dsocket_meta.rs50 F: Fn(IpAddress) -> bool, in poll_at()
61 F: Fn(IpAddress) -> bool, in egress_permitted()
Dfragmentation.rs158 pub(crate) fn is_complete(&self) -> bool { in is_complete()
163 fn is_free(&self) -> bool { in is_free()
Dneighbor.rs36 pub(crate) fn found(&self) -> bool { in found()
/smoltcp-0.9.1/src/storage/
Dpacket_buffer.rs36 fn is_padding(&self) -> bool { in is_padding()
65 pub fn is_empty(&self) -> bool { in is_empty()
70 pub fn is_full(&self) -> bool { in is_full()
Dassembler.rs46 fn has_hole(&self) -> bool { in has_hole()
50 fn has_data(&self) -> bool { in has_data()
130 pub fn is_empty(&self) -> bool { in is_empty()
/smoltcp-0.9.1/src/socket/
Dtcp.rs229 fn should_keep_alive(&self, timestamp: Instant) -> bool { in should_keep_alive()
248 fn should_close(&self, timestamp: Instant) -> bool { in should_close()
318 fn is_retransmit(&self) -> bool { in is_retransmit()
538 pub fn nagle_enabled(&self) -> bool { in nagle_enabled()
588 pub fn set_nagle_enabled(&mut self, enabled: bool) { in set_nagle_enabled()
871 pub fn is_listening(&self) -> bool { in is_listening()
887 pub fn is_open(&self) -> bool { in is_open()
908 pub fn is_active(&self) -> bool { in is_active()
927 pub fn may_send(&self) -> bool { in may_send()
946 pub fn may_recv(&self) -> bool { in may_recv()
[all …]
Dicmp.rs56 pub fn is_specified(&self) -> bool { in is_specified()
248 pub fn can_send(&self) -> bool { in can_send()
254 pub fn can_recv(&self) -> bool { in can_recv()
284 pub fn is_open(&self) -> bool { in is_open()
372 pub(crate) fn accepts(&self, cx: &mut Context, ip_repr: &IpRepr, icmp_repr: &IcmpRepr) -> bool { in accepts()
Dudp.rs185 pub fn is_open(&self) -> bool { in is_open()
191 pub fn can_send(&self) -> bool { in can_send()
197 pub fn can_recv(&self) -> bool { in can_recv()
373 pub(crate) fn accepts(&self, _cx: &mut Context, ip_repr: &IpRepr, repr: &UdpRepr) -> bool { in accepts()
Draw.rs131 pub fn can_send(&self) -> bool { in can_send()
137 pub fn can_recv(&self) -> bool { in can_recv()
280 pub(crate) fn accepts(&self, ip_repr: &IpRepr) -> bool { in accepts()
/smoltcp-0.9.1/src/phy/
Dfault_injector.rs39 fn maybe(&mut self, pct: u8) -> bool { in maybe()
59 fn maybe_transmit(&mut self, config: &Config, timestamp: Instant) -> bool { in maybe_transmit()
73 fn maybe_receive(&mut self, config: &Config, timestamp: Instant) -> bool { in maybe_receive()
Dmod.rs150 pub fn rx(&self) -> bool { in rx()
158 pub fn tx(&self) -> bool { in tx()
/smoltcp-0.9.1/fuzz/
Dutils.rs93 loopback: bool, in parse_middleware_options()
/smoltcp-0.9.1/examples/
Dutils.rs155 loopback: bool, in parse_middleware_options()
/smoltcp-0.9.1/src/
Dparsers.rs32 fn lookahead_char(&self, ch: u8) -> bool { in lookahead_char()
167 mut use_tail: bool,

12