1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Portmapper v2 ([RFC 1057] appendix A) and rpcbind v3/v4 ([RFC 1833])
//! clients for ONC RPC service discovery.
//!
//! The portmapper (program 100000, port 111) maps a (program, version,
//! protocol) triple onto the TCP or UDP port serving it. `DUMP` returns the
//! entire mapping table to any caller, which makes it the fastest way to
//! enumerate what RPC services a host runs and on which ports.
//!
//! rpcbind extends the portmapper with versioned protocol bindings. Version 3
//! adds `GETTIME` (server clock); version 4 adds `GETSTAT` (per-version
//! operational statistics).
//!
//! This crate depends on [`onc_rpc_client`] for the generic RPC client and
//! transport layer -- the portmapper is program 100000 (a specific RPC
//! service), not part of the RPC machinery itself.
//!
//! [RFC 1057]: https://www.rfc-editor.org/rfc/rfc1057
//! [RFC 1833]: https://www.rfc-editor.org/rfc/rfc1833
/// Well-known RPC program number table.
/// rpcbind v3/v4 types and client ([RFC 1833]).
///
/// [RFC 1833]: https://www.rfc-editor.org/rfc/rfc1833
/// Portmapper v2 XDR types ([RFC 1057] appendix A).
///
/// [RFC 1057]: https://www.rfc-editor.org/rfc/rfc1057
pub use PortmapperClient;
pub use PortmapError;
pub use ;
pub use ;
pub use ;