Home
last modified time | relevance | path

Searched refs:options_mut (Results 1 – 4 of 4) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dipv6hopbyhop.rs140 pub fn options_mut(&mut self) -> &mut [u8] { in options_mut() method
194 header.options_mut().copy_from_slice(self.options); in emit()
278 Header::new_unchecked(&mut bytes).options_mut().len(), in test_overlong()
291 Header::new_unchecked(&mut bytes).options_mut().len(), in test_overlong()
Ddhcpv4.rs537 pub fn options_mut(&mut self) -> DhcpOptionWriter<'_> { in options_mut() method
857 let mut options = packet.options_mut(); in emit()
1104 let mut options = packet.options_mut(); in test_construct_discover()
Dtcp.rs572 pub fn options_mut(&mut self) -> &mut [u8] { in options_mut() method
940 let mut options = packet.options_mut(); in emit()
1148 packet.options_mut().copy_from_slice(&OPTION_BYTES[..]); in test_construct()
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs1068 let mut pad_pkt = Ipv6Option::new_unchecked(&mut *hbh_pkt.options_mut()); in test_icmpv6_nxthdr_unknown()
1072 let mut pad_pkt = Ipv6Option::new_unchecked(&mut hbh_pkt.options_mut()[5..]); in test_icmpv6_nxthdr_unknown()