Lines Matching defs:xpid
405 struct xfrm_userpolicy_id xpid;
413 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xpid));
424 xfrm_policy_dir_parse(&req.xpid.dir, &argc, &argv);
432 if (get_u32(&req.xpid.index, *argv, 0))
440 xfrm_selector_parse(&req.xpid.sel, &argc, &argv);
442 preferred_family = req.xpid.sel.family;
463 if (req.xpid.sel.family == AF_UNSPEC)
464 req.xpid.sel.family = AF_INET;
509 struct xfrm_userpolicy_id *xpid;
532 new_n->nlmsg_len = NLMSG_LENGTH(sizeof(*xpid));
537 xpid = NLMSG_DATA(new_n);
538 memcpy(&xpid->sel, &xpinfo->sel, sizeof(xpid->sel));
539 xpid->dir = xpinfo->dir;
540 xpid->index = xpinfo->index;