Searched refs:limit_kbps (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | sftp-client.c | 83 u_int64_t limit_kbps; member 118 conn->limit_kbps > 0 ? sftpio : NULL, &conn->bwlimit_out) != in send_msg() 135 conn->limit_kbps > 0 ? sftpio : NULL, &conn->bwlimit_in) != 4) { in get_msg() 150 conn->limit_kbps > 0 ? sftpio : NULL, &conn->bwlimit_in) in get_msg() 377 u_int64_t limit_kbps) in do_init() argument 391 ret->limit_kbps = 0; in do_init() 465 ret->limit_kbps = limit_kbps; in do_init() 466 if (ret->limit_kbps > 0) { in do_init() 467 bandwidth_limit_init(&ret->bwlimit_in, ret->limit_kbps, in do_init() 469 bandwidth_limit_init(&ret->bwlimit_out, ret->limit_kbps, in do_init()
|
D | scp.c | 130 long long limit_kbps = 0; variable 433 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024, in main() 437 limit_kbps *= 1024; /* kbps */ in main() 438 bandwidth_limit_init(&bwlimit, limit_kbps, COPY_BUFLEN); in main() 549 if (limit_kbps > 0) in scpio()
|
D | sftp.c | 2249 long long limit_kbps = 0; in main() local 2338 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024, in main() 2342 limit_kbps *= 1024; /* kbps */ in main() 2421 conn = do_init(in, out, copy_buffer_len, num_requests, limit_kbps); in main()
|