Home
last modified time | relevance | path

Searched refs:msg_namelen (Results 1 – 25 of 111) sorted by relevance

12345

/external/strace/tests/
Dmsg_name.c58 msg->msg_namelen = sizeof(*addr); in test_msg_name()
73 (int) msg->msg_namelen, rc); in test_msg_name()
81 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
88 recv_fd, (int) msg->msg_namelen, rc); in test_msg_name()
92 msg->msg_namelen = offsetof_sun_path; in test_msg_name()
99 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
101 msg->msg_namelen = sizeof(struct sockaddr); in test_msg_name()
102 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen; in test_msg_name()
110 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc); in test_msg_name()
114 recv_fd, (int) msg->msg_namelen, rc, errno2name()); in test_msg_name()
Dmmsg_name.c65 int len = user_msg_namelen < (int) msg->msg_namelen ? in print_msghdr()
66 user_msg_namelen : (int) msg->msg_namelen; in print_msghdr()
75 if (user_msg_namelen != (int) msg->msg_namelen) { in print_msghdr()
80 (int) msg->msg_namelen, * (char *) msg->msg_iov[0].iov_base); in print_msghdr()
110 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
141 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
192 recv_mh[i].msg_hdr.msg_namelen = i; in test_mmsg_name()
Dnetlink_inet_diag.c66 .msg_namelen = sizeof(nladdr), in send_query()
92 .msg_namelen = sizeof(nladdr), in check_responses()
Dnetlink_netlink_diag.c71 .msg_namelen = sizeof(nladdr), in send_query()
97 .msg_namelen = sizeof(nladdr), in check_responses()
Dnetlink_unix_diag.c74 .msg_namelen = sizeof(nladdr), in send_query()
100 .msg_namelen = sizeof(nladdr), in check_responses()
/external/strace/tests-mx32/
Dmsg_name.c58 msg->msg_namelen = sizeof(*addr); in test_msg_name()
73 (int) msg->msg_namelen, rc); in test_msg_name()
81 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
88 recv_fd, (int) msg->msg_namelen, rc); in test_msg_name()
92 msg->msg_namelen = offsetof_sun_path; in test_msg_name()
99 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
101 msg->msg_namelen = sizeof(struct sockaddr); in test_msg_name()
102 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen; in test_msg_name()
110 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc); in test_msg_name()
114 recv_fd, (int) msg->msg_namelen, rc, errno2name()); in test_msg_name()
Dmmsg_name.c65 int len = user_msg_namelen < (int) msg->msg_namelen ? in print_msghdr()
66 user_msg_namelen : (int) msg->msg_namelen; in print_msghdr()
75 if (user_msg_namelen != (int) msg->msg_namelen) { in print_msghdr()
80 (int) msg->msg_namelen, * (char *) msg->msg_iov[0].iov_base); in print_msghdr()
110 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
141 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
192 recv_mh[i].msg_hdr.msg_namelen = i; in test_mmsg_name()
Dnetlink_unix_diag.c74 .msg_namelen = sizeof(nladdr), in send_query()
100 .msg_namelen = sizeof(nladdr), in check_responses()
Dnetlink_inet_diag.c66 .msg_namelen = sizeof(nladdr), in send_query()
92 .msg_namelen = sizeof(nladdr), in check_responses()
Dnetlink_netlink_diag.c71 .msg_namelen = sizeof(nladdr), in send_query()
97 .msg_namelen = sizeof(nladdr), in check_responses()
/external/strace/tests-m32/
Dmsg_name.c58 msg->msg_namelen = sizeof(*addr); in test_msg_name()
73 (int) msg->msg_namelen, rc); in test_msg_name()
81 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
88 recv_fd, (int) msg->msg_namelen, rc); in test_msg_name()
92 msg->msg_namelen = offsetof_sun_path; in test_msg_name()
99 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
101 msg->msg_namelen = sizeof(struct sockaddr); in test_msg_name()
102 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen; in test_msg_name()
110 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc); in test_msg_name()
114 recv_fd, (int) msg->msg_namelen, rc, errno2name()); in test_msg_name()
Dmmsg_name.c65 int len = user_msg_namelen < (int) msg->msg_namelen ? in print_msghdr()
66 user_msg_namelen : (int) msg->msg_namelen; in print_msghdr()
75 if (user_msg_namelen != (int) msg->msg_namelen) { in print_msghdr()
80 (int) msg->msg_namelen, * (char *) msg->msg_iov[0].iov_base); in print_msghdr()
110 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
141 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
192 recv_mh[i].msg_hdr.msg_namelen = i; in test_mmsg_name()
Dnetlink_inet_diag.c66 .msg_namelen = sizeof(nladdr), in send_query()
92 .msg_namelen = sizeof(nladdr), in check_responses()
Dnetlink_netlink_diag.c71 .msg_namelen = sizeof(nladdr), in send_query()
97 .msg_namelen = sizeof(nladdr), in check_responses()
Dnetlink_unix_diag.c74 .msg_namelen = sizeof(nladdr), in send_query()
100 .msg_namelen = sizeof(nladdr), in check_responses()
/external/strace/
Dmsghdr.c339 const int msg_namelen = in print_struct_msghdr() local
340 p_user_msg_namelen && (int) msg->msg_namelen > *p_user_msg_namelen in print_struct_msghdr()
341 ? *p_user_msg_namelen : (int) msg->msg_namelen; in print_struct_msghdr()
345 decode_sockaddr(tcp, ptr_to_kulong(msg->msg_name), msg_namelen); in print_struct_msghdr()
350 if (p_user_msg_namelen && *p_user_msg_namelen != (int) msg->msg_namelen) in print_struct_msghdr()
352 tprintf("%d", msg->msg_namelen); in print_struct_msghdr()
376 *p_msg_namelen = msg.msg_namelen; in fetch_msghdr_namelen()
421 int msg_namelen; in SYS_FUNC() local
426 if (fetch_msghdr_namelen(tcp, tcp->u_arg[1], &msg_namelen)) { in SYS_FUNC()
427 set_tcb_priv_ulong(tcp, msg_namelen); in SYS_FUNC()
[all …]
Dfetch_struct_msghdr.c61 p_native->msg_namelen = in MPERS_PRINTER_DECL()
62 v_compat.msg_namelen; in MPERS_PRINTER_DECL()
Dfetch_struct_mmsghdr.c61 p_native->msg_hdr.msg_namelen = in MPERS_PRINTER_DECL()
62 v_compat.msg_hdr.msg_namelen; in MPERS_PRINTER_DECL()
/external/ltp/utils/sctp/func_tests/
Dtest_basic.c168 outmessage.msg_namelen = sizeof(loop2); in main()
193 inmessage.msg_namelen = sizeof(msgname); in main()
200 if (inmessage.msg_namelen != sizeof(struct sockaddr_in6)) { in main()
216 if (inmessage.msg_namelen != sizeof(struct sockaddr_in)) { in main()
249 inmessage.msg_namelen = sizeof(msgname); in main()
256 if (inmessage.msg_namelen != sizeof(struct sockaddr_in6)) { in main()
272 if (inmessage.msg_namelen != sizeof(struct sockaddr_in)) { in main()
303 outmessage.msg_namelen = 0; in main()
326 outmessage.msg_namelen = sizeof(loop2); in main()
411 inmessage.msg_namelen = sizeof(msgname); in main()
[all …]
Dtest_timetolive.c193 outmessage.msg_namelen = sizeof(loop2); in main()
289 outmessage.msg_namelen = 0; in main()
301 outmessage.msg_namelen = 0; in main()
314 outmessage.msg_namelen = 0; in main()
329 outmessage.msg_namelen = 0; in main()
Dtest_1_to_1_sendmsg.c128 outmessage.msg_namelen = sizeof(conn_addr); in main()
286 outmessage.msg_namelen = sizeof(svr_addr); in main()
328 outmessage.msg_namelen = sizeof(conn_addr); in main()
341 outmessage.msg_namelen = sizeof(conn_addr); in main()
Dtest_peeloff.c132 outmessage.msg_namelen = sizeof(svr_loop); in main()
243 outmessage.msg_namelen = sizeof(clt_loop[i]); in main()
267 outmessage.msg_namelen = sizeof(clt_loop[1]); in main()
/external/ltp/utils/sctp/lib/
Drecvmsg.c71 inmsg.msg_namelen = fromlen ? *fromlen : 0; in sctp_recvmsg()
82 *fromlen = inmsg.msg_namelen; in sctp_recvmsg()
Dsendmsg.c43 outmsg.msg_namelen = tolen; in sctp_sendmsg()
82 outmsg.msg_namelen = 0; in sctp_send()
/external/iproute2/lib/
Dlibnetlink.c180 .msg_namelen = sizeof(nladdr), in rtnl_dump_request()
203 .msg_namelen = sizeof(nladdr), in rtnl_dump_request_n()
222 .msg_namelen = sizeof(nladdr), in rtnl_dump_filter_l()
347 .msg_namelen = sizeof(nladdr), in rtnl_talk()
385 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_talk()
386 fprintf(stderr, "sender address length == %d\n", msg.msg_namelen); in rtnl_talk()
477 .msg_namelen = sizeof(nladdr), in rtnl_listen()
515 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_listen()
516 fprintf(stderr, "Sender address length == %d\n", msg.msg_namelen); in rtnl_listen()

12345