Home
last modified time | relevance | path

Searched refs:CHECKSUM (Results 1 – 6 of 6) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dudp.rs24 pub const CHECKSUM: Field = 6..8; constant
27 CHECKSUM.end..(length as usize) in PAYLOAD()
31 pub const HEADER_LEN: usize = field::CHECKSUM.end;
102 NetworkEndian::read_u16(&data[field::CHECKSUM]) in checksum()
170 NetworkEndian::write_u16(&mut data[field::CHECKSUM], value) in set_checksum()
Digmp.rs36 pub const CHECKSUM: Field = 2..4; constant
108 NetworkEndian::read_u16(&data[field::CHECKSUM]) in checksum()
152 NetworkEndian::write_u16(&mut data[field::CHECKSUM], value) in set_checksum()
Dicmpv6.rs199 pub const CHECKSUM: Field = 2..4; constant
298 NetworkEndian::read_u16(&data[field::CHECKSUM]) in checksum()
350 _ => field::CHECKSUM.end, in header_len()
428 NetworkEndian::write_u16(&mut data[field::CHECKSUM], value) in set_checksum()
Dicmpv4.rs175 pub const CHECKSUM: Field = 2..4; constant
239 NetworkEndian::read_u16(&data[field::CHECKSUM]) in checksum()
315 NetworkEndian::write_u16(&mut data[field::CHECKSUM], value) in set_checksum()
Dipv4.rs298 pub const CHECKSUM: Field = 10..12; constant
431 NetworkEndian::read_u16(&data[field::CHECKSUM]) in checksum()
577 NetworkEndian::write_u16(&mut data[field::CHECKSUM], value) in set_checksum()
Dtcp.rs87 pub const CHECKSUM: Field = 16..18; constant
276 NetworkEndian::read_u16(&data[field::CHECKSUM]) in checksum()
543 NetworkEndian::write_u16(&mut data[field::CHECKSUM], value) in set_checksum()