Searched refs:TCP_HDR_LENGTH (Results 1 – 14 of 14) sorted by relevance
82 #define TCP_HDR_LENGTH(tcph) (((tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2)) macro95 (n) += TCP_HDR_LENGTH((tcph_t *)&(mp)->b_rptr[(n)])
440 return (TCP_HDR_LENGTH((tcph_t *)(pkt + IPH_HDR_LENGTH(pkt)))); in tcp_header_len()2031 endp = up + TCP_HDR_LENGTH(tcph); in tcp_parse_options()2375 if (TCP_HDR_LENGTH(tcph) == (uint32_t)TCP_MIN_HEADER_LENGTH + in tcp_paws_check()2662 (ip_hdr_len + TCP_HDR_LENGTH(((tcph_t *)tcph))); in tcp_rput_data()2944 mp->b_rptr = (uchar_t *)tcph + TCP_HDR_LENGTH((tcph_t *)tcph); in tcp_rput_data()6087 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcph) + ip_hdr_len); in tcp_xmit_listeners_reset()
108 #define TCP_HDR_LENGTH(tcph) \ macro123 (n) += TCP_HDR_LENGTH((tcpha_t *)&(mp)->b_rptr[(n)])
122 tcpLen = TCP_HDR_LENGTH((tcph_t *)tcp); in vmxnet3_tx_prepare_offload()
373 endp = up + TCP_HDR_LENGTH(tcpha); in tcp_parse_options()379 if (TCP_HDR_LENGTH(tcpha) == (uint32_t)TCP_MIN_HEADER_LENGTH + in tcp_parse_options()2563 (ip_hdr_len + TCP_HDR_LENGTH(tcpha)); in tcp_input_data()2634 mp->b_wptr = (uchar_t *)tcpha + TCP_HDR_LENGTH(tcpha); in tcp_input_data()3044 mp->b_rptr = (uchar_t *)tcpha + TCP_HDR_LENGTH(tcpha); in tcp_input_data()
2817 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcpha) + ip_hdr_len); in tcp_xmit_listeners_reset()
753 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in ixgbe_get_context()
757 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in igb_get_tx_context()
817 tcp_hdr_len = TCP_HDR_LENGTH((tcph_t *)tcp_start); in eib_data_setup_lso()
542 + TCP_HDR_LENGTH((tcph_t *)tcp_start); in e1000g_retrieve_context()
884 pktinfo->l4_hlen = TCP_HDR_LENGTH(tcp_hdr); in qede_pkt_parse_lso_headers()
807 otcphlen = TCP_HDR_LENGTH(otcph); in mac_sw_lso()
709 TCP_HDR_LENGTH((tcph_t *)tcpha); in update_conn_tcp()
6609 tcph_len = TCP_HDR_LENGTH((tcph_t *)tcp_start); in ibd_setup_lso()