Home
last modified time | relevance | path

Searched refs:bool (Results 1 – 25 of 37) sorted by relevance

12

/smoltcp-0.9.1/src/wire/
Dtcp.rs187 pub fn fin(&self) -> bool { in fin() argument
195 pub fn syn(&self) -> bool { in syn() argument
203 pub fn rst(&self) -> bool { in rst() argument
211 pub fn psh(&self) -> bool { in psh() argument
219 pub fn ack(&self) -> bool { in ack() argument
227 pub fn urg(&self) -> bool { in urg() argument
235 pub fn ece(&self) -> bool { in ece() argument
243 pub fn cwr(&self) -> bool { in cwr() argument
251 pub fn ns(&self) -> bool { in ns() argument
300 pub fn selective_ack_permitted(&self) -> Result<bool> { in selective_ack_permitted() argument
[all …]
Dipv4.rs76 pub fn is_unicast(&self) -> bool { in is_unicast() argument
81 pub fn is_broadcast(&self) -> bool { in is_broadcast() argument
86 pub const fn is_multicast(&self) -> bool { in is_multicast() argument
91 pub const fn is_unspecified(&self) -> bool { in is_unspecified() argument
96 pub fn is_link_local(&self) -> bool { in is_link_local() argument
101 pub const fn is_loopback(&self) -> bool { in is_loopback() argument
249 pub fn contains_addr(&self, addr: &Address) -> bool { in contains_addr() argument
263 pub fn contains_subnet(&self, subnet: &Cidr) -> bool { in contains_subnet() argument
394 pub fn dont_frag(&self) -> bool { in dont_frag() argument
401 pub fn more_frags(&self) -> bool { in more_frags() argument
[all …]
Dethernet.rs51 pub fn is_unicast(&self) -> bool { in is_unicast() argument
56 pub fn is_broadcast(&self) -> bool { in is_broadcast() argument
61 pub const fn is_multicast(&self) -> bool { in is_multicast() argument
66 pub const fn is_local(&self) -> bool { in is_local() argument
Dipv6.rs143 pub fn is_unicast(&self) -> bool { in is_unicast() argument
150 pub const fn is_multicast(&self) -> bool { in is_multicast() argument
157 pub fn is_unspecified(&self) -> bool { in is_unspecified() argument
164 pub fn is_link_local(&self) -> bool { in is_link_local() argument
171 pub fn is_loopback(&self) -> bool { in is_loopback() argument
178 pub fn is_ipv4_mapped(&self) -> bool { in is_ipv4_mapped() argument
364 pub fn contains_addr(&self, addr: &Address) -> bool { in contains_addr() argument
375 pub fn contains_subnet(&self, subnet: &Cidr) -> bool { in contains_subnet() argument
Dieee802154.rs104 pub fn is_unicast(&self) -> bool { in is_unicast() argument
109 pub fn is_broadcast(&self) -> bool { in is_broadcast() argument
210 pub fn $field(&self) -> bool {
222 pub fn $field(&mut self, val: bool) {
759 pub security_enabled: bool,
760 pub frame_pending: bool,
761 pub ack_request: bool,
763 pub pan_id_compression: bool,
Dipv6fragment.rs87 pub fn more_frags(&self) -> bool { in more_frags() argument
133 pub fn set_more_frags(&mut self, value: bool) { in set_more_frags() argument
170 pub more_frags: bool,
Dip.rs128 pub fn is_unicast(&self) -> bool { in is_unicast() argument
138 pub const fn is_multicast(&self) -> bool { in is_multicast() argument
148 pub fn is_broadcast(&self) -> bool { in is_broadcast() argument
158 pub fn is_unspecified(&self) -> bool { in is_unspecified() argument
313 pub fn contains_addr(&self, addr: &Address) -> bool { in contains_addr() argument
326 pub fn contains_subnet(&self, subnet: &Cidr) -> bool { in contains_subnet() argument
460 pub const fn is_specified(&self) -> bool { in is_specified() argument
791 pub(crate) fn format_checksum(f: &mut fmt::Formatter, correct: bool) -> fmt::Result { in format_checksum()
Dmod.rs297 pub fn is_unicast(&self) -> bool { in is_unicast() argument
307 pub fn is_broadcast(&self) -> bool { in is_broadcast() argument
397 pub const fn is_empty(&self) -> bool { in is_empty() argument
Dicmpv6.rs50 pub fn is_error(&self) -> bool { in is_error() argument
58 pub const fn is_ndisc(&self) -> bool { in is_ndisc() argument
73 pub const fn is_mld(&self) -> bool { in is_mld() argument
358 pub fn verify_checksum(&self, src_addr: &IpAddress, dst_addr: &IpAddress) -> bool { in verify_checksum() argument
/smoltcp-0.9.1/src/iface/interface/
Digmp.rs30 ) -> Result<bool, MulticastError> in join_multicast_group() argument
78 ) -> Result<bool, MulticastError> in leave_multicast_group() argument
112 pub fn has_multicast_group<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_multicast_group() argument
118 pub(crate) fn igmp_egress<D>(&mut self, device: &mut D) -> bool in igmp_egress()
196 pub fn has_multicast_group<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_multicast_group() argument
Dmod.rs159 fn finished(&self) -> bool { in finished() argument
165 fn is_empty(&self) -> bool { in is_empty() argument
257 any_ip: bool,
653 pub fn has_ip_addr<T: Into<IpAddress>>(&self, addr: T) -> bool { in has_ip_addr() argument
678 pub fn set_any_ip(&mut self, any_ip: bool) { in set_any_ip() argument
686 pub fn any_ip(&self) -> bool { in any_ip() argument
732 ) -> bool in poll()
832 fn socket_ingress<D>(&mut self, device: &mut D, sockets: &mut SocketSet<'_>) -> bool in socket_ingress()
889 fn socket_egress<D>(&mut self, device: &mut D, sockets: &mut SocketSet<'_>) -> bool in socket_egress()
988 fn ipv4_egress<D>(&mut self, device: &mut D) -> bool in ipv4_egress()
[all …]
Dipv6.rs52 handled_by_raw_socket: bool, in process_nxt_hdr() argument
255 handled_by_raw_socket: bool, in process_hopbyhop() argument
/smoltcp-0.9.1/src/iface/
Dsocket_meta.rs50 F: Fn(IpAddress) -> bool, in poll_at() argument
59 pub(crate) fn egress_permitted<F>(&mut self, timestamp: Instant, has_neighbor: F) -> bool in egress_permitted()
61 F: Fn(IpAddress) -> bool, in egress_permitted() argument
Dfragmentation.rs158 pub(crate) fn is_complete(&self) -> bool { in is_complete() argument
163 fn is_free(&self) -> bool { in is_free() argument
/smoltcp-0.9.1/
Dbuild.rs26 seen_feature: bool,
27 seen_env: bool,
/smoltcp-0.9.1/src/phy/
Dfault_injector.rs39 fn maybe(&mut self, pct: u8) -> bool { in maybe() argument
59 fn maybe_transmit(&mut self, config: &Config, timestamp: Instant) -> bool { in maybe_transmit() argument
73 fn maybe_receive(&mut self, config: &Config, timestamp: Instant) -> bool { in maybe_receive() argument
Dmod.rs150 pub fn rx(&self) -> bool { in rx() argument
158 pub fn tx(&self) -> bool { in tx() argument
/smoltcp-0.9.1/src/storage/
Dpacket_buffer.rs36 fn is_padding(&self) -> bool { in is_padding() argument
65 pub fn is_empty(&self) -> bool { in is_empty() argument
70 pub fn is_full(&self) -> bool { in is_full() argument
Dassembler.rs46 fn has_hole(&self) -> bool { in has_hole() argument
50 fn has_data(&self) -> bool { in has_data() argument
130 pub fn is_empty(&self) -> bool { in is_empty() argument
/smoltcp-0.9.1/src/
Dparsers.rs32 fn lookahead_char(&self, ch: u8) -> bool { in lookahead_char() argument
96 fn accept_digit(&mut self, hex: bool) -> Result<u8> { in accept_digit()
109 fn accept_number(&mut self, max_digits: usize, max_value: u32, hex: bool) -> Result<u32> { in accept_number()
167 mut use_tail: bool, argument
/smoltcp-0.9.1/src/socket/
Dudp.rs185 pub fn is_open(&self) -> bool { in is_open() argument
191 pub fn can_send(&self) -> bool { in can_send() argument
197 pub fn can_recv(&self) -> bool { in can_recv() argument
373 pub(crate) fn accepts(&self, _cx: &mut Context, ip_repr: &IpRepr, repr: &UdpRepr) -> bool { in accepts() argument
Dicmp.rs56 pub fn is_specified(&self) -> bool { in is_specified() argument
248 pub fn can_send(&self) -> bool { in can_send() argument
254 pub fn can_recv(&self) -> bool { in can_recv() argument
284 pub fn is_open(&self) -> bool { in is_open() argument
372 pub(crate) fn accepts(&self, cx: &mut Context, ip_repr: &IpRepr, icmp_repr: &IcmpRepr) -> bool { in accepts() argument
Dtcp.rs229 fn should_keep_alive(&self, timestamp: Instant) -> bool { in should_keep_alive() argument
248 fn should_close(&self, timestamp: Instant) -> bool { in should_close() argument
318 fn is_retransmit(&self) -> bool { in is_retransmit() argument
359 rx_fin_received: bool,
395 remote_has_sack: bool,
418 nagle: bool,
538 pub fn nagle_enabled(&self) -> bool { in nagle_enabled() argument
588 pub fn set_nagle_enabled(&mut self, enabled: bool) { in set_nagle_enabled() argument
871 pub fn is_listening(&self) -> bool { in is_listening() argument
887 pub fn is_open(&self) -> bool { in is_open() argument
[all …]
Draw.rs131 pub fn can_send(&self) -> bool { in can_send() argument
137 pub fn can_recv(&self) -> bool { in can_recv() argument
280 pub(crate) fn accepts(&self, ip_repr: &IpRepr) -> bool { in accepts() argument
/smoltcp-0.9.1/fuzz/
Dutils.rs93 loopback: bool, in parse_middleware_options() argument

12