Allow arbitrary pkt transforms via func param