Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/socket/
Dudp.rs536 pub const REMOTE_END: IpEndpoint = IpEndpoint { constant
602 socket.send_slice(b"abcdef", REMOTE_END), in test_send_unaddressable()
611 ..REMOTE_END in test_send_unaddressable()
621 ..REMOTE_END in test_send_unaddressable()
626 assert_eq!(socket.send_slice(b"abcdef", REMOTE_END), Ok(())); in test_send_unaddressable()
642 assert_eq!(socket.send_slice(b"abcdef", REMOTE_END), Ok(())); in test_send_dispatch()
644 socket.send_slice(b"123456", REMOTE_END), in test_send_dispatch()
689 assert_eq!(socket.recv(), Ok((&b"abcdef"[..], REMOTE_END))); in test_recv_process()
703 assert_eq!(socket.peek(), Ok((&b"abcdef"[..], &REMOTE_END))); in test_peek_process()
704 assert_eq!(socket.recv(), Ok((&b"abcdef"[..], REMOTE_END))); in test_peek_process()
[all …]
Dtcp.rs2314 const REMOTE_END: IpEndpoint = IpEndpoint { constant
2320 remote: REMOTE_END,
3126 .connect(&mut s.cx, REMOTE_END, (IpvXAddress::UNSPECIFIED, 0)), in test_connect_validation()
3131 .connect(&mut s.cx, REMOTE_END, (IpvXAddress::UNSPECIFIED, 1024)), in test_connect_validation()
3140 .connect(&mut s.cx, REMOTE_END, LOCAL_END) in test_connect_validation()
3150 .connect(&mut s.cx, REMOTE_END, LOCAL_END.port) in test_connect()
3182 assert_eq!(s.socket.connect(&mut s.cx, REMOTE_END, 80), Ok(())); in test_connect_unspecified_local()
3189 s.socket.connect(&mut s.cx, REMOTE_END, (REMOTE_ADDR, 80)), in test_connect_specified_local()
3197 assert_eq!(s.socket.connect(&mut s.cx, REMOTE_END, 80), Ok(())); in test_connect_twice()
3199 s.socket.connect(&mut s.cx, REMOTE_END, 80), in test_connect_twice()
[all …]