Cross-layer QoS for IP-based hybrid satellite-terrestrial networks