ipsecdoi_updatespi
extern int ipsecdoi_updatespi(struct ph2handle *iph2);
if (ipsecdoi_updatespi(iph2) < 0) {