Searched refs:Icmpv4 (Results 1 – 3 of 3) sorted by relevance
/smoltcp-0.9.1/src/iface/interface/ |
D | ipv4.rs | 308 Some(IpPacket::Icmpv4((ipv4_reply_repr, icmp_repr))) in icmpv4_reply() 321 Some(IpPacket::Icmpv4((ipv4_reply_repr, icmp_repr))) in icmpv4_reply()
|
D | tests.rs | 239 let expected_repr = IpPacket::Icmpv4(( in test_icmp_error_no_payload() 366 let expected_repr = IpPacket::Icmpv4(( in test_icmp_error_port_unreachable() 558 let expected_packet = IpPacket::Icmpv4((expected_ipv4_repr, expected_icmpv4_repr)); in test_handle_ipv4_broadcast() 681 Some(IpPacket::Icmpv4((expected_ip_repr, expected_icmp_repr))) in test_icmp_reply_size() 997 Some(IpPacket::Icmpv4((ipv4_reply, echo_reply))) in test_icmpv4_socket()
|
D | mod.rs | 322 Icmpv4((Ipv4Repr, Icmpv4Repr<'a>)), enumerator 341 IpPacket::Icmpv4((ipv4_repr, _)) => IpRepr::Ipv4(*ipv4_repr), in ip_repr() 365 IpPacket::Icmpv4((_, icmpv4_repr)) => { in emit_payload() 936 respond(inner, IpPacket::Icmpv4((ipv4_repr, icmpv4_repr))) in socket_egress()
|