#include <dtn_types.h>
Public Attributes | |
char | uri [DTN_MAX_ENDPOINT_ID] |
a URI, implemented as a fixed-length char buffer. Note that for efficiency reasons, this fixed length is relatively small (256 bytes).
The alternative is to use the string XDR type but then all endpoint ids would require malloc / free which is more prone to leaks / bugs.
Definition at line 65 of file dtn_types.h.
char dtn_endpoint_id_t::uri[DTN_MAX_ENDPOINT_ID] |
Definition at line 66 of file dtn_types.h.
Referenced by _wrap_dtn_endpoint_id_t_uri_set(), dtn::EndpointID::assign(), build_reginfo(), dtn::EndpointID::copyto(), dtn_build_local_eid(), dtn_cancel(), dtn_copy_eid(), dtn_find_registration(), dtn_parse_eid_string(), dtn_recv(), TcaController::dtn_reg(), dtn_send(), dtn_session_update(), DTNSessionUpdateCommand::exec(), DTNRecvCommand::exec(), DTNSendCommand::exec(), DTNRegisterCommand::exec(), dtntunnel::TCPTunnel::TCPTunnel::Connection::format(), from_bundles(), TcaController::gate_reg(), dtntunnel::TCPTunnel::handle_bundle(), TcaController::handle_coa_sent(), handle_file_transfer(), dtn::APIClient::handle_find_registration(), dtntunnel::DTNTunnel::init_registration(), main(), print_eid(), TcaController::recv_bundle(), TcaController::send_bundle(), TcaEndpointID::TcaEndpointID(), to_bundles(), xdr_dtn_endpoint_id_t(), and XS().