Searched refs:tcp_hlen (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/sys/dev/qlxgb/
H A Dqla_hw.c718 uint32_t ehdrlen, hdrlen = 0, ip_hlen, tcp_hlen, tcp_opt_off; local
768 tcp_hlen = th->th_off << 2;
770 hdrlen = ehdrlen + ip_hlen + tcp_hlen;
774 if (tcp_hlen > sizeof(struct tcphdr)) {
776 (tcp_hlen - sizeof(struct tcphdr)),
786 if ((tcp_hlen - sizeof(struct tcphdr)) != 10)
/freebsd-13-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c504 int ip_hlen, tcp_hlen; local
545 tcp_hlen = th->th_off << 2;
546 eth_hdr_len += tcp_hlen;
/freebsd-13-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c250 int ip_hlen, tcp_hlen; local
316 tcp_hlen = th->th_off << 2;
317 eth_hdr_len += tcp_hlen;
/freebsd-13-stable/sys/dev/qlxgbe/
H A Dql_hw.c2265 uint32_t ehdrlen, hdrlen, ip_hlen, tcp_hlen, tcp_opt_off; local
2341 tcp_hlen = th->th_off << 2;
2342 hdrlen = ehdrlen + ip_hlen + tcp_hlen;
2346 if (tcp_hlen > sizeof(struct tcphdr)) {
2348 (tcp_hlen - sizeof(struct tcphdr)),
/freebsd-13-stable/sys/dev/bce/
H A Dif_bce.c7122 int hdr_len, ip_hlen = 0, tcp_hlen = 0, ip_len = 0; local
7175 tcp_hlen = (th->th_off << 2);
7179 tcp_hlen);
7206 hdr_len = sizeof(struct ether_header) + ip_hlen + tcp_hlen;
7209 "ip_hlen = %d, tcp_hlen = %d, ip_len = %d\n",
7211 tcp_hlen, ip_len);
7217 *flags |= (((ip_hlen + tcp_hlen - sizeof(struct ip) -

Completed in 197 milliseconds