Why do you think of cancer? The only complaint is swelling back of skull. Base of skull is different entity. Partly hard partly soft swelling may be due to some infection also. So a clinical examination is necessary. You should consult a general surgeon
. Site, size, shape, tenderness, skin fixity , overlying skin condition should be carefully examined. Right now nothing to think about cancer. Take care.