lib: implement user space push_eth and pop_eth