The swapping is so trivial, we don't need several extra functions for that - just do it right where the header fields are swapped. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>