On Wed, 12 Oct 2016 21:01:54 +0800, zhuyj wrote: > How to explain the following source code? As you mentioned, are the > #ifdefs in the following source pointless?
They are not, the code would not compile without them. Look how struct vxlan_dev is defined. Those are really basic questions you have. I suggest you try yourself before asking such questions next time. In this case, you could trivially remove the #ifdef and see for yourself, as I explained in the previous email. Please do not try to offload your homework to other people. It's very obvious you didn't even try to understand this, even after the feedback you received. And do not top post. Thanks, Jiri