G-WAN utility functions