Revision 4132f78a transmissionHandler.h

View differences:

transmissionHandler.h
184 184
} __attribute__((packed));
185 185

  
186 186
struct msg_header {
187
	uint8_t msg_type; ///< set to ML_CON_MSG
188
	uint8_t len_mon_data_hdr;
189
	uint8_t len_mon_packet_hdr;
190 187
	uint32_t offset;
191 188
	uint32_t msg_length;
192 189
	int32_t local_con_id;	///> the local connection id
193 190
	int32_t remote_con_id;	///> the remote connection id
194 191
	int32_t msg_seq_num;
192
	uint8_t msg_type; ///< set to ML_CON_MSG
193
	uint8_t len_mon_data_hdr;
194
	uint8_t len_mon_packet_hdr;
195 195
};
196
#define MSG_HEADER_SIZE 23	//TODO: chage this to sizeof
196
#define MSG_HEADER_SIZE (sizeof(struct msg_header))
197 197
#pragma pack(pop)   /* restore original alignment from stack */
198 198

  
199 199
//

Also available in: Unified diff