summaryrefslogtreecommitdiff
path: root/mcast_image.h
blob: e2048b6391eca0d0245506ddaf8254080954d5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdint.h>

#define PKT_SIZE 1400

struct image_pkt_hdr {
	uint32_t totcrc;
	uint32_t nr_blocks;
	uint32_t blocksize;
	uint32_t block_nr;
	uint32_t block_ofs;
	uint32_t thislen;
	uint32_t thiscrc;
};

struct image_pkt {
	struct image_pkt_hdr hdr;
	unsigned char data[PKT_SIZE];
};