I'm guessing those macros expand to something interesting, or MacDot16ServiceFlowDirection is not a variable name?

Also your indentation is lying to you -- all your for loops do is create some...