Lines Matching refs:tcphdr
122 static int handle_tcp_options(struct nes_cm_node *cm_node, struct tcphdr *tcph,
318 struct tcphdr *tcph;
337 tcph = (struct tcphdr *)buf;
1205 sizeof(struct tcphdr) - ETH_HLEN - VLAN_HLEN;
1423 struct tcphdr *tcph)
1549 static int check_syn(struct nes_cm_node *cm_node, struct tcphdr *tcph,
1561 static int check_seq(struct nes_cm_node *cm_node, struct tcphdr *tcph,
1596 struct tcphdr *tcph)
1602 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr);
1657 struct tcphdr *tcph)
1664 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr);
1717 struct tcphdr *tcph)
1723 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr);
1801 static int handle_tcp_options(struct nes_cm_node *cm_node, struct tcphdr *tcph,
1900 struct tcphdr *tcph = tcp_hdr(skb);
2262 struct tcphdr *tcph;
2269 if (skb->len < sizeof(struct iphdr) + sizeof(struct tcphdr)) {
2274 tcph = (struct tcphdr *)(skb->data + sizeof(struct iphdr));