Lines Matching refs:xspi
402 struct xfrm_userspi_info xspi;
415 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xspi));
418 req.xspi.info.family = preferred_family;
430 xfrm_mode_parse(&req.xspi.info.mode, &argc, &argv);
433 xfrm_reqid_parse(&req.xspi.info.reqid, &argc, &argv);
436 xfrm_seq_parse(&req.xspi.info.seq, &argc, &argv);
444 if (get_u32(&req.xspi.min, *argv, 0))
453 if (get_u32(&req.xspi.max, *argv, 0))
462 xfrm_id_parse(&req.xspi.info.saddr, &req.xspi.info.id,
463 &req.xspi.info.family, 0, &argc, &argv);
464 if (req.xspi.info.id.spi) {
469 preferred_family = req.xspi.info.family;
484 if (req.xspi.min > req.xspi.max) {
497 req.xspi.min = 0x100;
498 req.xspi.max = 0x0fffffff;
503 if (req.xspi.info.id.proto == IPPROTO_COMP)
504 req.xspi.max = 0xffff;
510 if (req.xspi.info.family == AF_UNSPEC)
511 req.xspi.info.family = AF_INET;