Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 30) sorted by relevance

12

/smoltcp-0.9.1/src/wire/
Dicmpv4.rs38 Message::EchoReply => write!(f, "echo reply"), in fmt()
39 Message::DstUnreachable => write!(f, "destination unreachable"), in fmt()
40 Message::Redirect => write!(f, "message redirect"), in fmt()
41 Message::EchoRequest => write!(f, "echo request"), in fmt()
42 Message::RouterAdvert => write!(f, "router advertisement"), in fmt()
43 Message::RouterSolicit => write!(f, "router solicitation"), in fmt()
44 Message::TimeExceeded => write!(f, "time exceeded"), in fmt()
45 Message::ParamProblem => write!(f, "parameter problem"), in fmt()
46 Message::Timestamp => write!(f, "timestamp"), in fmt()
47 Message::TimestampReply => write!(f, "timestamp reply"), in fmt()
[all …]
Dicmpv6.rs84 Message::DstUnreachable => write!(f, "destination unreachable"), in fmt()
85 Message::PktTooBig => write!(f, "packet too big"), in fmt()
86 Message::TimeExceeded => write!(f, "time exceeded"), in fmt()
87 Message::ParamProblem => write!(f, "parameter problem"), in fmt()
88 Message::EchoReply => write!(f, "echo reply"), in fmt()
89 Message::EchoRequest => write!(f, "echo request"), in fmt()
90 Message::RouterSolicit => write!(f, "router solicitation"), in fmt()
91 Message::RouterAdvert => write!(f, "router advertisement"), in fmt()
92 Message::NeighborSolicit => write!(f, "neighbor solicitation"), in fmt()
93 Message::NeighborAdvert => write!(f, "neighbor advert"), in fmt()
[all …]
Dip.rs41 Version::Ipv4 => write!(f, "IPv4"), in fmt()
43 Version::Ipv6 => write!(f, "IPv6"), in fmt()
67 Protocol::HopByHop => write!(f, "Hop-by-Hop"), in fmt()
68 Protocol::Icmp => write!(f, "ICMP"), in fmt()
69 Protocol::Igmp => write!(f, "IGMP"), in fmt()
70 Protocol::Tcp => write!(f, "TCP"), in fmt()
71 Protocol::Udp => write!(f, "UDP"), in fmt()
72 Protocol::Ipv6Route => write!(f, "IPv6-Route"), in fmt()
73 Protocol::Ipv6Frag => write!(f, "IPv6-Frag"), in fmt()
74 Protocol::Icmpv6 => write!(f, "ICMPv6"), in fmt()
[all …]
Dipv6option.rs17 Type::Pad1 => write!(f, "Pad1"), in fmt()
18 Type::PadN => write!(f, "PadN"), in fmt()
19 Type::Unknown(id) => write!(f, "{id}"), in fmt()
43 FailureType::Skip => write!(f, "skip"), in fmt()
44 FailureType::Discard => write!(f, "discard"), in fmt()
45 FailureType::DiscardSendAll => write!(f, "discard and send error"), in fmt()
46 FailureType::DiscardSendUnicast => write!(f, "discard and send error if unicast"), in fmt()
47 FailureType::Unknown(id) => write!(f, "Unknown({id})"), in fmt()
207 Ok(repr) => write!(f, "{repr}"), in fmt()
209 write!(f, "IPv6 Extension Option ({err})")?; in fmt()
[all …]
Dtcp.rs19 write!(f, "{}", self.0 as u32) in fmt()
991 write!(f, "TCP src={} dst={}", self.src_port(), self.dst_port())?; in fmt()
993 write!(f, " syn")? in fmt()
996 write!(f, " fin")? in fmt()
999 write!(f, " rst")? in fmt()
1002 write!(f, " psh")? in fmt()
1005 write!(f, " ece")? in fmt()
1008 write!(f, " cwr")? in fmt()
1011 write!(f, " ns")? in fmt()
1013 write!(f, " seq={}", self.seq_number())?; in fmt()
[all …]
Dndiscoption.rs30 Type::SourceLinkLayerAddr => write!(f, "source link-layer address"), in fmt()
31 Type::TargetLinkLayerAddr => write!(f, "target link-layer address"), in fmt()
32 Type::PrefixInformation => write!(f, "prefix information"), in fmt()
33 Type::RedirectedHeader => write!(f, "redirected header"), in fmt()
34 Type::Mtu => write!(f, "mtu"), in fmt()
35 Type::Unknown(id) => write!(f, "{id}"), in fmt()
386 Ok(repr) => write!(f, "{repr}"), in fmt()
388 write!(f, "NDISC Option ({err})")?; in fmt()
583 write!(f, "NDISC Option: ")?; in fmt()
586 write!(f, "SourceLinkLayer addr={addr}") in fmt()
[all …]
Digmp.rs43 Message::MembershipQuery => write!(f, "membership query"), in fmt()
44 Message::MembershipReportV2 => write!(f, "version 2 membership report"), in fmt()
45 Message::LeaveGroup => write!(f, "leave group"), in fmt()
46 Message::MembershipReportV1 => write!(f, "version 1 membership report"), in fmt()
47 Message::Unknown(id) => write!(f, "{id}"), in fmt()
327 Ok(repr) => write!(f, "{repr}"), in fmt()
328 Err(err) => write!(f, "IGMP ({err})"), in fmt()
340 } => write!( in fmt()
347 } => write!( in fmt()
352 write!(f, "IGMP leave group group_addr={group_addr})") in fmt()
Dipv6routing.rs40 Type::Type0 => write!(f, "Type0"), in fmt()
41 Type::Nimrod => write!(f, "Nimrod"), in fmt()
42 Type::Type2 => write!(f, "Type2"), in fmt()
43 Type::Rpl => write!(f, "Rpl"), in fmt()
44 Type::Experiment1 => write!(f, "Experiment1"), in fmt()
45 Type::Experiment2 => write!(f, "Experiment2"), in fmt()
46 Type::Reserved => write!(f, "Reserved"), in fmt()
47 Type::Unknown(id) => write!(f, "{id}"), in fmt()
388 Ok(repr) => write!(f, "{repr}"), in fmt()
390 write!(f, "IPv6 Routing ({err})")?; in fmt()
[all …]
Dipv4.rs130 write!(f, "{}.{}.{}.{}", bytes[0], bytes[1], bytes[2], bytes[3]) in fmt()
137 defmt::write!( in format()
270 write!(f, "{}/{}", self.address, self.prefix_len) in fmt()
277 defmt::write!(f, "{:?}/{=u8}", self.address, self.prefix_len); in format()
706 Ok(repr) => write!(f, "{repr}"), in fmt()
708 write!(f, "IPv4 ({err})")?; in fmt()
709 write!( in fmt()
718 write!(f, " ver={}", self.version())?; in fmt()
721 write!(f, " hlen={}", self.header_len())?; in fmt()
724 write!(f, " dscp={}", self.dscp())?; in fmt()
[all …]
Dethernet.rs18 EtherType::Ipv4 => write!(f, "IPv4"), in fmt()
19 EtherType::Ipv6 => write!(f, "IPv6"), in fmt()
20 EtherType::Arp => write!(f, "ARP"), in fmt()
21 EtherType::Unknown(id) => write!(f, "0x{id:04x}"), in fmt()
74 write!( in fmt()
214 write!( in fmt()
233 Err(err) => return write!(f, "{indent}({err})"), in pretty_print()
236 write!(f, "{indent}{frame}")?; in pretty_print()
Dieee802154.rs24 FrameType::Beacon => write!(f, "Beacon"), in fmt()
25 FrameType::Data => write!(f, "Data"), in fmt()
26 FrameType::Acknowledgement => write!(f, "Ack"), in fmt()
27 FrameType::MacCommand => write!(f, "MAC command"), in fmt()
28 FrameType::Multipurpose => write!(f, "Multipurpose"), in fmt()
29 FrameType::FragmentOrFrak => write!(f, "FragmentOrFrak"), in fmt()
30 FrameType::Extended => write!(f, "Extended"), in fmt()
31 FrameType::Unknown(id) => write!(f, "0b{id:04b}"), in fmt()
59 AddressingMode::Absent => write!(f, "Absent"), in fmt()
60 AddressingMode::Short => write!(f, "Short"), in fmt()
[all …]
Darp.rs325 Ok(repr) => write!(f, "{repr}"), in fmt()
327 write!(f, "ARP (unrecognized)")?; in fmt()
328 write!( in fmt()
337 write!( in fmt()
361 write!( in fmt()
379 Err(err) => write!(f, "{indent}({err})"), in pretty_print()
380 Ok(packet) => write!(f, "{indent}{packet}"), in pretty_print()
Dipv6.rs250 return write!( in fmt()
280 write!(f, "::")?; in fmt()
289 write!(f, "{word:x}")?; in fmt()
293 write!(f, "{word:x}")?; in fmt()
299 write!(f, ":{word:x}")?; in fmt()
383 write!(f, "{}/{}", self.address, self.prefix_len) in fmt()
641 Ok(repr) => write!(f, "{repr}"), in fmt()
643 write!(f, "IPv6 ({err})")?; in fmt()
712 write!( in fmt()
731 Err(err) => return write!(f, "{indent}({err})"), in pretty_print()
[all …]
Dmod.rs268 write!(f, "wire::Error") in fmt()
340 HardwareAddress::Ethernet(addr) => write!(f, "{addr}"), in fmt()
342 HardwareAddress::Ieee802154(addr) => write!(f, "{addr}"), in fmt()
432 write!(f, ":")?; in fmt()
434 write!(f, "{b:02x}")?; in fmt()
Dpretty_print.rs72 write!(f, "{}", self.prefix) in fmt()
74 write!(f, "{0:1$}{0:2$}\\ ", "", self.prefix.len(), self.level - 1) in fmt()
Dipv6fragment.rs151 Ok(repr) => write!(f, "{repr}"), in fmt()
153 write!(f, "IPv6 Fragment ({err})")?; in fmt()
207 write!( in fmt()
Dudp.rs298 write!( in fmt()
310 write!(f, "UDP src={} dst={}", self.src_port, self.dst_port) in fmt()
323 Err(err) => write!(f, "{indent}({err})"), in pretty_print()
324 Ok(packet) => write!(f, "{indent}{packet}"), in pretty_print()
Dipv6hopbyhop.rs150 Ok(repr) => write!(f, "{repr}"), in fmt()
152 write!(f, "IPv6 Hop-by-Hop Options ({err})")?; in fmt()
205 write!( in fmt()
/smoltcp-0.9.1/src/phy/
Dpcap_writer.rs37 fn write(&mut self, data: &[u8]); in write() method
46 self.write(&bytes[..]) in write_u16()
53 self.write(&bytes[..]) in write_u32()
89 self.write(packet); in packet()
96 fn write(&mut self, data: &[u8]) { in write() method
/smoltcp-0.9.1/src/storage/
Dassembler.rs19 write!(f, "({})", self.hole_size)?; in fmt()
22 write!(f, " ")?; in fmt()
25 write!(f, "{}", self.data_size)?; in fmt()
82 write!(f, "[ ")?; in fmt()
87 write!(f, "{contig} ")?; in fmt()
89 write!(f, "]")?; in fmt()
/smoltcp-0.9.1/
Dgen_config.py64 f.write(data)
83 f.write(data)
Dbuild.rs100 fs::write(out_file, data).unwrap(); in main()
/smoltcp-0.9.1/.github/workflows/
Dclippy.yml11 checks: write
/smoltcp-0.9.1/src/phy/sys/
Dtuntap_interface.rs100 let len = libc::write( in send()
/smoltcp-0.9.1/src/
Dtime.rs133 write!(f, "{}.{:0>3}s", self.secs(), self.millis()) in fmt()
229 write!(f, "{}.{:03}s", self.secs(), self.millis()) in fmt()

12