Lines Matching refs:tcphdr
256 static char * tcp_log_addr(struct in_conninfo *inc, struct tcphdr *th,
1129 #define TCP_MINPROTOHDR (sizeof(struct ip6_hdr) + sizeof(struct tcphdr))
1217 struct tcphdr *th = (struct tcphdr *)tcp_ptr;
1231 ip6->ip6_plen = htons(sizeof(struct tcphdr));
1301 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,
1308 struct tcphdr *nth;
1353 nth = (struct tcphdr *)(ip6 + 1);
1359 nth = (struct tcphdr *)(ip + 1);
1361 bcopy((caddr_t)th, (caddr_t)nth, sizeof(struct tcphdr));
1388 nth = (struct tcphdr *)(ip6 + 1);
1395 nth = (struct tcphdr *)(ip + 1);
1397 bcopy((caddr_t)th, (caddr_t)nth, sizeof(struct tcphdr));
1414 nth = (struct tcphdr *)(ip6 + 1);
1419 nth = (struct tcphdr *)(ip + 1);
1436 tlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr);
1525 nth->th_off = (sizeof (struct tcphdr) + optlen) >> 2;
1543 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1879 sizeof (struct tcphdr) :
2370 struct tcphdr *th;
2408 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2));
2602 sizeof (struct tcphdr) +
3110 tcp_log_vain(struct in_conninfo *inc, struct tcphdr *th, void *ip4hdr,
3122 tcp_log_addrs(struct in_conninfo *inc, struct tcphdr *th, void *ip4hdr,
3134 tcp_log_addr(struct in_conninfo *inc, struct tcphdr *th, void *ip4hdr,