Libraries
cfdp_struct_type Struct Reference

Structure of parameters needed for CFDP transaction status. More...

#include <ds_shared.h>

Public Attributes

char source_pathname [256]
 Source path and filename.
 
char destination_pathname [256]
 Destination path and filename.
 
long long eid
 Native CFDP sets the eid to the remote entity ID associated with the transaction. ION CFDP sets the eid to the destinaion eid associated with the transaction.
 
char transaction_id [50]
 The transaction ID string is a combination of the decimal dotted notation EID (NATIVE) or decimal EID (ION) and transaction number (e.g., 1_1, 255.255_2).
 
unsigned short percent_transferred
 Bytes transferred divided by file size. Will reset with packet/PDU retransmissions.
 
long long bytes_transferred
 The current number of bytes transmitted or received.
 
long long file_size
 The size of the file being transferred.
 
time_t start_time
 The transaction start time in seconds that have passed since midnight, 1st January 1970 GMT.
 
time_t finish_time
 The transaction finish time in seconds that have passed since midnight, 1st January 1970 GMT.
 
time_t suspend_time
 The most recent transaction suspend time in seconds that have passed since midnight, 1st January 1970 GMT.
 
time_t resume_time
 The most recent transaction resume time in seconds that have passed since midnight, 1st January 1970 GMT.
 
double transaction_timespan
 The length of time, in seconds, to complete the transaction. Does not include any suspend time.
 
unsigned short nak_count
 The number of NAK PDU's that were sent or received.
 
unsigned char cfdp_message_operation
 Set to 1 if true (e.g., proxy operation message, directory listing operation message ...) otherwise 0.
 
char message [256]
 A message received in a DTN metadata or finished PDU.
 
char cfdp_action_string [32]
 A string describing the CFDP action (e.g. put, create file, delete file ...).
 
long cfdp_filestore_action
 (e.g., CFDP_UNDEFINED_FILESTORE_ACTION_TYPE, CFDP_CREATE_FILE, CFDP_DELETE_FILE, CFDP_RENAME_FILE,...).
 
unsigned long cfdp_configuration
 (e.g., DS_DEVICE_SENDING, DS_DEVICE_RECEIVING).
 
unsigned long cfdp_status
 (e.g., DS_PACKET_SENDING, DS_PACKET_RECEIVING, DS_SUSPEND, DS_RESUME, DS_CANCEL, DS_SUCCESS, DS_FAIL, DS_ABANDON, DS_UNKNOWN, DS_FINISH, DS_MESSAGE).
 
char response_string [32]
 A string describing the response to a proxy transaction request (i.e., a get request).
 

Detailed Description