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()
1642 sizeof(struct tcphdr) - ETH_HLEN - VLAN_HLEN; in make_cm_node()
1857 struct tcphdr *tcph) in handle_rst_pkt()
1994 static int check_syn(struct nes_cm_node *cm_node, struct tcphdr *tcph, in check_syn()
2006 static int check_seq(struct nes_cm_node *cm_node, struct tcphdr *tcph, in check_seq()
2041 struct tcphdr *tcph) in handle_syn_pkt()
2047 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in handle_syn_pkt()
2102 struct tcphdr *tcph) in handle_synack_pkt()
2108 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in handle_synack_pkt()
2161 struct tcphdr *tcph) in handle_ack_pkt()
2168 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in handle_ack_pkt()
2250 static int handle_tcp_options(struct nes_cm_node *cm_node, struct tcphdr *tcph, in handle_tcp_options()
2350 struct tcphdr *tcph = tcp_hdr(skb); in process_packet()
2732 struct tcphdr *tcph; in mini_cm_recv_pkt()
2739 if (skb->len < sizeof(struct iphdr) + sizeof(struct tcphdr)) in mini_cm_recv_pkt()
2743 tcph = (struct tcphdr *)(skb->data + sizeof(struct iphdr)); in mini_cm_recv_pkt()