3 #define _FILE_OFFSET_BITS 64
12 #include <arpa/inet.h>
13 #include <arpa/nameser.h>
14 #include <arpa/telnet.h>
15 #include <arpa/tftp.h>
53 #include <net/ethernet.h>
55 #include <net/if_arp.h>
56 #include <net/route.h>
58 #include <netinet/ether.h>
59 #include <netinet/icmp6.h>
60 #include <netinet/if_ether.h>
61 #include <netinet/igmp.h>
62 #include <netinet/in.h>
63 #include <netinet/in_systm.h>
64 #include <netinet/ip.h>
65 #include <netinet/ip6.h>
66 #include <netinet/ip_icmp.h>
67 #include <netinet/tcp.h>
68 #include <netinet/udp.h>
69 #include <netpacket/packet.h>
79 #include <scsi/scsi.h>
80 #include <scsi/scsi_ioctl.h>
83 #include <semaphore.h>
93 #include <stdc-predef.h>
97 #include <stdio_ext.h>
100 #include <stdnoreturn.h>
105 #include <sys/acct.h>
106 #include <sys/auxv.h>
107 //#include <sys/cachectl.h>
109 #include <sys/epoll.h>
110 #include <sys/eventfd.h>
111 #include <sys/fanotify.h>
112 #include <sys/file.h>
113 #include <sys/fsuid.h>
114 #include <sys/inotify.h>
115 //#include <sys/io.h>
116 #include <sys/ioctl.h>
118 #include <sys/klog.h>
119 #include <sys/membarrier.h>
120 #include <sys/mman.h>
121 #include <sys/mount.h>
123 #include <sys/mtio.h>
124 #include <sys/param.h>
125 #include <sys/personality.h>
126 #include <sys/prctl.h>
127 #include <sys/procfs.h>
128 #include <sys/ptrace.h>
129 #include <sys/quota.h>
130 #include <sys/random.h>
131 #include <sys/reboot.h>
132 //#include <sys/reg.h>
133 #include <sys/resource.h>
134 #include <sys/select.h>
136 #include <sys/sendfile.h>
138 #include <sys/signalfd.h>
139 #include <sys/socket.h>
140 #include <sys/stat.h>
141 #include <sys/statfs.h>
142 #include <sys/statvfs.h>
143 #include <sys/swap.h>
144 #include <sys/syscall.h>
145 #include <sys/sysinfo.h>
146 #include <sys/sysmacros.h>
147 #include <sys/time.h>
148 #include <sys/timeb.h>
149 #include <sys/timerfd.h>
150 #include <sys/times.h>
151 #include <sys/timex.h>
152 #include <sys/ttydefaults.h>
153 #include <sys/types.h>
156 #include <sys/user.h>
157 #include <sys/utsname.h>
158 #include <sys/wait.h>
159 #include <sys/xattr.h>
160 #include <sysexits.h>
170 #include <ucontext.h>
181 typedef long long long_long
;
182 typedef long double long_double
;
183 typedef void *object_pointer
;
184 typedef void (*function_pointer
)();
185 struct size
{char c
;};
186 struct align
{char c
;};
187 struct incomplete
{char c
;};
188 #define T(s,t) void x_##t(s t x, s t* ptr, size(*y)[sizeof(s t)], align(*z)[__alignof__(s t)]){}
189 #define P(s,t) void x_##t(incomplete x, s t* ptr, incomplete y, incomplete z){}
256 T(,Elf_MIPS_ABIFlags_v0
)
281 T(,cookie_close_function_t
)
282 T(,cookie_io_functions_t
)
283 T(,cookie_read_function_t
)
284 T(,cookie_seek_function_t
)
285 T(,cookie_write_function_t
)
367 //T(,ns_tcp_tsig_state)
370 T(,ns_update_operation
)
375 T(,posix_spawn_file_actions_t
)
376 T(,posix_spawnattr_t
)
383 T(,pthread_barrier_t
)
384 T(,pthread_barrierattr_t
)
386 T(,pthread_condattr_t
)
389 T(,pthread_mutexattr_t
)
392 T(,pthread_rwlockattr_t
)
393 T(,pthread_spinlock_t
)
423 T(struct,_IO_cookie_io_functions_t
)
425 T(struct,__jmp_buf_tag
)
426 //T(struct,__locale_struct)
427 //T(struct,__mbstate_t)
431 T(struct,__ptrace_peeksiginfo_args
)
432 T(struct,__ptrace_seccomp_metadata
)
433 T(struct,__res_state
)
434 //T(struct,__sigset_t)
435 //T(struct,__ucontext)
436 T(struct,_aarch64_ctx
)
437 T(struct,_ns_flagdata
)
443 T(struct,arpd_request
)
448 T(struct,ccs_modesel_head
)
450 //T(struct,cpu_set_t)
453 T(struct,dl_phdr_info
)
456 T(struct,elf_prpsinfo
)
457 T(struct,elf_prstatus
)
458 T(struct,elf_siginfo
)
460 T(struct,epoll_event
)
461 T(struct,esr_context
)
464 T(struct,ether_header
)
466 T(struct,extra_context
)
468 T(struct,fanotify_event_info_fid
)
469 T(struct,fanotify_event_info_header
)
470 T(struct,fanotify_event_metadata
)
471 T(struct,fanotify_response
)
472 T(struct,file_handle
)
474 T(struct,fpsimd_context
)
476 T(struct,group_filter
)
478 T(struct,group_source_req
)
480 T(struct,hsearch_data
)
482 T(struct,icmp6_filter
)
484 T(struct,icmp6_router_renum
)
485 T(struct,icmp_ra_addr
)
487 T(struct,if_nameindex
)
496 //T(struct,ih_rtradv)
498 T(struct,in6_pktinfo
)
502 T(struct,inotify_event
)
510 //T(struct,ip6_hdrctl)
511 T(struct,ip6_mtuinfo
)
513 T(struct,ip6_opt_jumbo
)
514 T(struct,ip6_opt_nsap
)
515 T(struct,ip6_opt_router
)
516 T(struct,ip6_opt_tunnel
)
520 T(struct,ip_mreq_source
)
522 T(struct,ip_msfilter
)
524 T(struct,ip_timestamp
)
542 T(struct,mt_tape_info
)
543 T(struct,mtconfiginfo
)
547 T(struct,nd_neighbor_advert
)
548 T(struct,nd_neighbor_solicit
)
549 T(struct,nd_opt_adv_interval
)
551 T(struct,nd_opt_home_agent_info
)
553 T(struct,nd_opt_prefix_info
)
554 T(struct,nd_opt_rd_hdr
)
555 T(struct,nd_redirect
)
556 T(struct,nd_router_advert
)
557 T(struct,nd_router_solicit
)
559 T(struct,ns_tcp_tsig_state
)
560 T(struct,ns_tsig_key
)
563 T(struct,packet_mreq
)
566 T(struct,prctl_mm_map
)
570 T(struct,re_pattern_buffer
)
573 T(struct,rr_pco_match
)
578 T(struct,sched_param
)
586 T(struct,sg_req_info
)
592 T(struct,sigaltstack
)
595 T(struct,signalfd_siginfo
)
597 T(struct,sockaddr_in
)
598 T(struct,sockaddr_in6
)
599 T(struct,sockaddr_ll
)
600 T(struct,sockaddr_storage
)
601 T(struct,sockaddr_un
)
609 T(struct,strfdinsert
)
613 T(struct,sve_context
)
615 T(struct,tcp_diag_md5sig
)
618 T(struct,tcp_repair_window
)
619 T(struct,tcp_zerocopy_receive
)
633 T(struct,user_fpsimd_struct
)
634 T(struct,user_regs_struct
)
675 //T(union,_G_fpos64_t)