specific parts to krping_dev.c, which leaves the other files as close to their upstream versions as possible.