can anyone help me what does this line of code do:
((struct mac_tb_ind *) (tb_p->data))->first_bit = 0;
the structs are defined below:(tb_p is of kind of mem_block_t)
struct mac_tb_ind {
unsigned char *data_ptr;
unsigned short size;
unsigned char error_indication;
unsigned char first_bit;
};
typedef struct mem_block_t {
struct mem_block_t *next;
struct mem_block_t *previous;
unsigned char pool_id;
unsigned char *data;
} mem_block_t;