Lines Matching refs:th
422 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una) argument
725 struct tcphdr *th; member
733 struct tcphdr *th, struct tcpopt *to,
950 void cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
953 void cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
954 void cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos);
955 void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type);
958 struct tcphdr *th, struct tcpopt *to);
1076 tcp_fields_to_host(struct tcphdr *th) in tcp_fields_to_host() argument
1079 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host()
1080 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host()
1081 th->th_win = ntohs(th->th_win); in tcp_fields_to_host()
1082 th->th_urp = ntohs(th->th_urp); in tcp_fields_to_host()
1086 tcp_fields_to_net(struct tcphdr *th) in tcp_fields_to_net() argument
1089 th->th_seq = htonl(th->th_seq); in tcp_fields_to_net()
1090 th->th_ack = htonl(th->th_ack); in tcp_fields_to_net()
1091 th->th_win = htons(th->th_win); in tcp_fields_to_net()
1092 th->th_urp = htons(th->th_urp); in tcp_fields_to_net()