Lines Matching refs:xsid
624 struct xfrm_usersa_id xsid;
631 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xsid));
634 req.xsid.family = preferred_family;
650 xfrm_id_parse(&ignore_saddr, &id, &req.xsid.family, 0,
653 memcpy(&req.xsid.daddr, &id.daddr, sizeof(req.xsid.daddr));
654 req.xsid.spi = id.spi;
655 req.xsid.proto = id.proto;
663 if (req.xsid.family == AF_UNSPEC)
664 req.xsid.family = AF_INET;
702 struct xfrm_usersa_id *xsid;
725 new_n->nlmsg_len = NLMSG_LENGTH(sizeof(*xsid));
730 xsid = NLMSG_DATA(new_n);
731 xsid->family = xsinfo->family;
732 memcpy(&xsid->daddr, &xsinfo->id.daddr, sizeof(xsid->daddr));
733 xsid->spi = xsinfo->id.spi;
734 xsid->proto = xsinfo->id.proto;