Committer: Tim Just <tim.just@xxxxxxxxxxxxxx> Date: Mon Feb 22 10:56:58 2010 +0100 Revision: 3540 Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: tiny Log: Moved struct hip_packet_context to lib/core/state.h and added member declarations. The struct now contains: - The received message - Source address - Destination address - Ports - The corresponding entry from the host association database Modified: M lib/core/state.h M lib/modularization/modularization.h === modified file 'lib/core/state.h' --- lib/core/state.h 2010-02-19 18:05:57 +0000 +++ lib/core/state.h 2010-02-22 09:56:58 +0000 @@ -518,6 +518,17 @@ struct timeval bex_duration; }; +/** + * @todo add description + */ +struct hip_packet_context { + struct hip_common *msg; + struct in6_addr *src_addr; + struct in6_addr *dst_addr; + struct hip_stateless_info *msg_info; + struct hip_hadb_state *hadb_entry; +}; + struct hip_turn_info { uint32_t spi; === modified file 'lib/modularization/modularization.h' --- lib/modularization/modularization.h 2010-02-19 18:05:57 +0000 +++ lib/modularization/modularization.h 2010-02-22 09:56:58 +0000 @@ -18,14 +18,6 @@ /** * @todo add description */ -struct hip_packet_context { - - -}; - -/** - * @todo add description - */ struct modular_state { hip_ll_t *item_list; char **item_names;