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
)
368 //T(,ns_tcp_tsig_state)
371 T(,ns_update_operation
)
376 T(,posix_spawn_file_actions_t
)
377 T(,posix_spawnattr_t
)
384 T(,pthread_barrier_t
)
385 T(,pthread_barrierattr_t
)
387 T(,pthread_condattr_t
)
390 T(,pthread_mutexattr_t
)
393 T(,pthread_rwlockattr_t
)
394 T(,pthread_spinlock_t
)
424 T(struct,_IO_cookie_io_functions_t
)
426 T(struct,__jmp_buf_tag
)
427 //T(struct,__locale_struct)
428 //T(struct,__mbstate_t)
432 T(struct,__ptrace_peeksiginfo_args
)
433 T(struct,__ptrace_seccomp_metadata
)
434 T(struct,__res_state
)
435 //T(struct,__sigset_t)
436 //T(struct,__ucontext)
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
)
463 T(struct,ether_header
)
466 T(struct,fanotify_event_info_fid
)
467 T(struct,fanotify_event_info_header
)
468 T(struct,fanotify_event_metadata
)
469 T(struct,fanotify_response
)
470 T(struct,file_handle
)
473 T(struct,group_filter
)
475 T(struct,group_source_req
)
477 T(struct,hsearch_data
)
479 T(struct,icmp6_filter
)
481 T(struct,icmp6_router_renum
)
482 T(struct,icmp_ra_addr
)
484 T(struct,if_nameindex
)
493 //T(struct,ih_rtradv)
495 T(struct,in6_pktinfo
)
499 T(struct,inotify_event
)
507 //T(struct,ip6_hdrctl)
508 T(struct,ip6_mtuinfo
)
510 T(struct,ip6_opt_jumbo
)
511 T(struct,ip6_opt_nsap
)
512 T(struct,ip6_opt_router
)
513 T(struct,ip6_opt_tunnel
)
517 T(struct,ip_mreq_source
)
519 T(struct,ip_msfilter
)
521 T(struct,ip_timestamp
)
539 T(struct,mt_tape_info
)
540 T(struct,mtconfiginfo
)
544 T(struct,nd_neighbor_advert
)
545 T(struct,nd_neighbor_solicit
)
546 T(struct,nd_opt_adv_interval
)
548 T(struct,nd_opt_home_agent_info
)
550 T(struct,nd_opt_prefix_info
)
551 T(struct,nd_opt_rd_hdr
)
552 T(struct,nd_redirect
)
553 T(struct,nd_router_advert
)
554 T(struct,nd_router_solicit
)
556 T(struct,ns_tcp_tsig_state
)
557 T(struct,ns_tsig_key
)
560 T(struct,packet_mreq
)
563 T(struct,prctl_mm_map
)
567 T(struct,re_pattern_buffer
)
570 T(struct,rr_pco_match
)
575 T(struct,sched_param
)
583 T(struct,sg_req_info
)
589 T(struct,sigaltstack
)
592 T(struct,signalfd_siginfo
)
594 T(struct,sockaddr_in
)
595 T(struct,sockaddr_in6
)
596 T(struct,sockaddr_ll
)
597 T(struct,sockaddr_storage
)
598 T(struct,sockaddr_un
)
606 T(struct,strfdinsert
)
611 T(struct,tcp_diag_md5sig
)
614 T(struct,tcp_repair_window
)
615 T(struct,tcp_zerocopy_receive
)
630 T(struct,user_fpu_struct
)
671 //T(union,_G_fpos64_t)