take ofproto from datapath