Lines Matching refs:tcphdr
553 const struct ipfw_flow_id *, const struct tcphdr *, int);
932 const struct tcphdr *tcp, int dir)
2373 struct tcphdr *tcp;
2390 tcp->th_off = sizeof(struct tcphdr) >> 2;
2395 htons(sizeof(struct tcphdr) + IPPROTO_TCP));
2397 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
2407 m = dyn_mgethdr(sizeof(struct ip) + sizeof(struct tcphdr),
2423 m = dyn_mgethdr(sizeof(struct ip) + sizeof(struct tcphdr),
2482 struct tcphdr *tcp;
2487 ip6->ip6_plen = htons(sizeof(struct tcphdr));
2500 tcp->th_off = sizeof(struct tcphdr) >> 2;
2504 tcp->th_sum = in6_cksum_pseudo(ip6, sizeof(struct tcphdr),
2507 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
2518 sizeof(struct tcphdr), s->data->fibnum);
2534 sizeof(struct tcphdr), s->data->fibnum);