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
)
370 //T(,ns_tcp_tsig_state)
373 T(,ns_update_operation
)
378 T(,posix_spawn_file_actions_t
)
379 T(,posix_spawnattr_t
)
386 T(,pthread_barrier_t
)
387 T(,pthread_barrierattr_t
)
389 T(,pthread_condattr_t
)
392 T(,pthread_mutexattr_t
)
395 T(,pthread_rwlockattr_t
)
396 T(,pthread_spinlock_t
)
426 T(struct,_IO_cookie_io_functions_t
)
428 T(struct,__jmp_buf_tag
)
429 //T(struct,__locale_struct)
430 //T(struct,__mbstate_t)
434 T(struct,__ptrace_peeksiginfo_args
)
435 T(struct,__ptrace_seccomp_metadata
)
436 T(struct,__res_state
)
437 //T(struct,__sigset_t)
438 //T(struct,__ucontext)
439 T(struct,_ns_flagdata
)
445 T(struct,arpd_request
)
450 T(struct,ccs_modesel_head
)
452 //T(struct,cpu_set_t)
455 T(struct,dl_phdr_info
)
458 T(struct,elf_prpsinfo
)
459 T(struct,elf_prstatus
)
460 T(struct,elf_siginfo
)
462 T(struct,epoll_event
)
465 T(struct,ether_header
)
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
)
475 T(struct,group_filter
)
477 T(struct,group_source_req
)
479 T(struct,hsearch_data
)
481 T(struct,icmp6_filter
)
483 T(struct,icmp6_router_renum
)
484 T(struct,icmp_ra_addr
)
486 T(struct,if_nameindex
)
495 //T(struct,ih_rtradv)
497 T(struct,in6_pktinfo
)
501 T(struct,inotify_event
)
509 //T(struct,ip6_hdrctl)
510 T(struct,ip6_mtuinfo
)
512 T(struct,ip6_opt_jumbo
)
513 T(struct,ip6_opt_nsap
)
514 T(struct,ip6_opt_router
)
515 T(struct,ip6_opt_tunnel
)
519 T(struct,ip_mreq_source
)
521 T(struct,ip_msfilter
)
523 T(struct,ip_timestamp
)
541 T(struct,mt_tape_info
)
542 T(struct,mtconfiginfo
)
546 T(struct,nd_neighbor_advert
)
547 T(struct,nd_neighbor_solicit
)
548 T(struct,nd_opt_adv_interval
)
550 T(struct,nd_opt_home_agent_info
)
552 T(struct,nd_opt_prefix_info
)
553 T(struct,nd_opt_rd_hdr
)
554 T(struct,nd_redirect
)
555 T(struct,nd_router_advert
)
556 T(struct,nd_router_solicit
)
558 T(struct,ns_tcp_tsig_state
)
559 T(struct,ns_tsig_key
)
562 T(struct,packet_mreq
)
565 T(struct,prctl_mm_map
)
569 T(struct,re_pattern_buffer
)
572 T(struct,rr_pco_match
)
577 T(struct,sched_param
)
585 T(struct,sg_req_info
)
591 T(struct,sigaltstack
)
594 T(struct,signalfd_siginfo
)
596 T(struct,sockaddr_in
)
597 T(struct,sockaddr_in6
)
598 T(struct,sockaddr_ll
)
599 T(struct,sockaddr_storage
)
600 T(struct,sockaddr_un
)
608 T(struct,strfdinsert
)
613 T(struct,tcp_diag_md5sig
)
616 T(struct,tcp_repair_window
)
617 T(struct,tcp_zerocopy_receive
)
672 //T(union,_G_fpos64_t)