Home
last modified time | relevance | path

Searched refs:xpl (Results 1 – 6 of 6) sorted by relevance

/freebsd/lib/libipsec/
H A Dipsec_dump_policy.c72 const struct sadb_x_policy *xpl = (const struct sadb_x_policy *)policy; in ipsec_dump_policy() local
82 if (xpl->sadb_x_policy_exttype != SADB_X_EXT_POLICY) { in ipsec_dump_policy()
91 switch (xpl->sadb_x_policy_dir) { in ipsec_dump_policy()
101 switch (xpl->sadb_x_policy_type) { in ipsec_dump_policy()
113 buflen = strlen(ipsp_dir_strs[xpl->sadb_x_policy_dir]) in ipsec_dump_policy()
115 + strlen(ipsp_policy_strs[xpl->sadb_x_policy_type]) in ipsec_dump_policy()
122 snprintf(buf, buflen, "%s %s", ipsp_dir_strs[xpl->sadb_x_policy_dir], in ipsec_dump_policy()
123 ipsp_policy_strs[xpl->sadb_x_policy_type]); in ipsec_dump_policy()
125 if (xpl->sadb_x_policy_type != IPSEC_POLICY_IPSEC) { in ipsec_dump_policy()
131 off = sizeof(*xpl); in ipsec_dump_policy()
[all...]
H A Dpfkey.c1443 struct sadb_x_policy xpl; in pfkey_send_x5() local
1450 + sizeof(xpl); in pfkey_send_x5()
1465 if (p + sizeof(xpl) != ep) { in pfkey_send_x5()
1469 memset(&xpl, 0, sizeof(xpl)); in pfkey_send_x5()
1470 xpl.sadb_x_policy_len = PFKEY_UNIT64(sizeof(xpl)); in pfkey_send_x5()
1471 xpl.sadb_x_policy_exttype = SADB_X_EXT_POLICY; in pfkey_send_x5()
1472 xpl.sadb_x_policy_id = spid; in pfkey_send_x5()
1473 memcpy(p, &xpl, sizeo in pfkey_send_x5()
[all...]
/freebsd/sys/netipsec/
H A Dipsec_pcb.c288 struct sadb_x_policy *xpl; in ipsec_set_pcbpolicy()
292 xpl = (struct sadb_x_policy *)request; in ipsec_set_pcbpolicy()
294 switch (xpl->sadb_x_policy_dir) { in ipsec_set_pcbpolicy()
300 xpl->sadb_x_policy_dir)); in ipsec_set_pcbpolicy()
308 switch (xpl->sadb_x_policy_type) { in ipsec_set_pcbpolicy()
315 newsp = key_msg2sp(xpl, len, &error); in ipsec_set_pcbpolicy()
349 if (xpl->sadb_x_policy_dir == IPSEC_DIR_INBOUND) { in ipsec_set_pcbpolicy()
378 struct sadb_x_policy *xpl; in ipsec_get_pcbpolicy()
382 xpl = (struct sadb_x_policy *)request; in ipsec_get_pcbpolicy()
387 switch (xpl in ipsec_get_pcbpolicy()
273 struct sadb_x_policy *xpl; ipsec_set_pcbpolicy() local
360 struct sadb_x_policy *xpl; ipsec_get_pcbpolicy() local
[all...]
H A Dkey_debug.c528 struct sadb_x_policy *xpl = (struct sadb_x_policy *)ext; in kdebug_sadb_x_policy()
536 xpl->sadb_x_policy_type, xpl->sadb_x_policy_dir, in kdebug_sadb_x_policy()
537 xpl->sadb_x_policy_id, xpl->sadb_x_policy_scope, in kdebug_sadb_x_policy()
538 xpl->sadb_x_policy_scope == IPSEC_POLICYSCOPE_IFNET ? in kdebug_sadb_x_policy()
539 "ifindex": "priority", xpl->sadb_x_policy_priority); in kdebug_sadb_x_policy()
541 if (xpl->sadb_x_policy_type == IPSEC_POLICY_IPSEC) { in kdebug_sadb_x_policy()
545 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl); in kdebug_sadb_x_policy()
523 struct sadb_x_policy *xpl = (struct sadb_x_policy *)ext; kdebug_sadb_x_policy() local
[all...]
H A Dkey.c1857 struct sadb_x_policy *xpl; in key_sp2msg() local
1868 xlen = sizeof(*xpl); in key_sp2msg()
1874 xpl = (struct sadb_x_policy *)request; in key_sp2msg()
1875 xpl->sadb_x_policy_exttype = SADB_X_EXT_POLICY; in key_sp2msg()
1876 xpl->sadb_x_policy_type = sp->policy; in key_sp2msg()
1877 xpl->sadb_x_policy_dir = sp->spidx.dir; in key_sp2msg()
1878 xpl->sadb_x_policy_id = sp->id; in key_sp2msg()
1879 xpl->sadb_x_policy_priority = sp->priority; in key_sp2msg()
1882 xpl->sadb_x_policy_scope = IPSEC_POLICYSCOPE_IFNET; in key_sp2msg()
1885 xpl->sadb_x_policy_scope = IPSEC_POLICYSCOPE_PCB; in key_sp2msg()
[all …]
/freebsd/secure/caroot/trusted/
H A DMicrosoft_RSA_Root_Certificate_Authority_2017.pem133 xpl/j8nWZjEgQRCHLQzWwa80mMpkg/sTV9HB8Dx6jKXB/ZUhoHHBk2dxEuqPiApp