Home
last modified time | relevance | path

Searched refs:msg_control (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/include/asm-x86_64/
Dsocket32.h23 u32 msg_control; member
47 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
52 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
71 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsocket32.c65 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
71 kmsg->msg_control = (void *)A(tmp3); in msghdr_from_user32_to_kern()
188 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user32_to_kern()
203 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
225 kmsg->msg_control += cmlen; in put_cmsg32()
231 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in scm_detach_fds32()
267 kmsg->msg_control += cmlen; in scm_detach_fds32()
316 bufsz = ((unsigned long)kmsg->msg_control) - orig_cmsg_uptr; in cmsg32_recvmsg_fixup()
328 (((unsigned long)kmsg->msg_control) - sizeof(struct cmsghdr))) { in cmsg32_recvmsg_fixup()
358 kmsg->msg_control = (struct cmsghdr *) in cmsg32_recvmsg_fixup()
[all …]
/linux-2.4.37.9/include/linux/
Dsocket.h55 void * msg_control; /* Per protocol magic (eg BSD file descriptor passing) */ member
89 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
93 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
137 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-2.4.37.9/net/khttpd/
Dmisc.c86 msg.msg_control = NULL; in ReadRest()
158 msg.msg_control = NULL; in SendBuffer()
186 msg.msg_control = NULL; in SendBuffer_async()
Drfc.c183 msg.msg_control = NULL; in SendHTTPHeader()
232 msg.msg_control = NULL; in SendHTTPHeader()
Dwaitheaders.c193 msg.msg_control = NULL; in DecodeHeader()
/linux-2.4.37.9/arch/sparc64/solaris/
Dsocket.c287 u32 msg_control; member
336 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
342 kmsg->msg_control = (void *)A(tmp3); in msghdr_from_user32_to_kern()
409 struct sol_cmsghdr *ucmsg = (struct sol_cmsghdr *)kern_msg.msg_control; in solaris_sendmsg()
429 kern_msg.msg_control = ctl_buf; in solaris_sendmsg()
478 cmsg_ptr = (unsigned long) kern_msg.msg_control; in solaris_recvmsg()
499 err = __put_user((unsigned long)kern_msg.msg_control - cmsg_ptr, in solaris_recvmsg()
/linux-2.4.37.9/net/core/
Dscm.c184 struct cmsghdr *cm = (struct cmsghdr*)msg->msg_control; in put_cmsg()
207 msg->msg_control += cmlen; in put_cmsg()
216 struct cmsghdr *cm = (struct cmsghdr*)msg->msg_control; in scm_detach_fds()
259 msg->msg_control += cmlen; in scm_detach_fds()
Dsock.c1110 msg.msg_control = NULL; in sock_no_sendpage()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c1790 u32 msg_control; member
1814 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
1819 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
1838 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
1874 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
1880 kmsg->msg_control = (void *)A(tmp3); in msghdr_from_user32_to_kern()
1994 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user32_to_kern()
2009 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
2031 kmsg->msg_control += cmlen; in put_cmsg32()
2037 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in scm_detach_fds32()
[all …]
/linux-2.4.37.9/net/
Dsocket.c551 msg.msg_control=NULL; in sock_read()
584 msg.msg_control=NULL; in sock_write()
626 msg.msg_control = NULL; in sock_readv_writev()
1199 msg.msg_control=NULL; in sys_sendto()
1249 msg.msg_control=NULL; in sys_recvfrom()
1400 if (copy_from_user(ctl_buf, msg_sys.msg_control, ctl_len)) in sys_sendmsg()
1402 msg_sys.msg_control = ctl_buf; in sys_sendmsg()
1475 cmsg_ptr = (unsigned long)msg_sys.msg_control; in sys_recvmsg()
1493 err = __put_user((unsigned long)msg_sys.msg_control-cmsg_ptr, in sys_recvmsg()
/linux-2.4.37.9/include/net/
Dscm.h49 if (!msg->msg_control) in scm_recv()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c2459 unsigned int msg_control; /* Per protocol magic (eg BSD file descriptor passing) */ member
2483 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2488 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
2508 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2544 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
2550 kmsg->msg_control = (void *)AA(tmp3); in msghdr_from_user32_to_kern()
2674 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user32_to_kern()
2687 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
2709 kmsg->msg_control += cmlen; in put_cmsg32()
2715 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in scm_detach_fds32()
[all …]
/linux-2.4.37.9/fs/ncpfs/
Dsock.c50 msg.msg_control = NULL; in _recv()
68 msg.msg_control = NULL; in _send()
372 msg.msg_control = NULL; in do_ncp_tcp_rpc_call()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c2281 u32 msg_control; member
2305 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2310 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
2329 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2365 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
2371 kmsg->msg_control = (void *)A(tmp3); in msghdr_from_user32_to_kern()
2485 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user32_to_kern()
2500 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
2522 kmsg->msg_control += cmlen; in put_cmsg32()
2528 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in scm_detach_fds32()
[all …]
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c1352 unsigned int msg_control; /* Per protocol magic (eg BSD file descriptor passing) */ member
1374 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
1379 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
1395 return __cmsg32_nxthdr(msg->msg_control, msg->msg_controllen, cmsg, cmsg_len); in cmsg32_nxthdr()
1412 ret |= __get_user(i, &mp32->msg_control); in get_msghdr32()
1413 mp->msg_control = (void *)A(i); in get_msghdr32()
1487 kmsg->msg_control = kcmsg_base; in get_cmsghdr32()
1544 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
1567 kmsg->msg_control += cmlen; in put_cmsg32()
1574 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in scm_detach_fds32()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c3273 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
3278 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
3286 u32 msg_control; member
3315 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
3358 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
3364 kmsg->msg_control = (void *)A(tmp3); in msghdr_from_user32_to_kern()
3502 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user32_to_kern()
3539 ctl_buf = kern_msg.msg_control; in sys32_sendmsg()
3566 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
3588 kmsg->msg_control += cmlen; in put_cmsg32()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c2353 u32 msg_control; member
2377 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2382 ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
2401 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2437 err |= __get_user(tmp3, &umsg->msg_control); in msghdr_from_user32_to_kern()
2443 kmsg->msg_control = (void *)A(tmp3); in msghdr_from_user32_to_kern()
2557 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user32_to_kern()
2572 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in put_cmsg32()
2594 kmsg->msg_control += cmlen; in put_cmsg32()
2600 struct cmsghdr32 *cm = (struct cmsghdr32 *) kmsg->msg_control; in scm_detach_fds32()
[all …]
/linux-2.4.37.9/fs/smbfs/
Dsock.c46 msg.msg_control = NULL; in _recvfrom()
69 msg.msg_control = NULL; in _send()
844 msg.msg_control = NULL; in smb_send_trans2()
/linux-2.4.37.9/net/ipv6/
Dipv6_sockglue.c292 msg.msg_control = (void*)(opt+1); in ipv6_setsockopt()
561 msg.msg_control = optval; in ipv6_getsockopt()
Dip6_flowlabel.c310 msg.msg_control = (void*)(fl->opt+1); in fl_create()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_sync.c540 msg.msg_control = NULL; in ip_vs_send_async()
583 msg.msg_control = NULL; in ip_vs_receive()
/linux-2.4.37.9/net/sunrpc/
Dsvcsock.c333 msg.msg_control = cmh; in svc_sendto()
341 msg.msg_control = NULL; in svc_sendto()
398 msg.msg_control = NULL; in svc_recvfrom()
/linux-2.4.37.9/net/econet/
Daf_econet.c432 udpmsg.msg_control = NULL; in econet_sendmsg()
803 udpmsg.msg_control = NULL; in aun_send_response()
/linux-2.4.37.9/drivers/block/
Dnbd.c147 msg.msg_control = NULL; in nbd_xmit()

12