Lines Matching refs:tcp_hdr
487 struct tcphdr *tcp_hdr = (struct tcphdr *)tcp_ptr;
502 tcp_hdr->th_sum = in6_pseudo(&inp->in6p_laddr, &inp->in6p_faddr,
519 tcp_hdr->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
523 tcp_hdr->th_sport = inp->inp_lport;
524 tcp_hdr->th_dport = inp->inp_fport;
525 tcp_hdr->th_seq = 0;
526 tcp_hdr->th_ack = 0;
527 tcp_hdr->th_x2 = 0;
528 tcp_hdr->th_off = 5;
529 tcp_hdr->th_flags = 0;
530 tcp_hdr->th_win = 0;
531 tcp_hdr->th_urp = 0;