/openthread-3.5.0/third_party/tcplp/bsdtcp/ |
D | tcp_input.c | 105 tcp_do_segment(struct ip6_hdr* ip6, struct tcphdr *th, otMessage* msg, 116 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) in cc_ack_received() argument 118 tp->ccv->bytes_this_ack = BYTES_THIS_ACK(tp, th); in cc_ack_received() 140 tp->ccv->curack = th->th_ack; in cc_ack_received() 222 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) in cc_cong_signal() argument 285 if (th != NULL) in cc_cong_signal() 286 tp->ccv->curack = th->th_ack; in cc_cong_signal() 292 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) in cc_post_recovery() argument 298 tp->ccv->curack = th->th_ack; in cc_post_recovery() 324 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos) in cc_ecnpkt_handler() argument [all …]
|
D | tcp_reass.c | 54 tcp_reass(struct tcpcb* tp, struct tcphdr* th, int* tlenp, otMessage* data, off_t data_offset, stru… in tcp_reass() argument 68 if (th == NULL) in tcp_reass() 74 KASSERT(SEQ_GEQ(th->th_seq, tp->rcv_nxt), ("Adding past segment to the reassembly queue")); in tcp_reass() 75 offset = (size_t) (th->th_seq - tp->rcv_nxt); in tcp_reass() 83 if ((th->th_flags & TH_FIN) && (tp->reass_fin_index == -1)) { in tcp_reass() 121 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m) 143 if (th == NULL) 162 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && 166 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { 184 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) { [all …]
|
D | tcp_subr.c | 228 struct tcphdr *th = (struct tcphdr *)tcp_ptr; in tcpip_fillheaders() local 251 th->th_sport = tp->lport; in tcpip_fillheaders() 252 th->th_dport = tp->fport; in tcpip_fillheaders() 253 th->th_seq = 0; in tcpip_fillheaders() 254 th->th_ack = 0; in tcpip_fillheaders() 257 th->th_off_x2 = (5 << TH_OFF_SHIFT); in tcpip_fillheaders() 258 th->th_flags = 0; in tcpip_fillheaders() 259 th->th_win = 0; in tcpip_fillheaders() 260 th->th_urp = 0; in tcpip_fillheaders() 261 th->th_sum = 0; /* in_pseudo() is called later for ipv4 */ in tcpip_fillheaders() [all …]
|
D | tcp_var.h | 393 void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type); 454 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una) argument 585 tcp_fields_to_host(struct tcphdr *th) in tcp_fields_to_host() argument 588 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host() 589 th->th_ack = ntohl(th->th_ack); in tcp_fields_to_host() 590 th->th_win = ntohs(th->th_win); in tcp_fields_to_host() 591 th->th_urp = ntohs(th->th_urp); in tcp_fields_to_host() 597 void tcp_dropwithreset(struct ip6_hdr* ip6, struct tcphdr *th, struct tcpcb *tp, otInstance* instan… 599 int tcp_input(struct ip6_hdr* ip6, struct tcphdr* th, otMessage* msg, struct tcpcb* tp, struct tcpc…
|
D | tcp_timewait.c | 309 tcp_twcheck(struct tcpcb* tp, struct tcphdr *th, int tlen) in tcp_twcheck() argument 319 thflags = th->th_flags; in tcp_twcheck() 361 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tp->rcv_nxt)) { in tcp_twcheck() 382 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck() 391 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) in tcp_twcheck()
|
D | tcp_output.c | 113 struct tcphdr* th = NULL; in tcp_output() local 1019 th = (struct tcphdr*) (&outbuf[0]); in tcp_output() 1026 tcpip_fillheaders(tp, &ip6info, th); in tcp_output() 1106 th->th_seq = htonl(tp->snd_nxt); in tcp_output() 1108 th->th_seq = htonl(tp->snd_max); in tcp_output() 1110 th->th_seq = htonl(p->rxmit); in tcp_output() 1122 if (len > 0 && !tcp_timer_active(tp, TT_PERSIST) && SEQ_LT(ntohl(th->th_seq), tp->snd_max)) { in tcp_output() 1127 th->th_ack = htonl(tp->rcv_nxt); in tcp_output() 1129 bcopy(opt, th + 1, optlen); in tcp_output() 1130 th->th_off_x2 = ((sizeof (struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_output() [all …]
|
D | tcp_sack.c | 550 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th) in tcp_sack_partialack() argument 557 if ((BYTES_THIS_ACK(tp, th) / tp->t_maxseg) >= 2) in tcp_sack_partialack()
|
/openthread-3.5.0/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-interface.md | 539 …drivers, outputting a string $s_i$ and an entropy estimate $e_i$ on the $i$th call. It does so unt…
|