Lines Matching defs:ixa
1821 esp_do_outbound_ah(mblk_t *data_mp, ip_xmit_attr_t *ixa)
1825 ap = ixa->ixa_ipsec_action;
1827 ipsec_policy_t *pp = ixa->ixa_ipsec_policy;
1838 if (ixa->ixa_ipsec_ah_sa == NULL) {
1839 if (!ipsec_outbound_sa(data_mp, ixa, IPPROTO_AH)) {
1840 sadb_acquire(data_mp, ixa, B_TRUE, B_FALSE);
1844 ASSERT(ixa->ixa_ipsec_ah_sa != NULL);
1846 data_mp = ixa->ixa_ipsec_ah_sa->ipsa_output_func(data_mp, ixa);
2392 esp_submit_req_outbound(mblk_t *data_mp, ip_xmit_attr_t *ixa, ipsa_t *assoc,
2408 netstack_t *ns = ixa->ixa_ipst->ips_netstack;
2413 ill_t *ill = ixa->ixa_nce->nce_ill;
2455 if ((mp = ip_xmit_attr_to_mblk(ixa)) == NULL ||
2606 esp_outbound(mblk_t *data_mp, ip_xmit_attr_t *ixa)
2622 netstack_t *ns = ixa->ixa_ipst->ips_netstack;
2625 ill_t *ill = ixa->ixa_nce->nce_ill;
2651 assoc = ixa->ixa_ipsec_esp_sa;
2661 * We allocate a separate ixa for that purpose.
2663 ixa = ip_xmit_attr_duplicate(ixa);
2664 if (ixa == NULL) {
2673 ip_xmit_attr_replace_tsl(ixa, assoc->ipsa_otsl);
2675 data_mp = sadb_whack_label(data_mp, assoc, ixa,
2679 ixa_refrele(ixa);
2689 if (ixa->ixa_flags & IXAF_IS_IPV4) {
2784 ixa_refrele(ixa);
2797 ixa_refrele(ixa);
2840 ixa_refrele(ixa);
2871 ixa_refrele(ixa);
2881 if (ixa->ixa_flags & IXAF_IS_IPV4) {
2911 ixa_refrele(ixa);
2928 ixa_refrele(ixa);
2960 data_mp = esp_submit_req_outbound(data_mp, ixa, assoc, icv_buf,
2963 ixa_refrele(ixa);
3527 esp_outbound_finish(mblk_t *data_mp, ip_xmit_attr_t *ixa)
3529 netstack_t *ns = ixa->ixa_ipst->ips_netstack;
3532 ill_t *ill = ixa->ixa_nce->nce_ill;
3534 if (!ipsec_outbound_sa(data_mp, ixa, IPPROTO_ESP)) {
3543 data_mp = esp_outbound(data_mp, ixa);
3548 data_mp = esp_do_outbound_ah(data_mp, ixa);
3552 (void) ip_output_post_ipsec(data_mp, ixa);