Lines Matching refs:tcph

906 	const struct tcphdr *tcph;  in cake_get_tcphdr()  local
945 tcph = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in cake_get_tcphdr()
946 if (!tcph || tcph->doff < 5) in cake_get_tcphdr()
950 min(__tcp_hdrlen(tcph), bufsize), buf); in cake_get_tcphdr()
953 static const void *cake_get_tcpopt(const struct tcphdr *tcph, in cake_get_tcpopt() argument
957 int length = __tcp_hdrlen(tcph) - sizeof(struct tcphdr); in cake_get_tcpopt()
958 const u8 *ptr = (const u8 *)(tcph + 1); in cake_get_tcpopt()
1065 static void cake_tcph_get_tstamp(const struct tcphdr *tcph, in cake_tcph_get_tstamp() argument
1071 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp()
1079 static bool cake_tcph_may_drop(const struct tcphdr *tcph, in cake_tcph_may_drop() argument
1083 int length = __tcp_hdrlen(tcph) - sizeof(struct tcphdr); in cake_tcph_may_drop()
1084 const u8 *ptr = (const u8 *)(tcph + 1); in cake_tcph_may_drop()
1095 if (((tcp_flag_word(tcph) & in cake_tcph_may_drop()
1159 const struct tcphdr *tcph, *tcph_check; in cake_ack_filter() local
1173 tcph = cake_get_tcphdr(skb, _tcph, sizeof(_tcph)); in cake_ack_filter()
1175 if (!tcph) in cake_ack_filter()
1178 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1183 if ((tcp_flag_word(tcph) & in cake_ack_filter()
1203 tcph_check->source != tcph->source || in cake_ack_filter()
1204 tcph_check->dest != tcph->dest) in cake_ack_filter()
1247 after(ntohl(tcph_check->ack_seq), ntohl(tcph->ack_seq))) in cake_ack_filter()
1256 sack_comp = cake_tcph_sack_compare(tcph_check, tcph); in cake_ack_filter()
1259 (ntohl(tcph_check->ack_seq) == ntohl(tcph->ack_seq) && in cake_ack_filter()
1290 (elig_flags == (tcp_flag_word(tcph) & in cake_ack_filter()