Home
last modified time | relevance | path

Searched refs:msg_flags (Results 1 – 25 of 60) sorted by relevance

123

/linux-2.4.37.9/arch/sparc64/solaris/
Dsocket.c289 u32 msg_flags; member
346 err |= get_user(kmsg->msg_flags, &umsg->msg_flags); in msghdr_from_user32_to_kern()
348 kmsg->msg_flags = solaris_to_linux_msgflags(kmsg->msg_flags); in msghdr_from_user32_to_kern()
431 kern_msg.msg_flags = solaris_to_linux_msgflags(user_flags); in solaris_sendmsg()
437 kern_msg.msg_flags |= MSG_DONTWAIT; in solaris_sendmsg()
479 kern_msg.msg_flags = 0; in solaris_recvmsg()
496 err = __put_user(linux_to_solaris_msgflags(kern_msg.msg_flags), &user_msg->msg_flags); in solaris_recvmsg()
/linux-2.4.37.9/net/sctp/
Dulpqueue.c120 if ((event) && (event->msg_flags & MSG_EOR)){ in sctp_ulpq_tail_data()
188 if (event->msg_flags & MSG_NOTIFICATION) in sctp_ulpq_tail_event()
191 clear_pd = event->msg_flags & MSG_EOR; in sctp_ulpq_tail_event()
377 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_reassembled()
404 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_reassembled()
434 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_partial()
464 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_partial()
479 if (SCTP_DATA_NOT_FRAG == (event->msg_flags & SCTP_DATA_FRAG_MASK)) { in sctp_ulpq_reasm()
480 event->msg_flags |= MSG_EOR; in sctp_ulpq_reasm()
526 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_first()
[all …]
Dulpevent.c69 SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event, int msg_flags) in sctp_ulpevent_init() argument
72 event->msg_flags = msg_flags; in sctp_ulpevent_init()
76 SCTP_STATIC struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags, in sctp_ulpevent_new() argument
87 sctp_ulpevent_init(event, msg_flags); in sctp_ulpevent_new()
98 return MSG_NOTIFICATION == (event->msg_flags & MSG_NOTIFICATION); in sctp_ulpevent_is_notification()
705 event->msg_flags |= chunk->chunk_hdr->flags; in sctp_ulpevent_make_rcvmsg()
/linux-2.4.37.9/net/netlink/
Dnetlink_dev.c68 msg.msg_flags=0; in netlink_write()
92 msg.msg_flags=0; in netlink_read()
96 msg.msg_flags=MSG_DONTWAIT; in netlink_read()
98 return sock_recvmsg(sock, &msg, count, msg.msg_flags); in netlink_read()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsocket32.c76 err |= get_user(kmsg->msg_flags, &umsg->msg_flags); in msghdr_from_user32_to_kern()
208 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg32()
213 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg32()
272 kmsg->msg_flags |= MSG_CTRUNC; in scm_detach_fds32()
399 kern_msg.msg_flags = user_flags; in sys32_sendmsg()
404 kern_msg.msg_flags |= MSG_DONTWAIT; in sys32_sendmsg()
446 kern_msg.msg_flags = 0; in sys32_recvmsg()
461 kern_msg.msg_flags |= MSG_CTRUNC; in sys32_recvmsg()
494 err = __put_user(kern_msg.msg_flags, &user_msg->msg_flags); in sys32_recvmsg()
/linux-2.4.37.9/net/khttpd/
Dmisc.c88 msg.msg_flags = MSG_DONTWAIT; in ReadRest()
160 msg.msg_flags = MSG_NOSIGNAL; in SendBuffer()
188 msg.msg_flags = MSG_DONTWAIT|MSG_NOSIGNAL; in SendBuffer_async()
Drfc.c185 msg.msg_flags = 0; /* Synchronous for now */ in SendHTTPHeader()
234 msg.msg_flags = 0; /* Synchronous for now */ in SendHTTPHeader()
Dwaitheaders.c195 msg.msg_flags = 0; in DecodeHeader()
/linux-2.4.37.9/drivers/char/ipmi/
Dipmi_kcs_intf.c104 unsigned char msg_flags; member
262 if (kcs_info->msg_flags & WDT_PRE_TIMEOUT_INT) { in handle_flags()
265 kcs_info->msg_flags &= ~WDT_PRE_TIMEOUT_INT; in handle_flags()
269 } else if (kcs_info->msg_flags & RECEIVE_MSG_AVAIL) { in handle_flags()
287 } else if (kcs_info->msg_flags & EVENT_MSG_BUFFER_FULL) { in handle_flags()
353 kcs_info->msg_flags = msg[3]; in handle_transaction_done()
396 kcs_info->msg_flags &= ~EVENT_MSG_BUFFER_FULL; in handle_transaction_done()
421 kcs_info->msg_flags &= ~RECEIVE_MSG_AVAIL; in handle_transaction_done()
/linux-2.4.37.9/net/core/
Dscm.c190 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
194 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
264 msg->msg_flags |= MSG_CTRUNC; in scm_detach_fds()
/linux-2.4.37.9/net/ipv4/
Draw.c335 if (msg->msg_flags & MSG_OOB) /* Mirror BSD error message */ in raw_sendmsg()
401 if (msg->msg_flags & MSG_DONTROUTE) in raw_sendmsg()
420 if (msg->msg_flags & MSG_CONFIRM) in raw_sendmsg()
430 raw_getfrag, &rfh, len, &ipc, rt, msg->msg_flags); in raw_sendmsg()
441 if (!(msg->msg_flags & MSG_PROBE) || len) in raw_sendmsg()
509 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg()
Dudp.c464 if (msg->msg_flags&MSG_OOB) /* Mirror BSD error message compatibility */ in udp_sendmsg()
520 if (sk->localroute || (msg->msg_flags&MSG_DONTROUTE) || in udp_sendmsg()
549 if (msg->msg_flags&MSG_CONFIRM) in udp_sendmsg()
569 &ufh, ulen, &ipc, rt, msg->msg_flags); in udp_sendmsg()
583 if (!(msg->msg_flags&MSG_PROBE) || len) in udp_sendmsg()
718 msg->msg_flags |= MSG_TRUNC; in udp_recvmsg()
724 } else if (msg->msg_flags&MSG_TRUNC) { in udp_recvmsg()
Dip_sockglue.c102 msg->msg_flags |= MSG_CTRUNC; in ip_cmsg_recv_retopts()
317 msg->msg_flags |= MSG_TRUNC; in ip_recv_error()
352 msg->msg_flags |= MSG_ERRQUEUE; in ip_recv_error()
1019 msg.msg_flags = 0; in ip_getsockopt()
/linux-2.4.37.9/net/x25/
Daf_x25.c869 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_OOB | MSG_EOR)) in x25_sendmsg()
873 if (!(msg->msg_flags & (MSG_EOR|MSG_OOB))) in x25_sendmsg()
917 if ((msg->msg_flags & MSG_OOB) && len > 32) in x25_sendmsg()
922 if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) in x25_sendmsg()
924 X25_SKB_CB(skb)->flags = msg->msg_flags; in x25_sendmsg()
951 if (msg->msg_flags & MSG_OOB) { in x25_sendmsg()
991 if (msg->msg_flags & MSG_OOB) { in x25_sendmsg()
1056 msg->msg_flags |= MSG_OOB; in x25_recvmsg()
1078 msg->msg_flags |= MSG_TRUNC; in x25_recvmsg()
1082 msg->msg_flags |= MSG_EOR; in x25_recvmsg()
/linux-2.4.37.9/net/
Dsocket.c586 msg.msg_flags=!(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT; in sock_write()
588 msg.msg_flags |= MSG_EOR; in sock_write()
630 msg.msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in sock_readv_writev()
634 return sock_recvmsg(sock, &msg, size, msg.msg_flags); in sock_readv_writev()
637 msg.msg_flags |= MSG_EOR; in sock_readv_writev()
1212 msg.msg_flags = flags; in sys_sendto()
1404 msg_sys.msg_flags = flags; in sys_sendmsg()
1407 msg_sys.msg_flags |= MSG_DONTWAIT; in sys_sendmsg()
1476 msg_sys.msg_flags = 0; in sys_recvmsg()
1490 err = __put_user(msg_sys.msg_flags, &msg->msg_flags); in sys_recvmsg()
/linux-2.4.37.9/net/bluetooth/
Dhci_sock.c344 msg->msg_flags |= MSG_TRUNC; in hci_sock_recvmsg()
368 if (msg->msg_flags & MSG_OOB) in hci_sock_sendmsg()
371 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE)) in hci_sock_sendmsg()
384 if (!(skb = bluez_skb_send_alloc(sk, len, msg->msg_flags & MSG_DONTWAIT, &err))) in hci_sock_sendmsg()
/linux-2.4.37.9/net/econet/
Daf_econet.c138 msg->msg_flags|=MSG_TRUNC; in econet_recvmsg()
260 if (msg->msg_flags&~MSG_DONTWAIT) in econet_sendmsg()
300 msg->msg_flags & MSG_DONTWAIT, &err); in econet_sendmsg()
414 msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) in econet_sendmsg()
434 udpmsg.msg_flags=0; in econet_sendmsg()
805 udpmsg.msg_flags=0; in aun_send_response()
/linux-2.4.37.9/net/ipv6/
Draw.c376 msg->msg_flags |= MSG_TRUNC; in rawv6_recvmsg()
381 } else if (msg->msg_flags&MSG_TRUNC) { in rawv6_recvmsg()
533 if (msg->msg_flags & MSG_OOB) in rawv6_sendmsg()
646 opt, hlimit, msg->msg_flags); in rawv6_sendmsg()
649 opt, hlimit, msg->msg_flags); in rawv6_sendmsg()
/linux-2.4.37.9/include/net/
Dscm.h52 msg->msg_flags |= MSG_CTRUNC; in scm_recv()
/linux-2.4.37.9/include/asm-x86_64/
Dsocket32.h25 unsigned msg_flags; member
/linux-2.4.37.9/include/net/sctp/
Dulpevent.h64 int msg_flags; member
/linux-2.4.37.9/drivers/block/
Dnbd.c117 static int nbd_xmit(int send, struct socket *sock, char *buf, int size, int msg_flags) in nbd_xmit() argument
150 msg.msg_flags = msg_flags | MSG_NOSIGNAL; in nbd_xmit()
/linux-2.4.37.9/net/unix/
Daf_unix.c1171 if (msg->msg_flags&MSG_OOB) in unix_dgram_sendmsg()
1195 skb = sock_alloc_send_skb(sk, len, msg->msg_flags&MSG_DONTWAIT, &err); in unix_dgram_sendmsg()
1208 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg()
1303 if (msg->msg_flags&MSG_OOB) in unix_stream_sendmsg()
1340 skb=sock_alloc_send_skb(sk,size,msg->msg_flags&MSG_DONTWAIT, &err); in unix_stream_sendmsg()
1380 if (sent==0 && !(msg->msg_flags&MSG_NOSIGNAL)) in unix_stream_sendmsg()
1428 msg->msg_flags |= MSG_TRUNC; in unix_dgram_recvmsg()
/linux-2.4.37.9/net/irda/
Daf_irda.c1266 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_EOR)) in irda_sendmsg()
1301 msg->msg_flags & MSG_DONTWAIT, &err); in irda_sendmsg()
1354 msg->msg_flags |= MSG_TRUNC; in irda_recvmsg_dgram()
1517 if (msg->msg_flags & ~MSG_DONTWAIT) in irda_sendmsg_dgram()
1543 msg->msg_flags & MSG_DONTWAIT, &err); in irda_sendmsg_dgram()
1583 if (msg->msg_flags & ~MSG_DONTWAIT) in irda_sendmsg_ultra()
1606 msg->msg_flags & MSG_DONTWAIT, &err); in irda_sendmsg_ultra()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c1792 unsigned msg_flags; member
1885 err |= get_user(kmsg->msg_flags, &umsg->msg_flags); in msghdr_from_user32_to_kern()
2014 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg32()
2019 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg32()
2078 kmsg->msg_flags |= MSG_CTRUNC; in scm_detach_fds32()
2205 kern_msg.msg_flags = user_flags; in sys32_sendmsg()
2210 kern_msg.msg_flags |= MSG_DONTWAIT; in sys32_sendmsg()
2252 kern_msg.msg_flags = 0; in sys32_recvmsg()
2267 kern_msg.msg_flags |= MSG_CTRUNC; in sys32_recvmsg()
2300 err = __put_user(kern_msg.msg_flags, &user_msg->msg_flags); in sys32_recvmsg()

123