Home
last modified time | relevance | path

Searched refs:Udp (Results 1 – 16 of 16) sorted by relevance

/smoltcp-0.9.1/src/socket/
Dmod.rs65 Udp(udp::Socket<'a>), enumerator
82 Socket::Udp(s) => s.poll_at(cx), in poll_at()
135 from_socket!(udp::Socket<'a>, Udp);
Dudp.rs461 IpProtocol::Udp, in dispatch()
544 next_header: IpProtocol::Udp,
552 next_header: IpProtocol::Udp,
560 next_header: IpProtocol::Udp,
756 next_header: IpProtocol::Udp, in test_set_hop_limit()
Dicmp.rs52 Udp(IpListenEndpoint), enumerator
59 Endpoint::Udp(endpoint) => endpoint.port != 0, in is_specified()
380 &Endpoint::Udp(endpoint), in accepts()
399 &Endpoint::Udp(endpoint), in accepts()
798 assert_eq!(socket.bind(Endpoint::Udp(LOCAL_END_V4.into())), Ok(())); in test_accepts_udp()
1060 assert_eq!(socket.bind(Endpoint::Udp(LOCAL_END_V6.into())), Ok(())); in test_accepts_udp()
Ddhcpv4.rs553 next_header: IpProtocol::Udp, in dispatch()
769 assert_eq!(ip_repr.next_header, IpProtocol::Udp); in recv()
830 next_header: IpProtocol::Udp,
838 next_header: IpProtocol::Udp,
846 next_header: IpProtocol::Udp,
854 next_header: IpProtocol::Udp,
Ddns.rs592 IpProtocol::Udp, in dispatch()
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs336 next_header: IpProtocol::Udp, in test_icmp_error_port_unreachable()
360 next_header: IpProtocol::Udp, in test_icmp_error_port_unreachable()
389 next_header: IpProtocol::Udp, in test_icmp_error_port_unreachable()
453 next_header: IpProtocol::Udp, in test_handle_udp_broadcast()
461 next_header: IpProtocol::Udp, in test_handle_udp_broadcast()
614 next_header: IpProtocol::Udp, in test_icmp_reply_size()
622 next_header: IpProtocol::Udp, in test_icmp_reply_size()
1213 let raw_socket = raw::Socket::new(IpVersion::Ipv4, IpProtocol::Udp, rx_buffer, tx_buffer); in test_raw_socket_no_reply()
1238 next_header: IpProtocol::Udp, in test_raw_socket_no_reply()
1298 IpProtocol::Udp, in test_raw_socket_with_udp_socket()
[all …]
Dsixlowpan.rs193 IpProtocol::Udp in decompress_sixlowpan()
310 IpPacket::Udp(_) => SixlowpanNextHeader::Compressed, in dispatch_ieee802154()
332 IpPacket::Udp((_, udpv6_repr, payload)) => { in dispatch_ieee802154()
384 IpPacket::Udp((_, udpv6_repr, payload)) => { in dispatch_ieee802154()
498 IpPacket::Udp((_, udpv6_repr, payload)) => { in dispatch_ieee802154()
Dipv4.rs77 if ipv4_repr.next_header == IpProtocol::Udp && self.hardware_addr.is_some() { in process_ipv4()
128 IpProtocol::Udp => { in process_ipv4()
Dmod.rs330 Udp((IpRepr, UdpRepr, &'a [u8])), enumerator
349 IpPacket::Udp((ip_repr, _, _)) => ip_repr.clone(), in ip_repr()
382 IpPacket::Udp((_, udp_repr, inner_payload)) => udp_repr.emit( in emit_payload()
947 Socket::Udp(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
948 respond(inner, IpPacket::Udp(response)) in socket_egress()
960 respond(inner, IpPacket::Udp(response)) in socket_egress()
Dipv6.rs59 IpProtocol::Udp => { in process_nxt_hdr()
/smoltcp-0.9.1/src/wire/
Dudp.rs128 checksum::pseudo_header(src_addr, dst_addr, IpProtocol::Udp, self.len() as u32), in verify_checksum()
183 checksum::pseudo_header(src_addr, dst_addr, IpProtocol::Udp, self.len() as u32), in fill_checksum()
Dipv6.rs1082 next_header: Protocol::Udp, in packet_repr()
1097 assert_eq!(packet.next_header(), Protocol::Udp); in test_packet_deconstruction()
1126 packet.set_next_header(Protocol::Udp); in test_packet_construction()
Dip.rs55 Udp = 0x11,
71 Protocol::Udp => write!(f, "UDP"), in fmt()
823 Protocol::Udp => { in pretty_print_ip_payload()
Dsixlowpan.rs1971 crate::wire::ip::Protocol::Udp, in parse()
2024 crate::wire::ip::Protocol::Udp, in emit()
Dicmpv6.rs798 next_header: IpProtocol::Udp, in too_big_packet_repr()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dsixlowpan_packet.rs157 IpProtocol::Udp => {