Searched refs:icmp (Results 1 – 10 of 10) sorted by relevance
/smoltcp-0.9.1/examples/ |
D | ping.rs | 13 use smoltcp::socket::icmp; 136 let icmp_rx_buffer = icmp::PacketBuffer::new(vec![icmp::PacketMetadata::EMPTY], vec![0; 256]); in main() 137 let icmp_tx_buffer = icmp::PacketBuffer::new(vec![icmp::PacketMetadata::EMPTY], vec![0; 256]); in main() 138 let icmp_socket = icmp::Socket::new(icmp_rx_buffer, icmp_tx_buffer); in main() 154 let socket = sockets.get_mut::<icmp::Socket>(icmp_handle); in main() 156 socket.bind(icmp::Endpoint::Ident(ident)).unwrap(); in main()
|
/smoltcp-0.9.1/.github/workflows/ |
D | test.yml | 43 - std medium-ethernet medium-ip proto-ipv4 socket-icmp socket-tcp 44 - std medium-ip proto-ipv6 socket-icmp socket-tcp 50 …dium-ieee802154 proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp socket-dns async 55 … features: alloc medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp 77 …v6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw socket-udp socket-tcp socket-icmp socket-dns async 78 …v6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw socket-udp socket-tcp socket-icmp socket-dns async 79 …v6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw socket-udp socket-tcp socket-icmp socket-dns async
|
/smoltcp-0.9.1/src/socket/ |
D | mod.rs | 22 pub mod icmp; module 63 Icmp(icmp::Socket<'a>), 133 from_socket!(icmp::Socket<'a>, Icmp);
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ipv6.rs | 8 use crate::socket::icmp; 125 .filter_map(|i| icmp::Socket::downcast_mut(&mut i.socket)) in process_icmpv6() 289 pub(super) fn icmpv6_reply<'frame, 'icmp: 'frame>( in icmpv6_reply() 292 icmp_repr: Icmpv6Repr<'icmp>, in icmpv6_reply() argument
|
D | ipv4.rs | 6 use crate::socket::icmp; 250 .filter_map(|i| icmp::Socket::downcast_mut(&mut i.socket)) in process_icmpv4() 291 pub(super) fn icmpv4_reply<'frame, 'icmp: 'frame>( in icmpv4_reply() 294 icmp_repr: Icmpv4Repr<'icmp>, in icmpv4_reply() argument
|
D | tests.rs | 945 let rx_buffer = icmp::PacketBuffer::new(vec![icmp::PacketMetadata::EMPTY], vec![0; 24]); in test_icmpv4_socket() 946 let tx_buffer = icmp::PacketBuffer::new(vec![icmp::PacketMetadata::EMPTY], vec![0; 24]); in test_icmpv4_socket() 948 let icmpv4_socket = icmp::Socket::new(rx_buffer, tx_buffer); in test_icmpv4_socket() 956 let socket = sockets.get_mut::<icmp::Socket>(socket_handle); in test_icmpv4_socket() 958 assert_eq!(socket.bind(icmp::Endpoint::Ident(ident)), Ok(())); in test_icmpv4_socket() 982 assert!(!sockets.get_mut::<icmp::Socket>(socket_handle).can_recv()); in test_icmpv4_socket() 1000 let socket = sockets.get_mut::<icmp::Socket>(socket_handle); in test_icmpv4_socket()
|
/smoltcp-0.9.1/ |
D | Cargo.toml | 60 "socket-icmp" = ["socket"] 73 …"socket-raw", "socket-icmp", "socket-udp", "socket-tcp", "socket-dhcpv4", "socket-dns", "socket-md… 233 … "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "proto-ipv6", "socket-icmp"]
|
D | CHANGELOG.md | 37 - socket: Add send_with to udp, raw, and icmp sockets. These methods enable reserving a packet buff… 179 - udp,raw,icmp: Fix packet buffer panic caused by large payload ([332](https://github.com/smoltcp-r…
|
D | README.md | 200 ### Features `socket-raw`, `socket-udp`, `socket-tcp`, `socket-icmp`, `socket-dhcpv4`, `socket-dns`
|
/smoltcp-0.9.1/src/wire/ |
D | mod.rs | 89 mod icmp; module 216 pub use self::icmp::Repr as IcmpRepr;
|