dtn_endpoint_id_t Struct Reference

#include <dtn_types.h>

List of all members.


Detailed Description

Specification of a dtn endpoint id, i.e.

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 68 of file dtn_types.h.


Public Attributes

char uri [DTN_MAX_ENDPOINT_ID]

Member Data Documentation

char dtn_endpoint_id_t::uri[DTN_MAX_ENDPOINT_ID]

Definition at line 69 of file dtn_types.h.

Referenced by dtn::EndpointID::assign(), dtn::EndpointID::copyto(), dtn_copy_eid(), dtn_parse_eid_string(), TcaController::dtn_reg(), DTNSendCommand::exec(), DTNRegisterCommand::exec(), from_bundles(), TcaController::gate_reg(), TcaController::handle_coa_sent(), dtn::APIClient::handle_find_registration(), dtntunnel::DTNTunnel::init_registration(), main(), print_eid(), TcaController::recv_bundle(), TcaController::send_bundle(), TcaEndpointID::TcaEndpointID(), to_bundles(), and xdr_dtn_endpoint_id_t().


The documentation for this struct was generated from the following file:
Generated on Sat Sep 8 08:36:20 2007 for DTN Reference Implementation by  doxygen 1.5.3