Home
last modified time | relevance | path

Searched refs:controllen (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/lib/
Dtst_af_alg.c202 size_t controllen; in tst_alg_sendmsg() local
210 controllen = 0; in tst_alg_sendmsg()
212 controllen += CMSG_SPACE(sizeof(uint32_t)); in tst_alg_sendmsg()
214 controllen += CMSG_SPACE(sizeof(struct af_alg_iv) + in tst_alg_sendmsg()
217 controllen += CMSG_SPACE(sizeof(uint32_t)); in tst_alg_sendmsg()
219 control = SAFE_MALLOC(controllen); in tst_alg_sendmsg()
220 memset(control, 0, controllen); in tst_alg_sendmsg()
222 msg.msg_controllen = controllen; in tst_alg_sendmsg()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c71 int controllen = 0; variable
222 msgdat.msg_controllen = controllen; in main()
326 controllen = control->cmsg_len = sizeof(cbuf); in setup2()
332 controllen = sizeof(struct cmsghdr) - 1; in setup3()
338 controllen = 128 * 1024; in setup4()
360 controllen = 0; in cleanup2()
/third_party/nghttp2/src/
Dshrpx_quic.cc80 size_t controllen = 0; in quic_send_packet() local
86 controllen += CMSG_SPACE(sizeof(in_pktinfo)); in quic_send_packet()
98 controllen += CMSG_SPACE(sizeof(in6_pktinfo)); in quic_send_packet()
115 controllen += CMSG_SPACE(sizeof(uint16_t)); in quic_send_packet()
124 msg.msg_controllen = controllen; in quic_send_packet()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c63 static int controllen; variable
392 msgdat.msg_controllen = controllen; in main()
642 controllen = control->cmsg_len; in setup4()
651 controllen = 0; in cleanup4()
674 controllen = control->cmsg_len = 0; in setup6()
/third_party/python/Modules/
Dsocketmodule.c3812 int flags, Py_ssize_t controllen, in sock_recvmsg_guts() argument
3836 if (controllen < 0 || controllen > SOCKLEN_T_LIMIT) { in sock_recvmsg_guts()
3841 if (controllen > 0 && (controlbuf = PyMem_Malloc(controllen)) == NULL) in sock_recvmsg_guts()
3855 msg.msg_controllen = controllen; in sock_recvmsg_guts()
4431 size_t controllen, controllen_last; local
4492 controllen = controllen_last = 0;
4512 controllen += space;
4513 if (controllen > SOCKLEN_T_LIMIT || controllen < controllen_last) {
4517 controllen_last = controllen;
4524 controlbuf = PyMem_Malloc(controllen);
[all …]