net/szedata2: move ibuf and obuf to specific header