Lines Matching refs:tcphdr
242 hdrlen = sizeof(struct ip) + sizeof(struct tcphdr);
246 hdrlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
517 struct tcphdr *th;
1054 iphdrlen = sizeof(struct ip) + sizeof(struct tcphdr);
1058 iphdrlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
1225 panic("tcphdr too big");
1280 th = (struct tcphdr *)(ip + 1);
1286 th = (struct tcphdr *)(ip6 + 1);
1369 th->th_off = (sizeof (struct tcphdr) + optlen) >> 2;
1427 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1443 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);