Lines Matching refs:tcph_t

163 	sizeof (tcph_t)))
305 static int tcp_parse_options(tcph_t *, tcp_opt_t *);
306 static boolean_t tcp_paws_check(tcp_t *, tcph_t *, tcp_opt_t *);
307 static void tcp_process_options(tcp_t *, tcph_t *);
325 uint32_t, int, tcph_t *, int sock_id);
434 return (sizeof (tcph_t)); in tcp_header_len()
441 return (TCP_HDR_LENGTH((tcph_t *)(pkt + IPH_HDR_LENGTH(pkt)))); in tcp_header_len()
455 return (*(uint16_t *)(((tcph_t *)tcphp)->th_lport)); in tcp_report_ports()
456 return (*(uint16_t *)(((tcph_t *)tcphp)->th_fport)); in tcp_report_ports()
1265 tcph_t *tcph; in tcp_connect()
1436 tcph_t *tcph; in tcp_accept_comm()
1478 acceptor->tcp_tcph = (tcph_t *)(acceptor->tcp_iphc + in tcp_accept_comm()
1493 tcph = (tcph_t *)&cr_pkt->b_rptr[ip_hdr_len]; in tcp_accept_comm()
2021 tcp_parse_options(tcph_t *tcph, tcp_opt_t *tcpopt) in tcp_parse_options()
2231 tcp_process_options(tcp_t *tcp, tcph_t *tcph) in tcp_process_options()
2364 tcp_paws_check(tcp_t *tcp, tcph_t *tcph, tcp_opt_t *tcpoptp) in tcp_paws_check()
2663 (ip_hdr_len + TCP_HDR_LENGTH(((tcph_t *)tcph))); in tcp_rput_data()
2743 seg_len, (tcph_t *)tcph, sock_id); in tcp_rput_data()
2838 tcp_process_options(tcp, (tcph_t *)tcph); in tcp_rput_data()
2892 new_swnd = BE16_TO_U16(((tcph_t *)tcph)->th_win); in tcp_rput_data()
2945 mp->b_rptr = (uchar_t *)tcph + TCP_HDR_LENGTH((tcph_t *)tcph); in tcp_rput_data()
2951 if (!tcp_paws_check(tcp, (tcph_t *)tcph, &tcpopt)) { in tcp_rput_data()
2967 (void) tcp_parse_options((tcph_t *)tcph, &tcpopt); in tcp_rput_data()
4807 tcph_t *tcph; in tcp_wput_data()
5016 tcph = (tcph_t *)(rptr + tcp->tcp_ip_hdr_len); in tcp_wput_data()
5203 uint32_t seg_seq, uint32_t seg_ack, int seg_len, tcph_t *tcph, in tcp_time_wait_processing()
5467 tcph_t *tcph; in tcp_header_init_ipv4()
5492 tcp->tcp_hdr_len = sizeof (struct ip) + sizeof (tcph_t); in tcp_header_init_ipv4()
5493 tcp->tcp_tcp_hdr_len = sizeof (tcph_t); in tcp_header_init_ipv4()
5502 tcph = (tcph_t *)(tcp->tcp_iphc + sizeof (struct ip)); in tcp_header_init_ipv4()
5519 tcph_t *tcph; in tcp_xmit_ctl()
5530 tcph = (tcph_t *)(rptr + ip_hdr_len); in tcp_xmit_ctl()
5559 tcph = (tcph_t *)&rptr[tcp_ip_hdr_len]; in tcp_xmit_ctl()
5620 tcph_t *tcph; in tcp_ack_mp()
5649 tcph = (tcph_t *)&rptr[tcp->tcp_ip_hdr_len]; in tcp_ack_mp()
5737 tcph_t *tcph; in tcp_xmit_mp()
5812 tcph = (tcph_t *)&rptr[tcp->tcp_ip_hdr_len]; in tcp_xmit_mp()
6076 tcph_t *tcph; in tcp_xmit_listeners_reset()
6083 tcph = (tcph_t *)&rptr[ip_hdr_len]; in tcp_xmit_listeners_reset()
6126 tcph_t *tcph; in tcp_xmit_early_reset()
6158 tcph = (tcph_t *)&mp->b_rptr[ip_hdr_len]; in tcp_xmit_early_reset()
6169 len = ip_hdr_len + sizeof (tcph_t); in tcp_xmit_early_reset()
6180 tcph = (tcph_t *)&mp->b_rptr[ip_hdr_len]; in tcp_xmit_early_reset()