Lines Matching refs:xfp

1553 print_lt_limits(char *prefix, ike_p1_xform_t *xfp)  in print_lt_limits()  argument
1560 prefix, xfp->p1xf_max_secs, secs2out(xfp->p1xf_max_secs, in print_lt_limits()
1561 secs_str, sizeof (secs_str), SPC_BEGIN), xfp->p1xf_max_kbytes, in print_lt_limits()
1562 bytecnt2out((uint64_t)xfp->p1xf_max_kbytes << 10, byte_str, in print_lt_limits()
1565 "provided %u times%s\n"), prefix, xfp->p1xf_max_keyuses, in print_lt_limits()
1566 xfp->p1xf_max_keyuses == 0 ? " (no limit)" : ""); in print_lt_limits()
1592 print_xform(char *prefix, ike_p1_xform_t *xfp, boolean_t print_lifetimes) in print_xform() argument
1595 authmethstr(xfp->p1xf_auth_meth)); in print_xform()
1597 (void) dump_ealg(xfp->p1xf_encr_alg, stdout); in print_xform()
1598 if (xfp->p1xf_encr_low_bits != 0) { in print_xform()
1599 (void) printf(gettext("(%d..%d)"), xfp->p1xf_encr_low_bits, in print_xform()
1600 xfp->p1xf_encr_high_bits); in print_xform()
1601 } else if ((xfp->p1xf_encr_low_bits == 0) && in print_xform()
1602 (xfp->p1xf_encr_high_bits != 0)) { in print_xform()
1607 (void) printf(gettext("(%d)"), xfp->p1xf_encr_high_bits); in print_xform()
1610 (void) dump_aalg(xfp->p1xf_auth_alg, stdout); in print_xform()
1612 if (xfp->p1xf_prf != 0) in print_xform()
1613 (void) printf(gettext("PRF: %s ; "), prfstr(xfp->p1xf_prf)); in print_xform()
1615 dhstr(xfp->p1xf_dh_group)); in print_xform()
1616 if (xfp->p1xf_pfs == 0) { in print_xform()
1621 prefix, dhstr(xfp->p1xf_pfs)); in print_xform()
1625 print_lt_limits(prefix, xfp); in print_xform()
1629 print_lifetime(char *prefix, ike_p1_xform_t *xfp, ike_p1_stats_t *sp, in print_lifetime() argument
1639 print_lt_limits(prefix, xfp); in print_lifetime()
1654 if (xfp->p1xf_max_kbytes != 0) in print_lifetime()
1657 prefix, xfp->p1xf_max_kbytes - sp->p1stat_kbytes, in print_lifetime()
1658 bytecnt2out((uint64_t)(xfp->p1xf_max_kbytes - in print_lifetime()
1662 if (xfp->p1xf_max_keyuses != 0) in print_lifetime()
1665 xfp->p1xf_max_keyuses - sp->p1stat_keyuses); in print_lifetime()
1667 if (xfp->p1xf_max_secs != 0) { in print_lifetime()
1668 exp = (time_t)sp->p1stat_start + (time_t)xfp->p1xf_max_secs; in print_lifetime()
2111 ike_p1_xform_t *xfp; in print_rule() local
2185 xfp = (ike_p1_xform_t *)((int)rp + rp->rule_xform_off); in print_rule()
2186 for (i = 0; i < rp->rule_xform_cnt; i++, xfp++) { in print_rule()
2188 print_xform(prefix, xfp, B_TRUE); in print_rule()