Lines Matching defs:tcp
75 #include <linux/tcp.h>
81 #include <net/tcp.h>
7388 u8 *tcp;
7392 skb->data, &tcp,
8166 struct tcphdr **tcp, struct RxD_t *rxdp,
8197 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len);
8203 struct tcphdr *tcp)
8208 (lro->tcph->source != tcp->source) ||
8209 (lro->tcph->dest != tcp->dest))
8214 static inline int get_l4_pyld_length(struct iphdr *ip, struct tcphdr *tcp)
8216 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2);
8220 struct iphdr *ip, struct tcphdr *tcp,
8226 lro->tcph = tcp;
8227 lro->tcp_next_seq = tcp_pyld_len + ntohl(tcp->seq);
8228 lro->tcp_ack = tcp->ack_seq;
8237 if (tcp->doff == 8) {
8239 ptr = (__be32 *)(tcp+1);
8250 struct tcphdr *tcp = lro->tcph;
8260 tcp->ack_seq = lro->tcp_ack;
8261 tcp->window = lro->window;
8265 __be32 *ptr = (__be32 *)(tcp + 1);
8277 struct tcphdr *tcp, u32 l4_pyld)
8286 lro->tcp_ack = tcp->ack_seq;
8287 lro->window = tcp->window;
8292 ptr = (__be32 *)(tcp+1);
8299 struct tcphdr *tcp, u32 tcp_pyld_len)
8318 if (tcp->urg || tcp->psh || tcp->rst ||
8319 tcp->syn || tcp->fin ||
8320 tcp->ece || tcp->cwr || !tcp->ack) {
8333 if (tcp->doff != 5 && tcp->doff != 8)
8336 if (tcp->doff == 8) {
8337 ptr = (u8 *)(tcp + 1);
8357 u8 **tcp, u32 *tcp_len, struct lro **lro,
8366 ret = check_L2_lro_capable(buffer, &ip, (struct tcphdr **)tcp,
8374 tcph = (struct tcphdr *)*tcp;