Searched refs:win (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_newreno.c280 uint32_t win; local
282 win = min(tp->snd_wnd, tp->snd_cwnd) /
284 if ( win < 2 )
285 win = 2;
286 tp->snd_ssthresh = win * tp->t_maxseg;
343 u_int win = min(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg; local
344 if (win < 2)
345 win = 2;
347 tp->snd_ssthresh = win * tp->t_maxseg;
H A Dtcp_ledbat.c294 uint32_t win; local
296 win = min(tp->snd_wnd, tp->snd_cwnd) /
298 if ( win < 2 )
299 win = 2;
300 tp->snd_ssthresh = win * tp->t_maxseg;
373 u_int win = min(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg; local
374 if (win < 2)
375 win = 2;
377 tp->snd_ssthresh = win * tp->t_maxseg;
H A Dtcp_subr.c583 int win = 0; local
604 win = tcp_sbspace(tp);
605 if (win > (int32_t)TCP_MAXWIN << tp->rcv_scale)
606 win = (int32_t)TCP_MAXWIN << tp->rcv_scale;
717 nth->th_win = htons((u_short) (win >> tp->rcv_scale));
719 nth->th_win = htons((u_short)win);
H A Dtcp_input.c971 * 1. it can not be trimmed beyond the max rcv win advertised
973 * avoid closing the win completely
994 * 2. if the congestion win on the socket backed off, there is no need
2470 { int win; local
2472 win = tcp_sbspace(tp);
2474 if (win < 0)
2475 win = 0;
2478 win = min(win, slowlink_wsize);
2480 tp->rcv_wnd = imax(win, (in
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_gss.c2701 uint32_t win = cp->gss_svc_seqwin; local
2711 if (seq - cp->gss_svc_seqmax > win)
2712 bzero(bits, nfsm_rndup((win + 7) / 8));
2715 win_resetbit(bits, i % win);
2716 win_setbit(bits, seq % win);
2725 if (seq <= cp->gss_svc_seqmax - win) {
2733 if (win_getbit(bits, seq % win)) {
2737 win_setbit(bits, seq % win);
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c1889 printf(" [lo=%u high=%u win=%u modulator=%u", s->src.seqlo,
1894 printf(" [lo=%u high=%u win=%u modulator=%u", s->dst.seqlo,
2351 u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag,
2471 th->th_win = htons(win);
4842 int win = s->src.max_win; local
4843 win += 1 << (s->src.wscale & PF_WSCALE_MASK);
4844 s->src.max_win = (win - 1) >>
5797 u_int16_t win = ntohs(th->th_win); local
5984 win = ((u_int32_t)win
2348 pf_send_tcp(const struct pf_rule *r, sa_family_t af, const struct pf_addr *saddr, const struct pf_addr *daddr, u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack, u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag, u_int16_t rtag, struct ether_header *eh, struct ifnet *ifp) argument
[all...]

Completed in 92 milliseconds