hi,Dutta! Thanx your reply. But I mean I want to define a global variable in C++ code, so that my mac layer and net-if layer will both use the same one? Thanx a lot for your help. - Kai