[PATCH v8 14/23] net: split cmd/net.c into cmd/net.c and cmd/net-common.c