Lines Matching refs:tcphdr
994 struct tcphdr *tcp = L3HDR(struct tcphdr,ip);
996 int x = (tcp->th_off << 2) - sizeof(struct tcphdr);
1236 struct tcphdr *const tcp = (struct tcphdr *)icmp;
1451 struct tcphdr *tcp)
1819 struct tcphdr *tcp;
1825 m->m_pkthdr.len = m->m_len = sizeof(struct ip) + sizeof(struct tcphdr);
1830 tcp = (struct tcphdr *)(ip + 1); /* no IP options */
1878 ip->ip_len = htons(sizeof(struct tcphdr));
1907 struct tcphdr *const tcp =
1908 L3HDR(struct tcphdr, mtod(args->fwa_m, struct ip *));
2137 struct tcphdr *tcp;
2139 PULLUP_TO(hlen + sizeof(struct tcphdr));
2140 tcp = L3HDR(struct tcphdr, ip);
2537 L3HDR(struct tcphdr,ip)->th_flags));
2548 L3HDR(struct tcphdr,ip)->th_seq);
2554 L3HDR(struct tcphdr,ip)->th_ack);
2560 L3HDR(struct tcphdr,ip)->th_win);
2567 (L3HDR(struct tcphdr,ip)->th_flags &
2661 L3HDR(struct tcphdr, ip) : NULL))