[sr-dev] git:master: core: use offsetof() extension to finding the memory offset of a member of a structure