Home
last modified time | relevance | path

Searched refs:LENGTH (Results 1 – 7 of 7) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dipv6hopbyhop.rs40 pub const LENGTH: usize = 1; constant
81 let of = field::OPTIONS(data[field::LENGTH]); in check_len()
107 data[field::LENGTH] in header_len()
116 &data[field::OPTIONS(data[field::LENGTH])] in options()
133 data[field::LENGTH] = value; in set_header_len()
142 let len = data[field::LENGTH]; in options_mut()
Dipv6option.rs82 pub const LENGTH: usize = 1; constant
115 if len < field::LENGTH { in check_len()
123 if len == field::LENGTH { in check_len()
127 let df = field::DATA(data[field::LENGTH]); in check_len()
155 data[field::LENGTH] in data_len()
187 data[field::LENGTH] = value; in set_data_len()
Dipv6routing.rs85 pub const LENGTH: usize = 1; constant
203 data[field::LENGTH] in header_len()
268 &data[field::ADDRESSES(data[field::LENGTH])] in addresses()
285 data[field::LENGTH] = value; in set_header_len()
379 let len = data[field::LENGTH]; in set_addresses()
Dudp.rs23 pub const LENGTH: Field = 4..6; constant
95 NetworkEndian::read_u16(&data[field::LENGTH]) in len()
163 NetworkEndian::write_u16(&mut data[field::LENGTH], value) in set_len()
Dndiscoption.rs74 pub const LENGTH: usize = 1; constant
181 let data_range = field::DATA(data[field::LENGTH]); in check_len()
212 data[field::LENGTH] in data_len()
296 data[field::LENGTH] = value; in set_data_len()
Dipv6.rs426 pub const LENGTH: Field = 4..6; constant
515 NetworkEndian::read_u16(&data[field::LENGTH]) in payload_len()
598 NetworkEndian::write_u16(&mut data[field::LENGTH], value); in set_payload_len()
Dipv4.rs293 pub const LENGTH: Field = 2..4; constant
382 NetworkEndian::read_u16(&data[field::LENGTH]) in total_len()
513 NetworkEndian::write_u16(&mut data[field::LENGTH], value) in set_total_len()