Lines Matching refs:u_arg
468 tprintf("%#lx", tcp->u_arg[1]); in decode_mmsg()
477 printmmsghdr(tcp, tcp->u_arg[1], i, msg_len); in decode_mmsg()
482 tprintf(", %u, ", (unsigned int) tcp->u_arg[2]); in decode_mmsg()
484 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in decode_mmsg()
512 printxval(domains, tcp->u_arg[0], "PF_???"); in sys_socket()
514 tprint_sock_type(tcp, tcp->u_arg[1]); in sys_socket()
516 switch (tcp->u_arg[0]) { in sys_socket()
521 printxval(inet_protocols, tcp->u_arg[2], "IPPROTO_???"); in sys_socket()
527 printxval(domains, tcp->u_arg[2], "PF_???"); in sys_socket()
533 printxval(netlink_protocols, tcp->u_arg[2], "NETLINK_???"); in sys_socket()
537 tprintf("%lu", tcp->u_arg[2]); in sys_socket()
548 printfd(tcp, tcp->u_arg[0]); in sys_bind()
550 printsock(tcp, tcp->u_arg[1], tcp->u_arg[2]); in sys_bind()
551 tprintf(", %lu", tcp->u_arg[2]); in sys_bind()
566 printfd(tcp, tcp->u_arg[0]); in sys_listen()
568 tprintf("%lu", tcp->u_arg[1]); in sys_listen()
577 printfd(tcp, tcp->u_arg[0]); in do_accept()
581 if (!tcp->u_arg[2]) in do_accept()
582 tprintf("%#lx, NULL", tcp->u_arg[1]); in do_accept()
585 if (tcp->u_arg[1] == 0 || syserror(tcp) in do_accept()
586 || umove(tcp, tcp->u_arg[2], &len) < 0) { in do_accept()
587 tprintf("%#lx", tcp->u_arg[1]); in do_accept()
589 printsock(tcp, tcp->u_arg[1], len); in do_accept()
592 printnum_int(tcp, tcp->u_arg[2], "%u"); in do_accept()
596 printflags(sock_type_flags, tcp->u_arg[flags_arg], in do_accept()
618 printfd(tcp, tcp->u_arg[0]); in sys_send()
620 printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in sys_send()
621 tprintf(", %lu, ", tcp->u_arg[2]); in sys_send()
623 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in sys_send()
632 printfd(tcp, tcp->u_arg[0]); in sys_sendto()
634 printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in sys_sendto()
635 tprintf(", %lu, ", tcp->u_arg[2]); in sys_sendto()
637 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in sys_sendto()
640 printsock(tcp, tcp->u_arg[4], tcp->u_arg[5]); in sys_sendto()
642 tprintf(", %lu", tcp->u_arg[5]); in sys_sendto()
653 printfd(tcp, tcp->u_arg[0]); in sys_sendmsg()
655 printmsghdr(tcp, tcp->u_arg[1], (unsigned long) -1L); in sys_sendmsg()
658 printflags(msg_flags, tcp->u_arg[2], "MSG_???"); in sys_sendmsg()
668 printfd(tcp, tcp->u_arg[0]); in sys_sendmmsg()
672 tcp->u_arg[1], (unsigned int) tcp->u_arg[2]); in sys_sendmmsg()
673 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in sys_sendmmsg()
688 printfd(tcp, tcp->u_arg[0]); in sys_recv()
692 tprintf("%#lx", tcp->u_arg[1]); in sys_recv()
694 printstr(tcp, tcp->u_arg[1], tcp->u_rval); in sys_recv()
696 tprintf(", %lu, ", tcp->u_arg[2]); in sys_recv()
697 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in sys_recv()
708 printfd(tcp, tcp->u_arg[0]); in sys_recvfrom()
713 tcp->u_arg[1], tcp->u_arg[2], tcp->u_arg[3], in sys_recvfrom()
714 tcp->u_arg[4], tcp->u_arg[5]); in sys_recvfrom()
718 printstr(tcp, tcp->u_arg[1], tcp->u_rval); in sys_recvfrom()
720 tprintf(", %lu, ", tcp->u_arg[2]); in sys_recvfrom()
722 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in sys_recvfrom()
724 if (!tcp->u_arg[4] || !tcp->u_arg[5]) { in sys_recvfrom()
725 if (tcp->u_arg[4] == 0) in sys_recvfrom()
728 tprintf(", %#lx", tcp->u_arg[4]); in sys_recvfrom()
729 if (tcp->u_arg[5] == 0) in sys_recvfrom()
732 tprintf(", %#lx", tcp->u_arg[5]); in sys_recvfrom()
735 if (umove(tcp, tcp->u_arg[5], &fromlen) < 0) { in sys_recvfrom()
740 printsock(tcp, tcp->u_arg[4], tcp->u_arg[5]); in sys_recvfrom()
753 printfd(tcp, tcp->u_arg[0]); in sys_recvmsg()
757 tprintf("%#lx", tcp->u_arg[1]); in sys_recvmsg()
759 printmsghdr(tcp, tcp->u_arg[1], tcp->u_rval); in sys_recvmsg()
762 printflags(msg_flags, tcp->u_arg[2], "MSG_???"); in sys_recvmsg()
774 printfd(tcp, tcp->u_arg[0]); in sys_recvmmsg()
777 sprint_timespec(str, tcp, tcp->u_arg[4]); in sys_recvmmsg()
783 tprintf("%#lx, %ld, ", tcp->u_arg[1], tcp->u_arg[2]); in sys_recvmmsg()
784 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in sys_recvmmsg()
786 print_timespec(tcp, tcp->u_arg[4]); in sys_recvmmsg()
806 sprint_timespec(stpcpy(str, "left "), tcp, tcp->u_arg[4]); in sys_recvmmsg()
820 printfd(tcp, tcp->u_arg[0]); in sys_shutdown()
822 printxval(shutdown_modes, tcp->u_arg[1], "SHUT_???"); in sys_shutdown()
844 tprintf("%#lx", tcp->u_arg[0]); in do_pipe()
849 if (umoven(tcp, tcp->u_arg[0], sizeof fds, (char *) fds) < 0) in do_pipe()
856 tprintf("%#lx", tcp->u_arg[0]); in do_pipe()
861 printflags(open_mode_flags, tcp->u_arg[flags_arg], "O_???"); in do_pipe()
885 printxval(domains, tcp->u_arg[0], "PF_???"); in sys_socketpair()
887 tprint_sock_type(tcp, tcp->u_arg[1]); in sys_socketpair()
888 tprintf(", %lu", tcp->u_arg[2]); in sys_socketpair()
891 tprintf(", %#lx", tcp->u_arg[3]); in sys_socketpair()
894 if (umoven(tcp, tcp->u_arg[3], sizeof fds, (char *) fds) < 0) in sys_socketpair()
906 printfd(tcp, tcp->u_arg[0]); in sys_getsockopt()
908 printxval(socketlayers, tcp->u_arg[1], "SOL_???"); in sys_getsockopt()
910 switch (tcp->u_arg[1]) { in sys_getsockopt()
912 printxval(sockoptions, tcp->u_arg[2], "SO_???"); in sys_getsockopt()
916 printxval(sockipoptions, tcp->u_arg[2], "IP_???"); in sys_getsockopt()
921 printxval(sockipv6options, tcp->u_arg[2], "IPV6_???"); in sys_getsockopt()
926 printxval(sockipxoptions, tcp->u_arg[2], "IPX_???"); in sys_getsockopt()
931 printxval(sockpacketoptions, tcp->u_arg[2], "PACKET_???"); in sys_getsockopt()
936 printxval(socktcpoptions, tcp->u_arg[2], "TCP_???"); in sys_getsockopt()
941 printxval(socksctpoptions, tcp->u_arg[2], "SCTP_???"); in sys_getsockopt()
948 tprintf("%lu", tcp->u_arg[2]); in sys_getsockopt()
954 if (syserror(tcp) || umove(tcp, tcp->u_arg[4], &len) < 0) { in sys_getsockopt()
956 tcp->u_arg[3], tcp->u_arg[4]); in sys_getsockopt()
960 switch (tcp->u_arg[1]) { in sys_getsockopt()
962 switch (tcp->u_arg[2]) { in sys_getsockopt()
968 tcp->u_arg[3], in sys_getsockopt()
985 tcp->u_arg[3], in sys_getsockopt()
1001 switch (tcp->u_arg[2]) { in sys_getsockopt()
1007 tcp->u_arg[3], in sys_getsockopt()
1024 printnum_int(tcp, tcp->u_arg[3], "%d"); in sys_getsockopt()
1027 printstr(tcp, tcp->u_arg[3], len); in sys_getsockopt()
1173 printfd(tcp, tcp->u_arg[0]); in sys_setsockopt()
1175 printsockopt(tcp, tcp->u_arg[1], tcp->u_arg[2], in sys_setsockopt()
1176 tcp->u_arg[3], tcp->u_arg[4]); in sys_setsockopt()
1177 tprintf(", %lu", tcp->u_arg[4]); in sys_setsockopt()