Home
last modified time | relevance | path

Searched refs:ChecksumCapabilities (Results 1 – 16 of 16) sorted by relevance

/smoltcp-0.9.1/fuzz/fuzz_targets/
Dsixlowpan_packet.rs3 use smoltcp::{phy::ChecksumCapabilities, wire::*};
117 Icmpv4Repr::parse(&frame, &ChecksumCapabilities::default())
124 &ChecksumCapabilities::default(),
144 &ChecksumCapabilities::default(),
152 &ChecksumCapabilities::default(),
163 &ChecksumCapabilities::default(),
174 &ChecksumCapabilities::default(),
204 &ChecksumCapabilities::default(),
213 &ChecksumCapabilities::default(),
/smoltcp-0.9.1/benches/
Dbench.rs4 use smoltcp::phy::ChecksumCapabilities;
54 &ChecksumCapabilities::default(), in bench_emit_tcp()
77 &ChecksumCapabilities::default(), in bench_emit_udp()
96 repr.emit(&mut packet, &ChecksumCapabilities::default()); in bench_emit_ipv4()
/smoltcp-0.9.1/src/socket/
Dicmp.rs5 use crate::phy::ChecksumCapabilities;
454 &ChecksumCapabilities::default(), in process()
472 &ChecksumCapabilities::default(), in process()
508 let repr = match Icmpv4Repr::parse(&packet, &ChecksumCapabilities::ignored()) { in dispatch()
544 &ChecksumCapabilities::ignored(), in dispatch()
661 let checksum = ChecksumCapabilities::default(); in test_send_dispatch()
716 let checksum = ChecksumCapabilities::default(); in test_set_hop_limit_v4()
755 let checksum = ChecksumCapabilities::default(); in test_recv_process()
779 let checksum = ChecksumCapabilities::default(); in test_accept_bad_id()
800 let checksum = ChecksumCapabilities::default(); in test_accepts_udp()
[all …]
/smoltcp-0.9.1/src/phy/
Dmod.rs170 pub struct ChecksumCapabilities { struct
180 impl ChecksumCapabilities { argument
184 ChecksumCapabilities { in ignored()
238 pub checksum: ChecksumCapabilities,
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs7 use crate::phy::{ChecksumCapabilities, Loopback};
163 repr.emit(&mut bytes, &ChecksumCapabilities::default()); in test_no_icmp_no_unicast_ipv4()
197 repr.emit(&mut bytes, &ChecksumCapabilities::default()); in test_no_icmp_no_unicast_ipv6()
222 repr.emit(&mut bytes, &ChecksumCapabilities::default()); in test_icmp_error_no_payload()
348 &ChecksumCapabilities::default(), in test_icmp_error_port_unreachable()
401 &ChecksumCapabilities::default(), in test_icmp_error_port_unreachable()
478 &ChecksumCapabilities::default(), in test_handle_udp_broadcast()
536 &ChecksumCapabilities::default(), in test_handle_ipv4_broadcast()
540 &ChecksumCapabilities::default(), in test_handle_ipv4_broadcast()
608 &ChecksumCapabilities::default(), in test_icmp_reply_size()
[all …]
Dsixlowpan.rs3 use crate::phy::ChecksumCapabilities;
188 &crate::phy::ChecksumCapabilities::ignored(), in decompress_sixlowpan()
237 &ChecksumCapabilities::ignored(), in decompress_sixlowpan()
Dmod.rs38 use crate::phy::{ChecksumCapabilities, Device, DeviceCapabilities, Medium, RxToken, TxToken};
1056 pub(crate) fn checksum_caps(&self) -> ChecksumCapabilities { in checksum_caps() argument
1123 checksum: crate::phy::ChecksumCapabilities { in mock()
/smoltcp-0.9.1/src/wire/
Dudp.rs5 use crate::phy::ChecksumCapabilities;
223 checksum_caps: &ChecksumCapabilities, in parse() argument
276 checksum_caps: &ChecksumCapabilities, in emit() argument
427 &ChecksumCapabilities::default(), in test_parse()
445 &ChecksumCapabilities::default(), in test_emit()
458 &ChecksumCapabilities::default(), in test_checksum_omitted()
Dicmpv4.rs5 use crate::phy::ChecksumCapabilities;
397 checksum_caps: &ChecksumCapabilities, in parse() argument
485 pub fn emit<T>(&self, packet: &mut Packet<&mut T>, checksum_caps: &ChecksumCapabilities) in emit()
558 match Repr::parse(self, &ChecksumCapabilities::default()) { in fmt()
682 let repr = Repr::parse(&packet, &ChecksumCapabilities::default()).unwrap(); in test_echo_parse()
691 repr.emit(&mut packet, &ChecksumCapabilities::default()); in test_echo_emit()
Dmld.rs395 use crate::phy::ChecksumCapabilities;
534 &ChecksumCapabilities::default(), in test_query_repr_parse()
546 &ChecksumCapabilities::default(), in test_report_repr_parse()
560 &ChecksumCapabilities::default(), in test_query_repr_emit()
574 &ChecksumCapabilities::default(), in test_report_repr_emit()
Dicmpv6.rs5 use crate::phy::ChecksumCapabilities;
547 checksum_caps: &ChecksumCapabilities, in parse() argument
652 checksum_caps: &ChecksumCapabilities, in emit() argument
841 &ChecksumCapabilities::default(), in test_echo_repr_parse()
856 &ChecksumCapabilities::default(), in test_echo_emit()
894 &ChecksumCapabilities::default(), in test_too_big_repr_parse()
909 &ChecksumCapabilities::default(), in test_too_big_emit()
Dipv4.rs5 use crate::phy::ChecksumCapabilities;
634 checksum_caps: &ChecksumCapabilities, in parse() argument
675 checksum_caps: &ChecksumCapabilities, in emit() argument
705 match Repr::parse(self, &ChecksumCapabilities::ignored()) { in fmt()
768 let checksum_caps = ChecksumCapabilities::ignored(); in pretty_print()
897 let repr = Repr::parse(&packet, &ChecksumCapabilities::default()).unwrap(); in test_parse()
910 Repr::parse(&packet, &ChecksumCapabilities::default()), in test_parse_bad_version()
927 repr.emit(&mut packet, &ChecksumCapabilities::default()); in test_emit()
Dndisc.rs507 use crate::phy::ChecksumCapabilities;
570 &ChecksumCapabilities::default() in test_router_advert_repr_parse()
585 &ChecksumCapabilities::default(), in test_router_advert_repr_emit()
Dtcp.rs5 use crate::phy::ChecksumCapabilities;
795 checksum_caps: &ChecksumCapabilities, in parse() argument
920 checksum_caps: &ChecksumCapabilities, in emit() argument
1200 &ChecksumCapabilities::default(), in test_parse()
1216 &ChecksumCapabilities::default(), in test_emit()
Dip.rs5 use crate::phy::ChecksumCapabilities;
682 _checksum_caps: &ChecksumCapabilities, in emit() argument
815 let checksum_caps = ChecksumCapabilities::ignored(); in pretty_print_ip_payload()
Dsixlowpan.rs1400 phy::ChecksumCapabilities,
1957 checksum_caps: &ChecksumCapabilities, in parse() argument