Searched refs:tcp_opt_off (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/qlxgb/ |
H A D | qla_hw.c | 713 uint32_t ehdrlen, hdrlen = 0, ip_hlen, tcp_hlen, tcp_opt_off; in qla_tx_tso() local 733 tcp_opt_off = ehdrlen + sizeof(struct ip) + in qla_tx_tso() 736 if (mp->m_len < tcp_opt_off) { in qla_tx_tso() 737 m_copydata(mp, 0, tcp_opt_off, hdr); in qla_tx_tso() 768 if (mp->m_len < tcp_opt_off) { in qla_tx_tso() 770 m_copydata(mp, tcp_opt_off, in qla_tx_tso() 772 &hdr[tcp_opt_off]); in qla_tx_tso() 785 tcp_opt = &hdr[tcp_opt_off]; in qla_tx_tso() 787 tcp_opt = (uint8_t *)(mp->m_data + tcp_opt_off); in qla_tx_tso()
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_hw.c | 2263 uint32_t ehdrlen, hdrlen, ip_hlen, tcp_hlen, tcp_opt_off; in qla_tx_tso() local 2281 tcp_opt_off = ehdrlen + sizeof(struct ip) + in qla_tx_tso() 2284 if (mp->m_len < tcp_opt_off) { in qla_tx_tso() 2285 m_copydata(mp, 0, tcp_opt_off, hdr); in qla_tx_tso() 2307 tcp_opt_off = ehdrlen + sizeof(struct ip6_hdr) + in qla_tx_tso() 2310 if (mp->m_len < tcp_opt_off) { in qla_tx_tso() 2311 m_copydata(mp, 0, tcp_opt_off, hdr); in qla_tx_tso() 2340 if (mp->m_len < tcp_opt_off) { in qla_tx_tso() 2342 m_copydata(mp, tcp_opt_off, in qla_tx_tso() 2344 &hdr[tcp_opt_off]); in qla_tx_tso()
|