Lines Matching refs:tcphdr
552 const struct ipfw_flow_id *, const struct tcphdr *, int);
931 const struct tcphdr *tcp, int dir)
2376 struct tcphdr *tcp;
2393 tcp->th_off = sizeof(struct tcphdr) >> 2;
2398 htons(sizeof(struct tcphdr) + IPPROTO_TCP));
2400 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
2410 m = dyn_mgethdr(sizeof(struct ip) + sizeof(struct tcphdr),
2426 m = dyn_mgethdr(sizeof(struct ip) + sizeof(struct tcphdr),
2485 struct tcphdr *tcp;
2490 ip6->ip6_plen = htons(sizeof(struct tcphdr));
2503 tcp->th_off = sizeof(struct tcphdr) >> 2;
2507 tcp->th_sum = in6_cksum_pseudo(ip6, sizeof(struct tcphdr),
2510 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
2521 sizeof(struct tcphdr), s->data->fibnum);
2537 sizeof(struct tcphdr), s->data->fibnum);