Home
last modified time | relevance | path

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

/smoltcp-0.9.1/.github/workflows/
Dtest.yml35 - std medium-ethernet phy-raw_socket proto-ipv6 socket-udp socket-dns
36 - std medium-ethernet phy-tuntap_interface proto-ipv6 socket-udp
37 - std medium-ethernet proto-ipv4 proto-ipv4-fragmentation socket-raw socket-dns
38 - std medium-ethernet proto-ipv4 proto-igmp socket-raw socket-dns
39 - std medium-ethernet proto-ipv4 socket-udp socket-tcp socket-dns
40 - std medium-ethernet proto-ipv4 proto-dhcpv4 socket-udp
41 - std medium-ethernet medium-ip medium-ieee802154 proto-ipv6 socket-udp socket-dns
42 - std medium-ethernet proto-ipv6 socket-tcp
43 - std medium-ethernet medium-ip proto-ipv4 socket-icmp socket-tcp
44 - std medium-ip proto-ipv6 socket-icmp socket-tcp
[all …]
/smoltcp-0.9.1/src/phy/
Dtracer.rs57 let medium = self.inner.capabilities().medium; in receive() localVariable
62 medium, in receive()
68 medium, in receive()
76 let medium = self.inner.capabilities().medium; in transmit() localVariable
79 medium, in transmit()
90 medium: Medium, field
104 medium: self.medium, in consume()
117 medium: Medium, field
132 medium: self.medium, in consume()
143 medium: Medium, field
[all …]
Draw_socket.rs13 medium: Medium, field
29 pub fn new(name: &str, medium: Medium) -> io::Result<RawSocket> { in new()
30 let mut lower = sys::RawSocketDesc::new(name, medium)?; in new()
37 if medium == Medium::Ieee802154 { in new()
42 if medium == Medium::Ethernet { in new()
49 medium, in new()
67 medium: self.medium, in capabilities()
Dtuntap_interface.rs15 medium: Medium, field
30 pub fn new(name: &str, medium: Medium) -> io::Result<TunTapInterface> { in new()
31 let mut lower = sys::TunTapInterfaceDesc::new(name, medium)?; in new()
37 medium, in new()
49 medium: self.medium, in capabilities()
Dloopback.rs11 medium: Medium, field
20 pub fn new(medium: Medium) -> Loopback { in new()
23 medium, in new()
35 medium: self.medium, in capabilities()
Dpcap_writer.rs131 let medium = lower.capabilities().medium; in new() localVariable
132 let link_type = match medium { in new()
Dmod.rs209 pub medium: Medium, field
243 match self.medium { in ip_mtu()
/smoltcp-0.9.1/
DCargo.toml40 "medium-ethernet" = ["socket"]
41 "medium-ip" = ["socket"]
42 "medium-ieee802154" = ["socket", "proto-sixlowpan"]
45 "phy-tuntap_interface" = ["std", "libc", "medium-ethernet"]
61 "socket-dhcpv4" = ["socket", "medium-ethernet", "proto-dhcpv4"]
69 "medium-ethernet", "medium-ip", "medium-ieee802154",
229 required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "…
233 required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "…
237 required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "…
241 required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "…
[all …]
DCHANGELOG.md83 - Add support for IEEE 802.15.4 + 6LoWPAN medium ([#469](https://github.com/smoltcp-rs/smoltcp/pull…
84 - Add support for IP medium ([#401](https://github.com/smoltcp-rs/smoltcp/pull/401))
/smoltcp-0.9.1/src/phy/sys/
Dtuntap_interface.rs10 medium: Medium, field
20 pub fn new(name: &str, medium: Medium) -> io::Result<TunTapInterfaceDesc> { in new()
35 medium, in new()
40 let mode = match self.medium { in attach_interface()
72 let mtu = match self.medium { in interface_mtu()
Draw_socket.rs20 pub fn new(name: &str, medium: Medium) -> io::Result<RawSocketDesc> { in new()
21 let protocol = match medium { in new()
/smoltcp-0.9.1/src/iface/interface/
Dmod.rs478 let hardware_addr = match caps.medium { in new()
590 assert!(self.inner.caps.medium == Medium::Ethernet); in hardware_addr()
592 assert!(self.inner.caps.medium == Medium::Ieee802154); in hardware_addr()
596 self.inner.caps.medium == Medium::Ethernet in hardware_addr()
597 || self.inner.caps.medium == Medium::Ieee802154 in hardware_addr()
611 assert!(self.inner.caps.medium == Medium::Ethernet); in set_hardware_addr()
613 assert!(self.inner.caps.medium == Medium::Ieee802154); in set_hardware_addr()
617 self.inner.caps.medium == Medium::Ethernet in set_hardware_addr()
618 || self.inner.caps.medium == Medium::Ieee802154 in set_hardware_addr()
741 match self.inner.caps.medium { in poll()
[all …]
Dipv6.rs190 let lladdr = check!(lladdr.parse(self.caps.medium)); in process_ndisc()
216 let lladdr = check!(lladdr.parse(self.caps.medium)); in process_ndisc()
Dipv4.rs346 if matches!(caps.medium, Medium::Ethernet) { in dispatch_ipv4_frag()
369 if matches!(self.caps.medium, Medium::Ethernet) { in dispatch_ipv4_frag()
Dtests.rs25 fn create<'a>(medium: Medium) -> (Interface, SocketSet<'a>, Loopback) { in create()
26 match medium { in create()
1112 let ipv4_packet = match caps.medium { in test_handle_igmp()
1377 assert_eq!(iface.inner.caps.medium, Medium::Ieee802154); in test_echo_request_sixlowpan_128_bytes()
/smoltcp-0.9.1/fuzz/
DCargo.toml15 smoltcp = { path = "..", features = [ "medium-ethernet" ] }
/smoltcp-0.9.1/examples/
Ddns.rs36 if device.capabilities().medium == Medium::Ethernet { in main()
Ddhcp_client.rs33 if device.capabilities().medium == Medium::Ethernet { in main()
Dclient.rs34 if device.capabilities().medium == Medium::Ethernet { in main()
Dhttpclient.rs34 if device.capabilities().medium == Medium::Ethernet { in main()
Dmulticast.rs33 if device.capabilities().medium == Medium::Ethernet { in main()
Dbenchmark.rs93 if device.capabilities().medium == Medium::Ethernet { in main()
Dserver.rs29 if device.capabilities().medium == Medium::Ethernet { in main()
Dping.rs110 if device.capabilities().medium == Medium::Ethernet { in main()
/smoltcp-0.9.1/src/wire/
Dmod.rs401 pub fn parse(&self, medium: Medium) -> Result<HardwareAddress> { in parse()
402 match medium { in parse()