/smoltcp-0.9.1/src/socket/ |
D | udp.rs | 10 use crate::wire::{IpEndpoint, IpListenEndpoint, IpProtocol, IpRepr, UdpRepr}; 373 pub(crate) fn accepts(&self, _cx: &mut Context, ip_repr: &IpRepr, repr: &UdpRepr) -> bool { in accepts() 392 repr: &UdpRepr, in process() argument 426 F: FnOnce(&mut Context, (IpRepr, UdpRepr, &[u8])) -> Result<(), E>, in dispatch() argument 454 let repr = UdpRepr { in dispatch() 490 use crate::wire::{IpRepr, UdpRepr}; 565 const LOCAL_UDP_REPR: UdpRepr = UdpRepr { 570 const REMOTE_UDP_REPR: UdpRepr = UdpRepr { 815 let repr = UdpRepr { in test_process_empty_payload()
|
D | dhcpv4.rs | 9 UdpRepr, DHCP_CLIENT_PORT, DHCP_MAX_DNS_SERVER_COUNT, DHCP_SERVER_PORT, UDP_HEADER_LEN, 280 repr: &UdpRepr, in process() argument 502 F: FnOnce(&mut Context, (Ipv4Repr, UdpRepr, DhcpRepr)) -> Result<(), E>, in dispatch() argument 545 let udp_repr = UdpRepr { in dispatch() 744 (ip_repr, udp_repr, dhcp_repr): (Ipv4Repr, UdpRepr, DhcpRepr), in send() argument 760 fn recv(s: &mut TestSocket, timestamp: Instant, reprs: &[(Ipv4Repr, UdpRepr, DhcpRepr)]) { in recv() argument 859 const UDP_SEND: UdpRepr = UdpRepr { 863 const UDP_RECV: UdpRepr = UdpRepr { 871 const UDP_SEND_DIFFERENT_PORT: UdpRepr = UdpRepr { 875 const UDP_RECV_DIFFERENT_PORT: UdpRepr = UdpRepr {
|
D | dns.rs | 11 use crate::wire::{self, IpAddress, IpProtocol, IpRepr, UdpRepr}; 340 pub(crate) fn accepts(&self, ip_repr: &IpRepr, udp_repr: &UdpRepr) -> bool { in accepts() 353 udp_repr: &UdpRepr, in process() argument 505 F: FnOnce(&mut Context, (IpRepr, UdpRepr, &[u8])) -> Result<(), E>, in dispatch() argument 582 let udp_repr = UdpRepr { in dispatch()
|
D | icmp.rs | 17 use crate::wire::{UdpPacket, UdpRepr}; 387 match UdpRepr::parse( in accepts() 406 match UdpRepr::parse( in accepts() 605 pub static UDP_REPR: UdpRepr = UdpRepr {
|
/smoltcp-0.9.1/benches/ |
D | bench.rs | 11 use smoltcp::wire::{UdpPacket, UdpRepr}; 63 let repr = UdpRepr { in bench_emit_udp()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | tests.rs | 328 let udp_repr = UdpRepr { in test_icmp_error_port_unreachable() 444 let udp_repr = UdpRepr { in test_handle_udp_broadcast() 596 let udp_repr = UdpRepr { in test_icmp_reply_size() 1202 use crate::wire::{IpVersion, Ipv4Packet, UdpPacket, UdpRepr}; in test_raw_socket_no_reply() 1221 let udp_repr = UdpRepr { in test_raw_socket_no_reply() 1272 use crate::wire::{IpEndpoint, IpVersion, Ipv4Packet, UdpPacket, UdpRepr}; in test_raw_socket_with_udp_socket() 1307 let udp_repr = UdpRepr { in test_raw_socket_with_udp_socket() 1663 UdpRepr { in test_sixlowpan_udp_with_fragmentation()
|
D | ipv4.rs | 89 let udp_repr = check!(UdpRepr::parse( in process_ipv4() 130 let udp_repr = check!(UdpRepr::parse( in process_ipv4()
|
D | ipv6.rs | 61 let udp_repr = check!(UdpRepr::parse( in process_nxt_hdr()
|
D | mod.rs | 330 Udp((IpRepr, UdpRepr, &'a [u8])), 334 Dhcpv4((Ipv4Repr, UdpRepr, DhcpRepr<'a>)), 1360 udp_repr: UdpRepr, in process_udp() argument
|
/smoltcp-0.9.1/src/wire/ |
D | sixlowpan.rs | 1404 udp::Repr as UdpRepr, 1949 pub struct UdpNhcRepr(pub UdpRepr); 1987 Ok(Self(UdpRepr { in parse() 2038 type Target = UdpRepr; 2098 let udp = UdpNhcRepr(UdpRepr { in udp_emit()
|
D | mod.rs | 239 pub use self::udp::{Packet as UdpPacket, Repr as UdpRepr, HEADER_LEN as UDP_HEADER_LEN};
|
D | ip.rs | 813 use crate::wire::{TcpPacket, TcpRepr, UdpPacket, UdpRepr}; in pretty_print_ip_payload() 828 match UdpRepr::parse( in pretty_print_ip_payload()
|
/smoltcp-0.9.1/fuzz/fuzz_targets/ |
D | sixlowpan_packet.rs | 159 if let Ok(repr) = UdpRepr::parse(
|