IXSEQ_TO_IPCID
#define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))
#define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | ((ix) & 0xffff))