convert per-descriptor/per-packet methods to function pointers in the shared context