Home
last modified time | relevance | path

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

/illumos-gate/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.c440 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()
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp.h108 #define TCP_HDR_LENGTH(tcph) \ macro
123 (n) += TCP_HDR_LENGTH((tcpha_t *)&(mp)->b_rptr[(n)])
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c122 tcpLen = TCP_HDR_LENGTH((tcph_t *)tcp); in vmxnet3_tx_prepare_offload()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c373 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()
H A Dtcp_output.c2817 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcpha) + ip_hdr_len); in tcp_xmit_listeners_reset()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c753 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in ixgbe_get_context()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_tx.c757 l4_hdr_len = TCP_HDR_LENGTH((tcph_t *)pos); in igb_get_tx_context()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c542 + TCP_HDR_LENGTH((tcph_t *)tcp_start); in e1000g_retrieve_context()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c884 pktinfo->l4_hlen = TCP_HDR_LENGTH(tcp_hdr); in qede_pkt_parse_lso_headers()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c807 otcphlen = TCP_HDR_LENGTH(otcph); in mac_sw_lso()
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c709 TCP_HDR_LENGTH((tcph_t *)tcpha); in update_conn_tcp()
/illumos-gate/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()