Home
last modified time | relevance | path

Searched refs:limit_kbps (Results 1 – 3 of 3) sorted by relevance

/external/openssh/
Dsftp-client.c91 u_int64_t limit_kbps; member
128 conn->limit_kbps > 0 ? &conn->bwlimit_out : NULL) != in send_msg()
145 conn->limit_kbps > 0 ? &conn->bwlimit_in : NULL) != 4) { in get_msg_extended()
164 conn->limit_kbps > 0 ? &conn->bwlimit_in : NULL) in get_msg_extended()
397 u_int64_t limit_kbps) in do_init() argument
411 ret->limit_kbps = 0; in do_init()
490 ret->limit_kbps = limit_kbps; in do_init()
491 if (ret->limit_kbps > 0) { in do_init()
492 bandwidth_limit_init(&ret->bwlimit_in, ret->limit_kbps, in do_init()
494 bandwidth_limit_init(&ret->bwlimit_out, ret->limit_kbps, in do_init()
Dscp.c138 long long limit_kbps = 0; variable
471 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024, in main()
475 limit_kbps *= 1024; /* kbps */ in main()
476 bandwidth_limit_init(&bwlimit, limit_kbps, COPY_BUFLEN); in main()
602 if (limit_kbps > 0) in scpio()
Dsftp.c2391 long long limit_kbps = 0; in main() local
2486 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024, in main()
2490 limit_kbps *= 1024; /* kbps */ in main()
2581 conn = do_init(in, out, copy_buffer_len, num_requests, limit_kbps); in main()