/net/ipv4/ |
D | tcp_cdg.c | 38 static int window __read_mostly = 8; 46 module_param(window, int, 0444); 47 MODULE_PARM_DESC(window, "gradient window size (power of two <= 256)"); 201 ca->tail = (ca->tail + 1) & (window - 1); in tcp_cdg_grad() 216 if (!ca->gradients && window > 1) in tcp_cdg_grad() 217 grad *= window; /* Memory allocation failed. */ in tcp_cdg_grad() 221 grad = (grad * window) / (int)ca->tail; in tcp_cdg_grad() 355 memset(gradients, 0, window * sizeof(gradients[0])); in tcp_cdg_cwnd_event() 380 if (window > 1) in tcp_cdg_init() 381 ca->gradients = kcalloc(window, sizeof(ca->gradients[0]), in tcp_cdg_init() [all …]
|
D | tcp_output.c | 1369 th->window = htons(tcp_select_window(sk)); in __tcp_transmit_skb() 1375 th->window = htons(min(tp->rcv_wnd, 65535U)); in __tcp_transmit_skb() 2025 u32 partial, needed, window, max_len; in tcp_mss_split_point() local 2027 window = tcp_wnd_end(tp) - TCP_SKB_CB(skb)->seq; in tcp_mss_split_point() 2030 if (likely(max_len <= window && skb != tcp_write_queue_tail(sk))) in tcp_mss_split_point() 2033 needed = min(skb->len, window); in tcp_mss_split_point() 3038 int full_space, window; in __tcp_select_window() local 3088 window = free_space; in __tcp_select_window() 3094 window = ALIGN(window, (1 << tp->rx_opt.rcv_wscale)); in __tcp_select_window() 3096 window = tp->rcv_wnd; in __tcp_select_window() [all …]
|
D | Kconfig | 490 congestion window is large, additive increase with a large 511 congestion window and slow start threshold after a congestion 513 slow start threshold and a congestion window which takes into 536 increase the congestion window by when an ACK is received. 555 window. TCP Vegas should provide less packet loss, but it is 599 type. TCP Veno cuts down less congestion window in response to random 610 congestion window. It's design goals target high efficiency,
|
/net/netfilter/ |
D | nfnetlink_osf.c | 58 u16 window; member 129 if (f->wss.val == 0 || ctx->window == f->wss.val) in nf_osf_match_one() 141 if (ctx->window == f->wss.val * mss || in nf_osf_match_one() 142 ctx->window == f->wss.val * SMART_MSS_1 || in nf_osf_match_one() 143 ctx->window == f->wss.val * SMART_MSS_2) in nf_osf_match_one() 147 if (ctx->window == f->wss.val * (mss + 40) || in nf_osf_match_one() 148 ctx->window == f->wss.val * (SMART_MSS_1 + 40) || in nf_osf_match_one() 149 ctx->window == f->wss.val * (SMART_MSS_2 + 40)) in nf_osf_match_one() 153 if ((ctx->window % f->wss.val) == 0) in nf_osf_match_one() 182 ctx->window = ntohs(tcp->window); in nf_osf_hdr_ctx_init()
|
D | nf_synproxy_core.c | 478 nth->window = 0; in synproxy_send_client_synack() 524 nth->window = th->window; in synproxy_send_server_syn() 564 nth->window = htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin); in synproxy_send_server_ack() 602 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack() 891 nth->window = 0; in synproxy_send_client_synack_ipv6() 938 nth->window = th->window; in synproxy_send_server_syn_ipv6() 978 nth->window = htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin); in synproxy_send_server_ack_ipv6() 1017 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack_ipv6()
|
D | nf_conntrack_proto_tcp.c | 528 win_raw = ntohs(tcph->window); in tcp_in_window() 861 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new() 881 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new() 1074 ct->proto.tcp.last_win = ntohs(th->window); in nf_conntrack_tcp_packet()
|
/net/bluetooth/ |
D | hci_request.c | 545 u16 window, u8 own_addr_type, u8 filter_policy, in hci_req_start_scan() argument 586 phy_params->window = cpu_to_le16(window); in hci_req_start_scan() 598 phy_params->window = cpu_to_le16(window); in hci_req_start_scan() 620 param_cp.window = cpu_to_le16(window); in hci_req_start_scan() 733 u16 window, interval; in hci_req_add_le_passive_scan() local 779 window = hdev->le_scan_window_suspend; in hci_req_add_le_passive_scan() 782 window = hdev->le_scan_window_connect; in hci_req_add_le_passive_scan() 785 window = hdev->le_scan_window_adv_monitor; in hci_req_add_le_passive_scan() 802 window = hdev->le_scan_window; in hci_req_add_le_passive_scan() 808 hci_req_start_scan(req, LE_SCAN_PASSIVE, interval, window, in hci_req_add_le_passive_scan()
|
D | hci_sync.c | 2696 u8 type, u16 interval, u16 window) in hci_le_scan_phy_params() argument 2700 cp->window = cpu_to_le16(window); in hci_le_scan_phy_params() 2704 u16 interval, u16 window, in hci_le_set_ext_scan_param_sync() argument 2740 window); in hci_le_set_ext_scan_param_sync() 2749 window * 3); in hci_le_set_ext_scan_param_sync() 2762 hci_le_scan_phy_params(phy, type, interval, window); in hci_le_set_ext_scan_param_sync() 2769 hci_le_scan_phy_params(phy, type, interval * 3, window * 3); in hci_le_set_ext_scan_param_sync() 2784 u16 interval, u16 window, in hci_le_set_scan_param_sync() argument 2791 window, own_addr_type, in hci_le_set_scan_param_sync() 2797 cp.window = cpu_to_le16(window); in hci_le_set_scan_param_sync() [all …]
|
/net/rxrpc/ |
D | input.c | 353 rxrpc_seq_t window, rxrpc_seq_t wtop) in rxrpc_input_update_ack_window() argument 355 call->ackr_window = window; in rxrpc_input_update_ack_window() 363 rxrpc_seq_t window, rxrpc_seq_t wtop, in rxrpc_input_queue_data() argument 370 rxrpc_input_update_ack_window(call, window, wtop); in rxrpc_input_queue_data() 386 rxrpc_seq_t window = call->ackr_window; in rxrpc_input_data_one() local 388 rxrpc_seq_t wlimit = window + call->rx_winsize - 1; in rxrpc_input_data_one() 407 call->debug_id, seq, window, wtop, wlimit); in rxrpc_input_data_one() 417 if (before(seq, window)) { in rxrpc_input_data_one() 427 if (seq == window) { in rxrpc_input_data_one() 434 window++; in rxrpc_input_data_one() [all …]
|
D | output.c | 88 rxrpc_seq_t window, wtop; in rxrpc_fill_out_ack() local 98 window = call->ackr_window; in rxrpc_fill_out_ack() 101 txb->ack.firstPacket = htonl(window); in rxrpc_fill_out_ack() 102 txb->ack.nAcks = wtop - window; in rxrpc_fill_out_ack() 104 if (after(wtop, window)) { in rxrpc_fill_out_ack() 117 } else if (before(wtop, window)) { in rxrpc_fill_out_ack() 118 pr_warn("ack window backward %x %x", window, wtop); in rxrpc_fill_out_ack() 126 qsize = (window - 1) - call->rx_consumed; in rxrpc_fill_out_ack()
|
D | call_event.c | 293 rxrpc_seq_t window = call->acks_hard_ack, wtop = window + winsize; in rxrpc_tx_window_has_space() local
|
/net/lapb/ |
D | lapb_iface.c | 130 lapb->window = LAPB_DEFAULT_WINDOW; in lapb_create_cb() 225 parms->window = lapb->window; in lapb_getparms() 262 if (parms->window < 1 || parms->window > 127) in lapb_setparms() 265 if (parms->window < 1 || parms->window > 7) in lapb_setparms() 269 lapb->window = parms->window; in lapb_setparms()
|
D | lapb_out.c | 73 end = (lapb->va + lapb->window) % modulus; in lapb_kick()
|
/net/ax25/ |
D | ax25_std_in.c | 44 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state1_machine() 50 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_std_state1_machine() 86 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state1_machine() 150 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state3_machine() 153 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_std_state3_machine() 275 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state4_machine() 278 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_std_state4_machine()
|
D | ax25_ds_in.c | 37 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_state1_machine() 43 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_ds_state1_machine() 154 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_state3_machine() 157 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_ds_state3_machine()
|
D | af_ax25.c | 414 ax25->window = ax25_ctl.arg; in ax25_ctl_ioctl() 483 ax25->window = ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_fillin_cb_from_dev() 486 ax25->window = ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_fillin_cb_from_dev() 517 ax25->window = AX25_DEF_EWINDOW; in ax25_fillin_cb() 520 ax25->window = AX25_DEF_WINDOW; in ax25_fillin_cb() 590 ax25->window = opt; in ax25_setsockopt() 734 val = ax25->window; in ax25_getsockopt() 962 ax25->window = oax25->window; in ax25_make_new() 1318 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_connect() 1867 ax25_info.window = ax25->window; in ax25_ioctl() [all …]
|
D | ax25_in.c | 398 ax25->window = ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_rcv() 401 ax25->window = ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_rcv()
|
D | ax25_std_timer.c | 130 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_t1timer_expiry()
|
D | ax25_ds_timer.c | 198 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_t1_timeout()
|
/net/tipc/ |
D | group.c | 74 u16 window; member 380 m->window -= len; in tipc_group_update_member() 382 if (m->window >= ADV_IDLE) in tipc_group_update_member() 389 if (_m->window > m->window) in tipc_group_update_member() 431 if (m->window >= len) in tipc_group_cong() 464 if (m->window >= len) in tipc_group_bc_cong() 735 msg_set_grp_remitted(hdr, m->window); in tipc_group_proto_xmit() 767 m->window += msg_adv_win(hdr); in tipc_group_proto_rcv() 795 m->window += msg_adv_win(hdr); in tipc_group_proto_rcv() 813 m->window = ADV_IDLE; in tipc_group_proto_rcv()
|
D | link.c | 205 u16 window; member 1047 unsigned int cwin = l->window; in tipc_link_xmit() 1134 u16 cwin = l->window; in tipc_link_update_cwin() 1138 l->ssthresh = max_t(u16, l->window / 2, 300); in tipc_link_update_cwin() 1139 l->window = min_t(u16, l->ssthresh, l->window); in tipc_link_update_cwin() 1144 l->ssthresh = max_t(u16, l->window / 2, 300); in tipc_link_update_cwin() 1145 l->window = l->min_win; in tipc_link_update_cwin() 1160 l->window = min_t(u16, cwin + released, l->max_win); in tipc_link_update_cwin() 1166 l->window = min_t(u16, ++cwin, l->max_win); in tipc_link_update_cwin() 1179 u16 cwin = l->window; in tipc_link_advance_backlog() [all …]
|
/net/netrom/ |
D | nr_subr.c | 105 unsigned short vt = (nr->vl + nr->window) % NR_MODULUS; in nr_in_rx_window() 163 *dptr++ = nr->window; in nr_write_internal() 184 *dptr++ = nr->window; in nr_write_internal()
|
D | af_netrom.c | 465 nr->window = READ_ONCE(sysctl_netrom_transport_requested_window_size); in nr_create() 510 nr->window = onr->window; in nr_make_new() 879 unsigned short frametype, flags, window, timeout; in nr_rx_frame() local 978 window = skb->data[20]; in nr_rx_frame() 1004 if (window < nr_make->window) in nr_rx_frame() 1005 nr_make->window = window; in nr_rx_frame() 1329 nr->window, in nr_info_show()
|
D | nr_in.c | 88 nr->window = skb->data[20]; in nr_state1_machine() 254 if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) { in nr_state3_machine()
|
/net/iucv/ |
D | af_iucv.c | 209 phs_hdr->window = iucv->msglimit; in afiucv_hs_send() 212 phs_hdr->window = confirm_recv; in afiucv_hs_send() 1869 if (!trans_hdr->window) in afiucv_hs_callback_syn() 1872 niucv->msglimit_peer = trans_hdr->window; in afiucv_hs_callback_syn() 1882 trans_hdr->window = niucv->msglimit; in afiucv_hs_callback_syn() 1910 iucv->msglimit_peer = iucv_trans_hdr(skb)->window; in afiucv_hs_callback_synack() 1974 atomic_sub(iucv_trans_hdr(skb)->window, &iucv->msg_sent); in afiucv_hs_callback_win()
|