Field line resonances and surface wave structures in the magnetosphere – similarity and differences