[PATCH] ipsec: move pool function in a seperated file