Lines Matching refs:tcphdr
115 static int handle_tcp_options(struct nes_cm_node *cm_node, struct tcphdr *tcph, struct sk_buff *skb…
439 struct tcphdr *tcph; in form_cm_frame()
458 tcph = (struct tcphdr *)buf; in form_cm_frame()
1639 sizeof(struct tcphdr) - ETH_HLEN - VLAN_HLEN; in make_cm_node()
1854 struct tcphdr *tcph) in handle_rst_pkt()
1991 static int check_syn(struct nes_cm_node *cm_node, struct tcphdr *tcph, in check_syn()
2003 static int check_seq(struct nes_cm_node *cm_node, struct tcphdr *tcph, in check_seq()
2038 struct tcphdr *tcph) in handle_syn_pkt()
2044 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in handle_syn_pkt()
2099 struct tcphdr *tcph) in handle_synack_pkt()
2105 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in handle_synack_pkt()
2158 struct tcphdr *tcph) in handle_ack_pkt()
2165 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in handle_ack_pkt()
2247 static int handle_tcp_options(struct nes_cm_node *cm_node, struct tcphdr *tcph, in handle_tcp_options()
2347 struct tcphdr *tcph = tcp_hdr(skb); in process_packet()
2729 struct tcphdr *tcph; in mini_cm_recv_pkt()
2736 if (skb->len < sizeof(struct iphdr) + sizeof(struct tcphdr)) in mini_cm_recv_pkt()
2740 tcph = (struct tcphdr *)(skb->data + sizeof(struct iphdr)); in mini_cm_recv_pkt()