Home
last modified time | relevance | path

Searched refs:respond (Results 1 – 2 of 2) sorted by relevance

/smoltcp-0.9.1/src/iface/interface/
Dmod.rs910 let mut respond = |inner: &mut InterfaceInner, response: IpPacket| { in socket_egress() localVariable
929 respond(inner, IpPacket::Raw(response)) in socket_egress()
936 respond(inner, IpPacket::Icmpv4((ipv4_repr, icmpv4_repr))) in socket_egress()
940 respond(inner, IpPacket::Icmpv6((ipv6_repr, icmpv6_repr))) in socket_egress()
948 respond(inner, IpPacket::Udp(response)) in socket_egress()
952 respond(inner, IpPacket::Tcp(response)) in socket_egress()
956 respond(inner, IpPacket::Dhcpv4(response)) in socket_egress()
960 respond(inner, IpPacket::Udp(response)) in socket_egress()
/smoltcp-0.9.1/
DREADME.md449 _examples/server.rs_ emulates a network host that can respond to basic requests.
463 where it will respond with reversed chunks of the input indefinitely;
465 where it will respond "hello" to any incoming connection and immediately close it;
467 where it will respond with reversed chunks of the input indefinitely.
490 and will respond with reversed chunks of the input indefinitely.