Searched refs:TCP_HDR_LENGTH (Results 1 – 12 of 12) 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)])
441 return (TCP_HDR_LENGTH((tcph_t *)(pkt + IPH_HDR_LENGTH(pkt)))); in tcp_header_len()2032 endp = up + TCP_HDR_LENGTH(tcph); in tcp_parse_options()2376 if (TCP_HDR_LENGTH(tcph) == (uint32_t)TCP_MIN_HEADER_LENGTH + in tcp_paws_check()2663 (ip_hdr_len + TCP_HDR_LENGTH(((tcph_t *)tcph))); in tcp_rput_data()2945 mp->b_rptr = (uchar_t *)tcph + TCP_HDR_LENGTH((tcph_t *)tcph); in tcp_rput_data()6088 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcph) + ip_hdr_len); in tcp_xmit_listeners_reset()
105 #define TCP_HDR_LENGTH(tcph) \ macro120 (n) += TCP_HDR_LENGTH((tcpha_t *)&(mp)->b_rptr[(n)])
242 endp = up + TCP_HDR_LENGTH(tcpha); in tcp_parse_options()248 if (TCP_HDR_LENGTH(tcpha) == (uint32_t)TCP_MIN_HEADER_LENGTH + in tcp_parse_options()2384 (ip_hdr_len + TCP_HDR_LENGTH(tcpha)); in tcp_input_data()2455 mp->b_wptr = (uchar_t *)tcpha + TCP_HDR_LENGTH(tcpha); in tcp_input_data()2858 mp->b_rptr = (uchar_t *)tcpha + TCP_HDR_LENGTH(tcpha); in tcp_input_data()
2758 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcpha) + ip_hdr_len); in tcp_xmit_listeners_reset()
739 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in igb_get_tx_context()
854 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in ixgbe_get_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()
705 TCP_HDR_LENGTH((tcph_t *)tcpha); in update_conn_tcp()
2622 ctrl |= V_LSO_TCPHDR_LEN(TCP_HDR_LENGTH((tcph_t *)p) / 4); in write_txpkt_wr()
6609 tcph_len = TCP_HDR_LENGTH((tcph_t *)tcp_start); in ibd_setup_lso()