Lines Matching defs:spare_mp
2696 mblk_t *spare_mp = NULL;
2728 if ((spare_mp = msgpullup(mp, -1)) == NULL)
2730 if (!ip_hdr_length_nexthdr_v6(spare_mp,
2731 (ip6_t *)(spare_mp->b_rptr + outer_hdr_len),
2734 ipsec_freemsg_chain(spare_mp);
2738 ip6h = (ip6_t *)(spare_mp->b_rptr + outer_hdr_len);
2739 (void) ip_find_hdr_v6(spare_mp, ip6h, B_FALSE, &ipp,
2751 ipsec_freemsg_chain(spare_mp);
2768 ipsec_freemsg_chain(spare_mp);
2779 ipsec_freemsg_chain(spare_mp);
2788 * the spare_mp strategy.
2791 if (spare_mp == NULL &&
2792 (spare_mp = msgpullup(mp, -1)) == NULL) {
2795 transportp = &spare_mp->b_rptr[hdr_len + outer_hdr_len];
2807 ipsec_freemsg_chain(spare_mp);
2824 mblk_t *spare_mp = NULL;
2845 spare_mp = msgpullup(mp, -1);
2846 if (spare_mp == NULL ||
2847 !ip_hdr_length_nexthdr_v6(spare_mp,
2848 (ip6_t *)(spare_mp->b_rptr + outer_hdr_len),
2851 ipsec_freemsg_chain(spare_mp);
2875 ipsec_freemsg_chain(spare_mp); /* Always works, even if NULL */
2884 * the spare_mp strategy.
2888 if (spare_mp == NULL &&
2889 (spare_mp = msgpullup(mp, -1)) == NULL) {
2895 ports = (uint16_t *)&spare_mp->b_rptr[hdr_len + outer_hdr_len];
2909 ipsec_freemsg_chain(spare_mp); /* Always works, even if NULL */