Home
last modified time | relevance | path

Searched refs:set_version (Results 1 – 3 of 3) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dipv6.rs566 pub fn set_version(&mut self, value: u8) { in set_version() method
699 packet.set_version(6); in emit()
1117 packet.set_version(6); in test_packet_construction()
1181 packet.set_version(4); in test_repr_parse_bad_version()
1191 packet.set_version(6); in test_repr_parse_smaller_than_header()
1201 packet.set_version(6); in test_repr_parse_smaller_than_payload()
Dipv4.rs485 pub fn set_version(&mut self, value: u8) { in set_version() method
677 packet.set_version(4); in emit()
833 packet.set_version(4); in test_construct()
906 packet.set_version(6); in test_parse_bad_version()
/smoltcp-0.9.1/src/socket/
Draw.rs615 Ipv4Packet::new_unchecked(&mut wrong_version).set_version(6); in test_send_illegal()
638 Ipv6Packet::new_unchecked(&mut wrong_version[..]).set_version(4); in test_send_illegal()