Lines Matching refs:xmep
956 struct xid_map_entry *xmep; in xid_map_enter() local
971 xmep = &xid_map[xid_map_next]; in xid_map_enter()
976 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_enter()
978 xmep->ipver = 4; in xid_map_enter()
979 UNALIGNED_MEMCPY(&xmep->client, ip->ip_src, in xid_map_enter()
981 UNALIGNED_MEMCPY(&xmep->server, ip->ip_dst, in xid_map_enter()
984 xmep->ipver = 6; in xid_map_enter()
985 UNALIGNED_MEMCPY(&xmep->client, ip6->ip6_src, in xid_map_enter()
987 UNALIGNED_MEMCPY(&xmep->server, ip6->ip6_dst, in xid_map_enter()
990 xmep->proc = GET_BE_U_4(&rp->rm_call.cb_proc); in xid_map_enter()
991 xmep->vers = GET_BE_U_4(&rp->rm_call.cb_vers); in xid_map_enter()
1004 struct xid_map_entry *xmep; in xid_map_find() local
1010 UNALIGNED_MEMCPY(&xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_find()
1014 xmep = &xid_map[i]; in xid_map_find()
1016 if (xmep->ipver != IP_V(ip) || xmep->xid != xid) in xid_map_find()
1018 switch (xmep->ipver) { in xid_map_find()
1020 if (UNALIGNED_MEMCMP(ip->ip_src, &xmep->server, in xid_map_find()
1022 UNALIGNED_MEMCMP(ip->ip_dst, &xmep->client, in xid_map_find()
1028 if (UNALIGNED_MEMCMP(ip6->ip6_src, &xmep->server, in xid_map_find()
1030 UNALIGNED_MEMCMP(ip6->ip6_dst, &xmep->client, in xid_map_find()
1042 *proc = xmep->proc; in xid_map_find()
1043 *vers = xmep->vers; in xid_map_find()