Home
last modified time | relevance | path

Searched refs:TCP_HDR_LENGTH (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/stand/lib/tcp/
H A Dtcp_inet.h82 #define TCP_HDR_LENGTH(tcph) (((tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2)) macro
95 (n) += TCP_HDR_LENGTH((tcph_t *)&(mp)->b_rptr[(n)])
H A Dtcp.c441 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()
/titanic_50/usr/src/uts/common/inet/
H A Dtcp.h105 #define TCP_HDR_LENGTH(tcph) \ macro
120 (n) += TCP_HDR_LENGTH((tcpha_t *)&(mp)->b_rptr[(n)])
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c242 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()
H A Dtcp_output.c2758 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcpha) + ip_hdr_len); in tcp_xmit_listeners_reset()
/titanic_50/usr/src/uts/common/io/igb/
H A Digb_tx.c739 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in igb_get_tx_context()
/titanic_50/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c854 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in ixgbe_get_context()
/titanic_50/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c817 tcp_hdr_len = TCP_HDR_LENGTH((tcph_t *)tcp_start); in eib_data_setup_lso()
/titanic_50/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c542 + TCP_HDR_LENGTH((tcph_t *)tcp_start); in e1000g_retrieve_context()
/titanic_50/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c705 TCP_HDR_LENGTH((tcph_t *)tcpha); in update_conn_tcp()
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c2622 ctrl |= V_LSO_TCPHDR_LEN(TCP_HDR_LENGTH((tcph_t *)p) / 4); in write_txpkt_wr()
/titanic_50/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c6609 tcph_len = TCP_HDR_LENGTH((tcph_t *)tcp_start); in ibd_setup_lso()