Home
last modified time | relevance | path

Searched refs:msg_controllen (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.4.37.9/include/asm-x86_64/
Dsocket32.h24 __kernel_size_t32 msg_controllen; member
47 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
51 ((mhdr)->msg_controllen - \
71 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsocket32.c75 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
143 if (kmsg->msg_controllen > 65536) in cmsghdr_from_user32_to_kern()
189 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
207 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
212 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
214 cmlen = kmsg->msg_controllen; in put_cmsg32()
226 kmsg->msg_controllen -= cmlen; in put_cmsg32()
232 int fdmax = (kmsg->msg_controllen - sizeof(struct cmsghdr32)) / sizeof(int); in scm_detach_fds32()
268 kmsg->msg_controllen -= cmlen; in scm_detach_fds32()
317 space_avail = kmsg->msg_controllen + bufsz; in cmsg32_recvmsg_fixup()
[all …]
/linux-2.4.37.9/net/core/
Dscm.c189 if (cm==NULL || msg->msg_controllen < sizeof(*cm)) { in put_cmsg()
193 if (msg->msg_controllen < cmlen) { in put_cmsg()
195 cmlen = msg->msg_controllen; in put_cmsg()
208 msg->msg_controllen -= cmlen; in put_cmsg()
224 if (msg->msg_controllen > sizeof(struct cmsghdr)) in scm_detach_fds()
225 fdmax = ((msg->msg_controllen - sizeof(struct cmsghdr)) in scm_detach_fds()
260 msg->msg_controllen -= cmlen; in scm_detach_fds()
/linux-2.4.37.9/arch/sparc64/solaris/
Dsocket.c288 u32 msg_controllen; member
345 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
408 if(kern_msg.msg_controllen) { in solaris_sendmsg()
413 if (kern_msg.msg_controllen <= sizeof(__kernel_size_t32)) in solaris_sendmsg()
416 if(kern_msg.msg_controllen > sizeof(ctl)) { in solaris_sendmsg()
418 ctl_buf = kmalloc(kern_msg.msg_controllen, GFP_KERNEL); in solaris_sendmsg()
427 kern_msg.msg_controllen - sizeof(__kernel_size_t32))) in solaris_sendmsg()
500 &user_msg->msg_controllen); in solaris_recvmsg()
/linux-2.4.37.9/include/linux/
Dsocket.h56 __kernel_size_t msg_controllen; /* Length of cmsg list */ member
89 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
92 ((mhdr)->msg_controllen - \
137 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-2.4.37.9/net/khttpd/
Dmisc.c87 msg.msg_controllen = 0; in ReadRest()
159 msg.msg_controllen = 0; in SendBuffer()
187 msg.msg_controllen = 0; in SendBuffer_async()
Drfc.c184 msg.msg_controllen = 0; in SendHTTPHeader()
233 msg.msg_controllen = 0; in SendHTTPHeader()
Dwaitheaders.c194 msg.msg_controllen = 0; in DecodeHeader()
/linux-2.4.37.9/net/netlink/
Dnetlink_dev.c67 msg.msg_controllen=0; in netlink_write()
91 msg.msg_controllen=0; in netlink_read()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c1791 __kernel_size_t32 msg_controllen; member
1814 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
1818 ((mhdr)->msg_controllen - \
1838 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
1884 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
1995 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
2013 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
2018 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
2020 cmlen = kmsg->msg_controllen; in put_cmsg32()
2032 kmsg->msg_controllen -= cmlen; in put_cmsg32()
[all …]
/linux-2.4.37.9/net/
Dsocket.c552 msg.msg_controllen=0; in sock_read()
585 msg.msg_controllen=0; in sock_write()
627 msg.msg_controllen = 0; in sock_readv_writev()
1200 msg.msg_controllen=0; in sys_sendto()
1250 msg.msg_controllen=0; in sys_recvfrom()
1388 if (msg_sys.msg_controllen > INT_MAX) in sys_sendmsg()
1390 ctl_len = msg_sys.msg_controllen; in sys_sendmsg()
1494 &msg->msg_controllen); in sys_recvmsg()
/linux-2.4.37.9/include/net/
Dscm.h41 if (msg->msg_controllen <= 0) in scm_send()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c2460 unsigned int msg_controllen; /* Length of cmsg list */ member
2483 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2487 ((mhdr)->msg_controllen - \
2508 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2554 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
2675 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
2691 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
2696 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
2698 cmlen = kmsg->msg_controllen; in put_cmsg32()
2710 kmsg->msg_controllen -= cmlen; in put_cmsg32()
[all …]
/linux-2.4.37.9/net/ipv6/
Dipv6_sockglue.c291 msg.msg_controllen = optlen; in ipv6_setsockopt()
562 msg.msg_controllen = len; in ipv6_getsockopt()
588 len -= msg.msg_controllen; in ipv6_getsockopt()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c1353 unsigned int msg_controllen; /* Length of cmsg list */ member
1374 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
1378 ((mhdr)->msg_controllen - \
1395 return __cmsg32_nxthdr(msg->msg_control, msg->msg_controllen, cmsg, cmsg_len); in cmsg32_nxthdr()
1414 ret |= __get_user(mp->msg_controllen, &mp32->msg_controllen); in get_msghdr32()
1488 kmsg->msg_controllen = kcmlen; in get_cmsghdr32()
1548 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
1553 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
1555 cmlen = kmsg->msg_controllen; in put_cmsg32()
1568 kmsg->msg_controllen -= cmlen; in put_cmsg32()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c2282 __kernel_size_t32 msg_controllen; member
2305 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2309 ((mhdr)->msg_controllen - \
2329 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2375 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
2486 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
2504 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
2509 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
2511 cmlen = kmsg->msg_controllen; in put_cmsg32()
2523 kmsg->msg_controllen -= cmlen; in put_cmsg32()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c3273 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
3277 ((mhdr)->msg_controllen - \
3287 __kernel_size_t32 msg_controllen; member
3315 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
3368 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
3503 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
3535 if(kern_msg.msg_controllen) { in sys32_sendmsg()
3570 if (cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
3575 if (kmsg->msg_controllen < cmlen) { in put_cmsg32()
3577 cmlen = kmsg->msg_controllen; in put_cmsg32()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c2354 __kernel_size_t32 msg_controllen; member
2377 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2381 ((mhdr)->msg_controllen - \
2401 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2447 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
2558 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
2576 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
2581 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
2583 cmlen = kmsg->msg_controllen; in put_cmsg32()
2595 kmsg->msg_controllen -= cmlen; in put_cmsg32()
[all …]
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_sync.c541 msg.msg_controllen = 0; in ip_vs_send_async()
584 msg.msg_controllen = 0; in ip_vs_receive()
/linux-2.4.37.9/net/sunrpc/
Dsvcsock.c334 msg.msg_controllen = sizeof(buffer); in svc_sendto()
342 msg.msg_controllen = 0; in svc_sendto()
399 msg.msg_controllen = 0; in svc_recvfrom()
/linux-2.4.37.9/fs/smbfs/
Dsock.c70 msg.msg_controllen = 0; in _send()
845 msg.msg_controllen = 0; in smb_send_trans2()
/linux-2.4.37.9/net/econet/
Daf_econet.c433 udpmsg.msg_controllen = 0; in econet_sendmsg()
804 udpmsg.msg_controllen = 0; in aun_send_response()
/linux-2.4.37.9/net/ipv4/
Dip_sockglue.c1018 msg.msg_controllen = len; in ip_getsockopt()
1033 len -= msg.msg_controllen; in ip_getsockopt()
Draw.c373 if (msg->msg_controllen) { in raw_sendmsg()
/linux-2.4.37.9/drivers/block/
Dnbd.c148 msg.msg_controllen = 0; in nbd_xmit()

12