Lines Matching refs:tcphdr
917 struct tcphdr *tcp = L3HDR(struct tcphdr,ip);
919 int x = (tcp->th_off << 2) - sizeof(struct tcphdr);
1157 struct tcphdr *const tcp = (struct tcphdr *)icmp;
1372 struct tcphdr *tcp)
1739 struct tcphdr *tcp;
1745 m->m_pkthdr.len = m->m_len = sizeof(struct ip) + sizeof(struct tcphdr);
1750 tcp = (struct tcphdr *)(ip + 1); /* no IP options */
1798 ip->ip_len = htons(sizeof(struct tcphdr));
1827 struct tcphdr *const tcp =
1828 L3HDR(struct tcphdr, mtod(args->fwa_m, struct ip *));
2058 struct tcphdr *tcp;
2060 PULLUP_TO(hlen + sizeof(struct tcphdr));
2061 tcp = L3HDR(struct tcphdr, ip);
2458 L3HDR(struct tcphdr,ip)->th_flags));
2469 L3HDR(struct tcphdr,ip)->th_seq);
2475 L3HDR(struct tcphdr,ip)->th_ack);
2481 L3HDR(struct tcphdr,ip)->th_win);
2488 (L3HDR(struct tcphdr,ip)->th_flags &
2582 L3HDR(struct tcphdr, ip) : NULL))