i dont know this use of struct and pointers

tb_p->data the pointer stored in data.

(struct mac_tb_ind *) (tb_p->data) typecasts the pointer so the compiler knows how to interpret it

((struct mac_tb_ind *) (tb_p->data))->first_bit = 0; the value stored in first_bit is set to 0

Leave a Comment