Commit 57c1b459 by Georg von Zengen

uDTNSec: started code cleanup

parent 75c707e7
......@@ -134,16 +134,16 @@ struct bundle_t{
uint32_t rec_time;
uint32_t flags; // ??? mutable??
uint32_t flags; //mutable
uint32_t dst_node; //non mutable
uint32_t dst_srv; //non mutable
uint32_t src_node; //non mutable
uint32_t src_srv; //non mutable
uint32_t rep_node; //non mutable ??
uint32_t rep_srv; //non mutable ??
uint32_t rep_node; //non mutable
uint32_t rep_srv; //non mutable
uint32_t cust_node; //mutable
uint32_t cust_srv; //mutable
uint32_t tstamp; //non mutable
uint32_t tstamp; //non mutable
uint32_t tstamp_seq;
uint32_t lifetime;
......
......@@ -19,7 +19,6 @@
#include "contiki.h"
#include "process.h"
//#include "cpu/avr/watchdog.c"
#include "lib/random.h"
#include "net/uDTN/bundle.h"
#include "net/uDTN/agent.h"
......@@ -48,7 +47,6 @@
* @return 1 if the bundle is sended -1 if there wasend enough bundle memory
*
*/
//TODO: maybe we shall accept an mmem with presettet flags but for now this is not possible
int send_bundle_payload_and_pib (uint32_t destination_node, uint32_t destination_service, uint8_t * payload, uint8_t length,uint8_t privateKey_sender[NUM_ECC_DIGITS]);
......@@ -64,7 +62,6 @@ int send_bundle_payload_and_pib (uint32_t destination_node, uint32_t destination
* @return 1 if the bundle is sended -1 if there wasend enough bundle memory
*
*/
//TODO: maybe we shall accept an mmem with presettet flags but for now this is not possible
int send_bundle_payload_and_pib_and_pcb (uint32_t destination_node, uint32_t destination_service, uint8_t * payload, uint8_t length, uint8_t privateKey_sender[NUM_ECC_DIGITS], EccPoint publicKey_Receiver);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment