[PATCH v7 12/20] net: split cmd/net.c into cmd/net.c and cmd/net-common.c