Which three functions are performed by the dataplane?