Lines Matching refs:tcp
84 struct tcphdr *tcp = NULL; in test_pkt_write_access_subprog() local
89 tcp = data + off; in test_pkt_write_access_subprog()
90 if (tcp + 1 > data_end) in test_pkt_write_access_subprog()
93 tcp->check++; in test_pkt_write_access_subprog()
103 struct tcphdr *tcp = NULL; in test_pkt_access() local
117 tcp = (struct tcphdr *)((void *)(iph) + ihl_len); in test_pkt_access()
125 tcp = (struct tcphdr *)((void *)(ip6h) + ihl_len); in test_pkt_access()
134 if (tcp) { in test_pkt_access()
135 if (test_pkt_write_access_subprog(skb, (void *)tcp - data)) in test_pkt_access()
137 if (((void *)(tcp) + 20) > data_end || proto != 6) in test_pkt_access()
140 if (((void *)(tcp) + 18) > data_end) in test_pkt_access()
142 if (tcp->urg_ptr == 123) in test_pkt_access()