copied link_state.c to proxy.c, updated *_member functions to remove compilation and linking errors