ip_impl.h (592d29ab) | ip_impl.h (c793af95) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 117 unchanged lines hidden (view full) --- 126 */ \ 127 if ((ill) != NULL && ILL_HCKSUM_CAPABLE(ill) && \ 128 !((ire)->ire_flags & RTF_MULTIRT) && \ 129 (!((ire)->ire_type & (IRE_BROADCAST|IRE_MIPRTUN)) || \ 130 (ill)->ill_type == IFT_ETHER) && \ 131 (ipsec_len) == 0 && \ 132 (((ire)->ire_ipversion == IPV4_VERSION && \ 133 (start) == IP_SIMPLE_HDR_LENGTH && \ | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 117 unchanged lines hidden (view full) --- 126 */ \ 127 if ((ill) != NULL && ILL_HCKSUM_CAPABLE(ill) && \ 128 !((ire)->ire_flags & RTF_MULTIRT) && \ 129 (!((ire)->ire_type & (IRE_BROADCAST|IRE_MIPRTUN)) || \ 130 (ill)->ill_type == IFT_ETHER) && \ 131 (ipsec_len) == 0 && \ 132 (((ire)->ire_ipversion == IPV4_VERSION && \ 133 (start) == IP_SIMPLE_HDR_LENGTH && \ |
134 (ire)->ire_fp_mp != NULL && \ 135 MBLKHEAD(mp) >= MBLKL((ire)->ire_fp_mp)) || \ | 134 ((ire)->ire_nce != NULL && \ 135 (ire)->ire_nce->nce_fp_mp != NULL && \ 136 MBLKHEAD(mp) >= MBLKL((ire)->ire_nce->nce_fp_mp))) || \ |
136 ((ire)->ire_ipversion == IPV6_VERSION && \ 137 (start) == IPV6_HDR_LEN && \ 138 (ire)->ire_nce->nce_fp_mp != NULL && \ 139 MBLKHEAD(mp) >= MBLKL((ire)->ire_nce->nce_fp_mp))) && \ 140 (max_frag) >= (uint_t)((end) + (ipsec_len)) && \ 141 dohwcksum) { \ 142 _hck_flags = (ill)->ill_hcksum_capab->ill_hcksum_txflags; \ 143 } else { \ --- 357 unchanged lines hidden --- | 137 ((ire)->ire_ipversion == IPV6_VERSION && \ 138 (start) == IPV6_HDR_LEN && \ 139 (ire)->ire_nce->nce_fp_mp != NULL && \ 140 MBLKHEAD(mp) >= MBLKL((ire)->ire_nce->nce_fp_mp))) && \ 141 (max_frag) >= (uint_t)((end) + (ipsec_len)) && \ 142 dohwcksum) { \ 143 _hck_flags = (ill)->ill_hcksum_capab->ill_hcksum_txflags; \ 144 } else { \ --- 357 unchanged lines hidden --- |