Home
last modified time | relevance | path

Searched refs:options (Results 1 – 10 of 10) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dipv6hopbyhop.rs114 pub fn options(&self) -> &'a [u8] { in options() method
168 pub options: &'a [u8], field
180 options: header.options(), in parse()
194 header.options_mut().copy_from_slice(self.options); in emit()
198 pub fn options(&self) -> Ipv6OptionsIterator { in options() method
199 Ipv6OptionsIterator::new(self.options, self.buffer_len() - 2) in options()
259 assert_eq!(header.options(), &REPR_PACKET_PAD4[2..]); in test_header_deconstruct()
264 assert_eq!(header.options(), &REPR_PACKET_PAD12[2..]); in test_header_deconstruct()
274 Header::new_unchecked(&bytes).options().len(), in test_overlong()
287 Header::new_unchecked(&bytes).options().len(), in test_overlong()
[all …]
Ddhcpv4.rs363 pub fn options(&self) -> impl Iterator<Item = DhcpOption<'_>> + '_ { in options() method
745 for option in packet.options() { in parse()
857 let mut options = packet.options_mut(); in emit() localVariable
859 options.emit(DhcpOption { in emit()
869 options.emit(DhcpOption { in emit()
876 options.emit(DhcpOption { in emit()
883 options.emit(DhcpOption { in emit()
889 options.emit(DhcpOption { in emit()
895 options.emit(DhcpOption { in emit()
901 options.emit(DhcpOption { in emit()
[all …]
Dtcp.rs302 let mut options = &data[field::OPTIONS(self.header_len())]; in selective_ack_permitted() localVariable
303 while !options.is_empty() { in selective_ack_permitted()
304 let (next_options, option) = TcpOption::parse(options)?; in selective_ack_permitted()
308 options = next_options; in selective_ack_permitted()
318 let mut options = &data[field::OPTIONS(self.header_len())]; localVariable
319 while !options.is_empty() {
320 let (next_options, option) = TcpOption::parse(options)?;
324 options = next_options;
353 pub fn options(&self) -> &'a [u8] { in options() method
831 let mut options = packet.options(); in parse() localVariable
[all …]
Dipv6option.rs512 let options = [ in test_options_iter() localVariable
517 let mut iterator = Ipv6OptionsIterator::new(&options, 0); in test_options_iter()
520 iterator = Ipv6OptionsIterator::new(&options, 16); in test_options_iter()
545 let options = [0x01, 0x02, 0x00, 0x00]; in test_options_iter_truncated() localVariable
546 let _ = Ipv6OptionsIterator::new(&options, 5); in test_options_iter_truncated()
/smoltcp-0.9.1/fuzz/
Dutils.rs23 pub fn parse_options(options: &Options, free: Vec<&str>) -> Matches { in parse_options()
24 match options.parse(env::args().skip(1)) { in parse_options()
36 print!("{}", options.usage(&brief)); in parse_options()
/smoltcp-0.9.1/examples/
Dutils.rs73 pub fn parse_options(options: &Options, free: Vec<&str>) -> Matches { in parse_options()
74 match options.parse(env::args().skip(1)) { in parse_options()
86 print!("{}", options.usage(&brief)); in parse_options()
/smoltcp-0.9.1/
DCHANGELOG.md12 - Fix parsing of ieee802154 link layer address for NDISC options (#746)
43 - setting arbitrary options in the request. (#650)
44 - retrieving arbitrary options from the response. (#650)
61 - wire/ndisc: do not error on unrecognized options. (#737)
119 …- Fix DhcpRepr::buffer_len not accounting for lease time, router and subnet options ([#478](https:…
154 - wire/dhcpv4: account for lease time, router and subnet options in DhcpRepr::buffer_len ([#478](ht…
DREADME.md53 * IPv4 options are **not** supported and are silently ignored.
359 implement fault injection, available through command-line options:
365 * The `--tx-rate-limit` and `--rx-rate-limit` options set the amount of tokens for
541 is possible; otherwise, nothing at all will be displayed and no options are accepted.
/smoltcp-0.9.1/src/iface/interface/
Dipv6.rs260 for opt_repr in hbh_repr.options() { in process_hopbyhop()
/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs206 pub fn set_outgoing_options(&mut self, options: &'a [DhcpOption<'a>]) { in set_outgoing_options()
207 self.outgoing_options = options; in set_outgoing_options()