getspbyspid
sp = getspbyspid(iph2->spid);
sp_out = getspbyspid(xpl->sadb_x_policy_id);
struct secpolicy *getspbyspid(uint32_t);