Lines Matching defs:xpl
288 struct sadb_x_policy *xpl;
292 xpl = (struct sadb_x_policy *)request;
294 switch (xpl->sadb_x_policy_dir) {
300 xpl->sadb_x_policy_dir));
308 switch (xpl->sadb_x_policy_type) {
315 newsp = key_msg2sp(xpl, len, &error);
349 if (xpl->sadb_x_policy_dir == IPSEC_DIR_INBOUND) {
378 struct sadb_x_policy *xpl;
382 xpl = (struct sadb_x_policy *)request;
387 switch (xpl->sadb_x_policy_dir) {
399 xpl->sadb_x_policy_dir));
406 xpl->sadb_x_policy_exttype = SADB_X_EXT_POLICY;
407 xpl->sadb_x_policy_type = IPSEC_POLICY_ENTRUST;
408 xpl->sadb_x_policy_id = 0;
409 xpl->sadb_x_policy_priority = 0;
410 xpl->sadb_x_policy_len = PFKEY_UNIT64(sizeof(*xpl));
411 *len = sizeof(*xpl);