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