Home
last modified time | relevance | path

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

1234

/external/ltp/utils/sctp/func_tests/
Dtest_sctp_sendrecvmsg.c85 int offset, msg_flags; in main() local
178 msg_flags = 0; in main()
181 &sinfo, &msg_flags); in main()
185 test_check_buf_notification(big_buffer, error, msg_flags, in main()
201 msg_flags = 0; in main()
204 &sinfo, &msg_flags); in main()
206 test_check_buf_notification(big_buffer, error, msg_flags, in main()
215 msg_flags = 0; in main()
218 &sinfo, &msg_flags); in main()
219 test_check_buf_data(big_buffer, error, msg_flags, &sinfo, in main()
[all …]
Dtest_timetolive.c198 outmessage.msg_flags = 0; in main()
272 outmessage.msg_flags = 0; in main()
344 } while (!(inmessage.msg_flags & MSG_EOR)); in main()
/external/vulkan-validation-layers/layers/
Dvk_layer_config.cpp253 void print_msg_flags(VkFlags msgFlags, char *msg_flags) { in print_msg_flags() argument
256 msg_flags[0] = 0; in print_msg_flags()
258 strcat(msg_flags, "DEBUG"); in print_msg_flags()
263 strcat(msg_flags, ","); in print_msg_flags()
264 strcat(msg_flags, "INFO"); in print_msg_flags()
269 strcat(msg_flags, ","); in print_msg_flags()
270 strcat(msg_flags, "WARN"); in print_msg_flags()
275 strcat(msg_flags, ","); in print_msg_flags()
276 strcat(msg_flags, "PERF"); in print_msg_flags()
281 strcat(msg_flags, ","); in print_msg_flags()
[all …]
Dvk_layer_logging.h359 char msg_flags[30]; in log_callback() local
361 print_msg_flags(msgFlags, msg_flags); in log_callback()
363 … "%s(%s): object: 0x%" PRIx64 " type: %d location: %lu msgCode: %d: %s\n", pLayerPrefix, msg_flags, in log_callback()
374 char msg_flags[30]; in win32_debug_output_msg() local
377 print_msg_flags(msgFlags, msg_flags); in win32_debug_output_msg()
380 msg_flags, (size_t)srcObject, objType, location, msgCode, pMsg); in win32_debug_output_msg()
/external/ltp/utils/sctp/lib/
Drecvmsg.c57 int *msg_flags) in sctp_recvmsg() argument
77 error = recvmsg(s, &inmsg, msg_flags ? *msg_flags : 0); in sctp_recvmsg()
83 if (msg_flags) in sctp_recvmsg()
84 *msg_flags = inmsg.msg_flags; in sctp_recvmsg()
Dsendmsg.c51 outmsg.msg_flags = 0; in sctp_sendmsg()
94 outmsg.msg_flags = 0; in sctp_send()
/external/ltp/utils/sctp/testlib/
Dsctputil.c112 if (!(MSG_NOTIFICATION & msg->msg_flags)) { in test_print_message()
181 test_check_buf_notification(void *buf, int datalen, int msg_flags, in test_check_buf_notification() argument
187 if (!(msg_flags & MSG_NOTIFICATION)) in test_check_buf_notification()
226 msg->msg_flags, expected_datalen, in test_check_msg_notification()
234 test_check_buf_data(void *buf, int datalen, int msg_flags, in test_check_buf_data() argument
239 if (msg_flags & MSG_NOTIFICATION) in test_check_buf_data()
251 if ((msg_flags & ~0x80000000) != expected_msg_flags) in test_check_buf_data()
253 "expecting:0x%x", msg_flags, expected_msg_flags); in test_check_buf_data()
296 test_check_buf_data(msg->msg_iov[0].iov_base, datalen, msg->msg_flags, in test_check_msg_data()
/external/strace/
Dmmsghdr.c182 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
196 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
215 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
228 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
Dfetch_struct_msghdr.c76 p_native->msg_flags = in MPERS_PRINTER_DECL()
77 v_compat.msg_flags; in MPERS_PRINTER_DECL()
Dfetch_struct_mmsghdr.c76 p_native->msg_hdr.msg_flags = in MPERS_PRINTER_DECL()
77 v_compat.msg_hdr.msg_flags; in MPERS_PRINTER_DECL()
Dmsghdr.c389 printflags(msg_flags, msg->msg_flags, "MSG_???"); in print_struct_msghdr()
438 printflags(msg_flags, tcp->u_arg[2], "MSG_???"); in SYS_FUNC()
467 printflags(msg_flags, tcp->u_arg[2], "MSG_???"); in SYS_FUNC()
Dnet.c256 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
268 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
293 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
319 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC()
/external/iputils/ninfod/
Dni_ifaddrs.c151 msg.msg_flags = 0; in nl_recvmsg()
154 || (msg.msg_flags & MSG_TRUNC)) in nl_recvmsg()
157 *flags = msg.msg_flags; in nl_recvmsg()
169 int msg_flags; in nl_getmsg() local
179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); in nl_getmsg()
180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) { in nl_getmsg()
/external/dnsmasq/src/
Dnetlink.c89 msg.msg_flags = 0; in netlink_recv()
94 if (rc != -1 && (msg.msg_flags & MSG_TRUNC)) in netlink_recv()
107 msg.msg_flags = 0; in netlink_recv()
116 if (msg.msg_flags & MSG_TRUNC) in netlink_recv()
/external/netperf/src/
Dnettest_sctp.c1066 int msg_flags = 0; in recv_sctp_stream() local
1323 NULL, 0, NULL, &msg_flags)) != 0) { in recv_sctp_stream()
1346 if (msg_flags & MSG_NOTIFICATION) { in recv_sctp_stream()
1347 msg_flags = 0; in recv_sctp_stream()
2216 int msg_flags = 0; in recv_sctp_stream_1toMany() local
2458 NULL, &msg_flags)) != 0) { in recv_sctp_stream_1toMany()
2470 if (msg_flags & MSG_NOTIFICATION) { in recv_sctp_stream_1toMany()
2607 int msg_flags = 0; in send_sctp_rr() local
2929 msg_flags = 0; in send_sctp_rr()
2933 NULL, &msg_flags)) < 0) { in send_sctp_rr()
[all …]
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg03.c86 msg.msg_flags = 0; in client()
122 msg.msg_flags = 0; in server()
/external/strace/mpers-m32/
Dstruct_msghdr.h11 int32_t msg_flags; member
Dstruct_mmsghdr.h12 int32_t msg_flags; member
/external/strace/mpers-mx32/
Dstruct_msghdr.h11 int32_t msg_flags; member
Dstruct_mmsghdr.h12 int32_t msg_flags; member
/external/libchrome/base/posix/
Dunix_domain_socket_linux.cc161 if (msg.msg_flags & MSG_TRUNC || msg.msg_flags & MSG_CTRUNC) { in RecvMsgWithFlags()
/external/strace/tests/
Dmmsg_name.c111 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
195 recv_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
/external/strace/tests-m32/
Dmmsg_name.c111 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
195 recv_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
/external/strace/tests-mx32/
Dmmsg_name.c111 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
195 recv_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
/external/libnfnetlink/src/
Dlibnfnetlink.c499 msg.msg_flags = 0; in nfnl_sendiov()
523 u_int16_t msg_flags) in nfnl_fill_hdr() argument
532 nlh->nlmsg_flags = msg_flags; in nfnl_fill_hdr()
697 if (msg.msg_flags & MSG_TRUNC) { in nfnl_listen()
726 if (msg.msg_flags & MSG_TRUNC) { in nfnl_listen()
815 if (msg.msg_flags & MSG_TRUNC) { in nfnl_talk()
858 if (msg.msg_flags & MSG_TRUNC) { in nfnl_talk()

1234