inet: prepare net on the stack for NET accounting macros