Home
last modified time | relevance | path

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

/external/curl/tests/libtest/
Dlib1522.c36 int sndbufsize = 4 * 1024; /* 4KB send buffer */ in sockopt_callback() local
40 (const char *)&sndbufsize, sizeof(sndbufsize)); in sockopt_callback()
/external/usrsctp/programs/
Dtsctp_upcall.c379 int sndbufsize = 0; in main() local
449 sndbufsize = atoi(optarg); in main()
552 sndbufsize = atoi(opt); in main()
718 if (sndbufsize) { in main()
719 if (usrsctp_setsockopt(psock, SOL_SOCKET, SO_SNDBUF, &sndbufsize, sizeof(int)) < 0) { in main()
726 if (usrsctp_getsockopt(psock, SOL_SOCKET, SO_SNDBUF, &sndbufsize, (socklen_t *)&intlen) < 0) { in main()
729 fprintf(stdout,"Send buffer size: %d.\n", sndbufsize); in main()
Dtsctp.c339 int rcvbufsize=0, sndbufsize=0, myrcvbufsize, mysndbufsize; local
408 sndbufsize = atoi(optarg);
519 sndbufsize = atoi(opt);
702 if (sndbufsize) {
703 if (usrsctp_setsockopt(psock, SOL_SOCKET, SO_SNDBUF, &sndbufsize, sizeof(int)) < 0) {