Arista Networks interview question

4.code the macro offsetof