/titanic_50/usr/src/uts/common/ipp/dscpmk/ |
H A D | dscpmk.c | 75 if ((mp->b_wptr - mp->b_rptr) < IP_SIMPLE_HDR_LENGTH) { in dscpmk_process() 76 if (!pullupmsg(mp, IP_SIMPLE_HDR_LENGTH)) { in dscpmk_process()
|
/titanic_50/usr/src/uts/common/ipp/meters/ |
H A D | tswtcl.c | 91 if ((mp->b_wptr - mp->b_rptr) < IP_SIMPLE_HDR_LENGTH) { in tswtcl_process() 92 if (!pullupmsg(mp, IP_SIMPLE_HDR_LENGTH)) { in tswtcl_process()
|
H A D | tokenmt.c | 101 if ((mp->b_wptr - mp->b_rptr) < IP_SIMPLE_HDR_LENGTH) { in tokenmt_process() 102 if (!pullupmsg(mp, IP_SIMPLE_HDR_LENGTH)) { in tokenmt_process()
|
/titanic_50/usr/src/uts/common/netinet/ |
H A D | pim.h | 98 #define PIM_REG_MINLEN (PIM_MINLEN + IP_SIMPLE_HDR_LENGTH)
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 148 if (totallen < IP_SIMPLE_HDR_LENGTH || totallen > MBLKL(mp)) in tsol_get_option_v4() 150 totallen -= IP_SIMPLE_HDR_LENGTH; in tsol_get_option_v4() 560 remlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_remove_secopt() 658 remlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_prepend_option() 774 olen = (toptr - tempopt) + IP_SIMPLE_HDR_LENGTH; in tsol_prepend_option() 784 bcopy(tempopt, ipha + 1, olen - IP_SIMPLE_HDR_LENGTH); in tsol_prepend_option() 864 hlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_check_label_v4()
|
H A D | ip_input.c | 305 if (!OK_32PTR(ipha) || MBLKL(mp) < IP_SIMPLE_HDR_LENGTH) { in ip_input_common_v4() 306 mp = ip_check_and_align_header(mp, IP_SIMPLE_HDR_LENGTH, in ip_input_common_v4() 594 IP_SIMPLE_HDR_LENGTH, ira); in ill_input_short_v4() 733 ira->ira_ip_hdr_length = IP_SIMPLE_HDR_LENGTH; in ill_input_short_v4() 1097 if (ira->ira_ip_hdr_length != IP_SIMPLE_HDR_LENGTH) in ire_recv_forward_v4()
|
H A D | icmp.c | 3080 ip_hdr_length = IP_SIMPLE_HDR_LENGTH; in icmp_output_hdrincl() 3081 if ((mp->b_wptr - mp->b_rptr) < IP_SIMPLE_HDR_LENGTH) { in icmp_output_hdrincl() 3082 if (!pullupmsg(mp, IP_SIMPLE_HDR_LENGTH)) { in icmp_output_hdrincl() 3204 mp->b_rptr += IP_SIMPLE_HDR_LENGTH; in icmp_output_hdrincl() 4293 if (MBLKL(data_mp) < IP_SIMPLE_HDR_LENGTH) { in icmp_wput() 4294 if (!pullupmsg(data_mp, IP_SIMPLE_HDR_LENGTH)) { in icmp_wput() 5659 if (mp->b_wptr - mp->b_rptr < IP_SIMPLE_HDR_LENGTH) { in rawip_send() 5660 if (!pullupmsg(mp, IP_SIMPLE_HDR_LENGTH)) { in rawip_send()
|
H A D | ip_mroute.c | 1595 (uint_t)(IP_SIMPLE_HDR_LENGTH + TUNNEL_LEN) >> 2 || in ip_mforward() 2621 if (mp->b_wptr - mp->b_rptr < hlen + IP_SIMPLE_HDR_LENGTH) { in ip_mroute_decap() 2622 ipha = ip_pullup(mp, hlen + IP_SIMPLE_HDR_LENGTH, ira); in ip_mroute_decap()
|
H A D | ip.c | 1759 if ((uchar_t *)ipha + IP_SIMPLE_HDR_LENGTH > mp->b_wptr) in icmp_inbound_verify_v4() 2202 if (mp->b_wptr - mp->b_rptr < IP_SIMPLE_HDR_LENGTH) in icmp_inbound_error_fanout_v4() 2258 if (mp->b_wptr - mp->b_rptr < IP_SIMPLE_HDR_LENGTH) in icmp_inbound_error_fanout_v4() 11890 if (hdr_len == IP_SIMPLE_HDR_LENGTH || offset != 0) { in ip_fragment_copyhdr() 11896 bcopy(rptr, up, IP_SIMPLE_HDR_LENGTH); in ip_fragment_copyhdr() 11897 up += IP_SIMPLE_HDR_LENGTH; in ip_fragment_copyhdr() 11898 rptr += IP_SIMPLE_HDR_LENGTH; in ip_fragment_copyhdr() 11899 hdr_len -= IP_SIMPLE_HDR_LENGTH; in ip_fragment_copyhdr() 11922 for (hdr_len = up - (mp->b_rptr + IP_SIMPLE_HDR_LENGTH); in ip_fragment_copyhdr() 13544 len = IP_SIMPLE_HDR_LENGTH; in ip_total_hdrs_len_v4()
|
H A D | ipsecah.c | 3213 size = IP_SIMPLE_HDR_LENGTH + sizeof (ah_t) + ah_align_sz + in ah_process_ip_options_v4() 3259 ip_hdr_length = IP_SIMPLE_HDR_LENGTH; in ah_process_ip_options_v4()
|
H A D | tnet.c | 703 ASSERT(MBLKL(mp) >= IP_SIMPLE_HDR_LENGTH); in tsol_get_pkt_label()
|
/titanic_50/usr/src/stand/lib/inet/ |
H A D | ipv4_impl.h | 78 #define IP_SIMPLE_HDR_LENGTH 20 macro
|
/titanic_50/usr/src/uts/common/inet/ |
H A D | ip_impl.h | 165 (((uchar_t *)ipha + IP_SIMPLE_HDR_LENGTH) >= (mp)->b_wptr))
|
H A D | tcp.h | 108 #define TCP_MAX_IP_OPTIONS_LENGTH (60 - IP_SIMPLE_HDR_LENGTH)
|
H A D | ip.h | 117 #define IP_SIMPLE_HDR_LENGTH 20 macro 120 #define IP_MAX_OPT_LENGTH (IP_MAX_HDR_LENGTH-IP_SIMPLE_HDR_LENGTH)
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 208 IP_SIMPLE_HDR_LENGTH); in mac_fix_cksum() 214 IP_SIMPLE_HDR_LENGTH); in mac_fix_cksum() 229 IP_SIMPLE_HDR_LENGTH; in mac_fix_cksum() 242 cksum = IP_CSUM(mp, IP_SIMPLE_HDR_LENGTH + in mac_fix_cksum()
|
/titanic_50/usr/src/stand/lib/tcp/ |
H A D | tcp_inet.h | 84 #define TCP_MAX_IP_OPTIONS_LENGTH (60 - IP_SIMPLE_HDR_LENGTH)
|
H A D | tcp.c | 1814 iph->ip_sum = htons(len - IP_SIMPLE_HDR_LENGTH); in tcp_verify_cksum() 1819 len - IP_SIMPLE_HDR_LENGTH + 12)) { in tcp_verify_cksum() 2343 (IP_SIMPLE_HDR_LENGTH + TCP_MIN_HEADER_LENGTH); in tcp_process_options() 2648 if (ip_hdr_len != IP_SIMPLE_HDR_LENGTH) { in tcp_rput_data() 5866 u1 = tcp->tcp_if_mtu - IP_SIMPLE_HDR_LENGTH - in tcp_xmit_mp() 6141 for (i = IP_SIMPLE_HDR_LENGTH; i < (int)ip_hdr_len; i++) in tcp_xmit_early_reset() 6224 iph->ip_sum = htons(len - IP_SIMPLE_HDR_LENGTH); in tcp_set_cksum() 6227 len - IP_SIMPLE_HDR_LENGTH + 12); in tcp_set_cksum()
|
/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_shutdown.c | 279 for (i = IP_SIMPLE_HDR_LENGTH; i < (int)ip_hdr_len; i++) in sctp_ootb_shutdown_ack()
|
H A D | sctp_error.c | 369 for (i = IP_SIMPLE_HDR_LENGTH; i < (int)ip_hdr_len; i++) in sctp_ootb_send_abort()
|
H A D | sctp_impl.h | 181 #define SCTP_MAX_IP_OPTIONS_LENGTH (60 - IP_SIMPLE_HDR_LENGTH)
|
/titanic_50/usr/src/uts/common/xen/io/ |
H A D | xnf.c | 1403 ASSERT(IPH_HDR_LENGTH(ipha) == IP_SIMPLE_HDR_LENGTH); in xnf_pseudo_cksum() 1405 len = ntohs(ipha->ipha_length) - IP_SIMPLE_HDR_LENGTH; in xnf_pseudo_cksum() 1409 stuff = IPH_TCPH_CHECKSUMP(ipha, IP_SIMPLE_HDR_LENGTH); in xnf_pseudo_cksum() 1413 stuff = IPH_UDPH_CHECKSUMP(ipha, IP_SIMPLE_HDR_LENGTH); in xnf_pseudo_cksum()
|
H A D | xnb.c | 325 start = IP_SIMPLE_HDR_LENGTH; in xnb_process_cksum_flags() 365 cksum += length - IP_SIMPLE_HDR_LENGTH; in xnb_process_cksum_flags()
|
/titanic_50/usr/src/uts/common/inet/nca/ |
H A D | nca.h | 1335 char tcp_u_buf[IP_SIMPLE_HDR_LENGTH+TCP_MIN_HEADER_LENGTH];
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 2536 for (i = IP_SIMPLE_HDR_LENGTH; i < (int)ip_hdr_len; i++) in tcp_xmit_early_reset() 2832 IP_SIMPLE_HDR_LENGTH : IPV6_HDR_LEN) - TCP_MIN_HEADER_LENGTH; in tcp_xmit_mp_aux_iss()
|