Searched refs:IpEndpoint (Results 1 – 6 of 6) sorted by relevance
/smoltcp-0.9.1/src/ |
D | parsers.rs | 11 use crate::wire::{IpAddress, IpCidr, IpEndpoint}; 319 fn accept_ipv4_endpoint(&mut self) -> Result<IpEndpoint> { in accept_ipv4_endpoint() argument 329 Ok(IpEndpoint { in accept_ipv4_endpoint() 336 fn accept_ipv6_endpoint(&mut self) -> Result<IpEndpoint> { in accept_ipv6_endpoint() argument 344 Ok(IpEndpoint { in accept_ipv6_endpoint() 350 Ok(IpEndpoint { in accept_ipv6_endpoint() 357 fn accept_ip_endpoint(&mut self) -> Result<IpEndpoint> { in accept_ip_endpoint() argument 469 impl FromStr for IpEndpoint { implementation 472 fn from_str(s: &str) -> Result<IpEndpoint> { in from_str() argument 720 assert_eq!(IpEndpoint::from_str(""), Err(())); in test_endpoint_ipv4() [all …]
|
/smoltcp-0.9.1/src/socket/ |
D | udp.rs | 10 use crate::wire::{IpEndpoint, IpListenEndpoint, IpProtocol, IpRepr, UdpRepr}; 13 pub type PacketMetadata = crate::storage::PacketMetadata<IpEndpoint>; 16 pub type PacketBuffer<'a> = crate::storage::PacketBuffer<'a, IpEndpoint>; 235 remote_endpoint: IpEndpoint, in send() argument 269 remote_endpoint: IpEndpoint, in send_with() argument 305 remote_endpoint: IpEndpoint, in send_slice() argument 316 pub fn recv(&mut self) -> Result<(&[u8], IpEndpoint), RecvError> { in recv() argument 333 pub fn recv_slice(&mut self, data: &mut [u8]) -> Result<(usize, IpEndpoint), RecvError> { in recv_slice() argument 345 pub fn peek(&mut self) -> Result<(&[u8], &IpEndpoint), RecvError> { in peek() argument 366 pub fn peek_slice(&mut self, data: &mut [u8]) -> Result<(usize, &IpEndpoint), RecvError> { in peek_slice() argument [all …]
|
D | icmp.rs | 616 use crate::wire::{Icmpv4DstUnreachable, IpEndpoint, Ipv4Address}; 620 const LOCAL_END_V4: IpEndpoint = IpEndpoint { 857 use crate::wire::{Icmpv6DstUnreachable, IpEndpoint, Ipv6Address}; 863 const LOCAL_END_V6: IpEndpoint = IpEndpoint {
|
D | tcp.rs | 16 IpAddress, IpEndpoint, IpListenEndpoint, IpProtocol, IpRepr, TcpControl, TcpRepr, TcpSeqNumber, 336 local: IpEndpoint, 337 remote: IpEndpoint, 649 pub fn local_endpoint(&self) -> Option<IpEndpoint> { in local_endpoint() argument 655 pub fn remote_endpoint(&self) -> Option<IpEndpoint> { in remote_endpoint() argument 769 T: Into<IpEndpoint>, in connect() argument 772 let remote_endpoint: IpEndpoint = remote_endpoint.into(); in connect() 786 let local_endpoint = IpEndpoint { in connect() 1551 local: IpEndpoint::new(ip_repr.dst_addr(), repr.dst_port), in process() 1552 remote: IpEndpoint::new(ip_repr.src_addr(), repr.src_port), in process() [all …]
|
/smoltcp-0.9.1/src/iface/interface/ |
D | tests.rs | 423 use crate::wire::IpEndpoint; in test_handle_udp_broadcast() 500 Ok((&UDP_PAYLOAD[..], IpEndpoint::new(src_ip.into(), 67))) in test_handle_udp_broadcast() 1272 use crate::wire::{IpEndpoint, IpVersion, Ipv4Packet, UdpPacket, UdpRepr}; in test_raw_socket_with_udp_socket() 1359 Ok((&UDP_PAYLOAD[..], IpEndpoint::new(src_addr.into(), 67))) in test_raw_socket_with_udp_socket() 1641 IpEndpoint { in test_sixlowpan_udp_with_fragmentation()
|
/smoltcp-0.9.1/src/wire/ |
D | mod.rs | 165 Address as IpAddress, Cidr as IpCidr, Endpoint as IpEndpoint,
|