Searched refs:kind (Results 1 – 6 of 6) sorted by relevance
/smoltcp-0.9.1/src/wire/ |
D | dhcpv4.rs | 87 buf[0] = option.kind; in emit() 109 pub kind: u8, field 374 Some(kind) => { in options() 386 kind, in options() 747 match (option.kind, data.len()) { in parse() 860 kind: field::OPT_DHCP_MESSAGE_TYPE, in emit() 870 kind: field::OPT_CLIENT_ID, in emit() 877 kind: field::OPT_SERVER_IDENTIFIER, in emit() 884 kind: field::OPT_ROUTER, in emit() 890 kind: field::OPT_SUBNET_MASK, in emit() [all …]
|
D | tcp.rs | 603 Unknown { kind: u8, data: &'a [u8] }, 618 kind => { in parse() 621 match (kind, length) { in parse() 666 (_, _) => option = TcpOption::Unknown { kind, data }, in parse() 729 kind, in emit() 732 buffer[0] = kind; in emit() 1036 TcpOption::Unknown { kind, .. } => write!(f, " opt({kind})")?, in fmt() 1269 kind: 12, in test_tcp_options()
|
/smoltcp-0.9.1/examples/ |
D | benchmark.rs | 25 fn client(kind: Client) { in client() 26 let port = match kind { in client() 38 let result = match kind { in client()
|
D | sixlowpan_benchmark.rs | 79 fn client(kind: Client) { in client() 80 let port: u16 = match kind { in client() 102 let result = match kind { in client()
|
/smoltcp-0.9.1/src/phy/ |
D | tuntap_interface.rs | 66 Err(err) if err.kind() == io::ErrorKind::WouldBlock => None, in receive() 107 Err(err) if err.kind() == io::ErrorKind::WouldBlock => { in consume()
|
D | raw_socket.rs | 84 Err(err) if err.kind() == io::ErrorKind::WouldBlock => None, in receive() 125 Err(err) if err.kind() == io::ErrorKind::WouldBlock => { in consume()
|