SUNRPC xid RPC xid initialization and sequencing started the fuss State Of The Art in 1996: call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec; ... ((struct rpc_msg *)clp->mashl_callmsg)->rm_xid ++ ; oh wait... the FreeBSD tree as of today: #define __RPC_GETXID(now) ((u_int32_t)getpid() ^ (u_int32_t)(now)->tv_sec ^ (u_int32_t)(now)->tv_usec) ... xid++;