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)
366 //T(,ns_tcp_tsig_state)
369 T(,ns_update_operation)
374 T(,posix_spawn_file_actions_t)
375 T(,posix_spawnattr_t)
382 T(,pthread_barrier_t)
383 T(,pthread_barrierattr_t)
385 T(,pthread_condattr_t)
388 T(,pthread_mutexattr_t)
391 T(,pthread_rwlockattr_t)
392 T(,pthread_spinlock_t)
422 T(struct,_IO_cookie_io_functions_t)
424 T(struct,__jmp_buf_tag)
425 //T(struct,__locale_struct)
426 //T(struct,__mbstate_t)
430 T(struct,__ptrace_peeksiginfo_args)
431 T(struct,__ptrace_seccomp_metadata)
432 T(struct,__res_state)
433 //T(struct,__sigset_t)
434 //T(struct,__ucontext)
435 T(struct,_ns_flagdata)
441 T(struct,arpd_request)
446 T(struct,ccs_modesel_head)
448 //T(struct,cpu_set_t)
451 T(struct,dl_phdr_info)
454 T(struct,elf_prpsinfo)
455 T(struct,elf_prstatus)
456 T(struct,elf_siginfo)
458 T(struct,epoll_event)
461 T(struct,ether_header)
464 T(struct,fanotify_event_info_fid)
465 T(struct,fanotify_event_info_header)
466 T(struct,fanotify_event_metadata)
467 T(struct,fanotify_response)
468 T(struct,file_handle)
471 T(struct,group_filter)
473 T(struct,group_source_req)
475 T(struct,hsearch_data)
477 T(struct,icmp6_filter)
479 T(struct,icmp6_router_renum)
480 T(struct,icmp_ra_addr)
482 T(struct,if_nameindex)
491 //T(struct,ih_rtradv)
493 T(struct,in6_pktinfo)
497 T(struct,inotify_event)
505 //T(struct,ip6_hdrctl)
506 T(struct,ip6_mtuinfo)
508 T(struct,ip6_opt_jumbo)
509 T(struct,ip6_opt_nsap)
510 T(struct,ip6_opt_router)
511 T(struct,ip6_opt_tunnel)
515 T(struct,ip_mreq_source)
517 T(struct,ip_msfilter)
519 T(struct,ip_timestamp)
537 T(struct,mt_tape_info)
538 T(struct,mtconfiginfo)
542 T(struct,nd_neighbor_advert)
543 T(struct,nd_neighbor_solicit)
544 T(struct,nd_opt_adv_interval)
546 T(struct,nd_opt_home_agent_info)
548 T(struct,nd_opt_prefix_info)
549 T(struct,nd_opt_rd_hdr)
550 T(struct,nd_redirect)
551 T(struct,nd_router_advert)
552 T(struct,nd_router_solicit)
554 T(struct,ns_tcp_tsig_state)
555 T(struct,ns_tsig_key)
558 T(struct,packet_mreq)
561 T(struct,prctl_mm_map)
565 T(struct,re_pattern_buffer)
568 T(struct,rr_pco_match)
573 T(struct,sched_param)
581 T(struct,sg_req_info)
587 T(struct,sigaltstack)
590 T(struct,signalfd_siginfo)
592 T(struct,sockaddr_in)
593 T(struct,sockaddr_in6)
594 T(struct,sockaddr_ll)
595 T(struct,sockaddr_storage)
596 T(struct,sockaddr_un)
604 T(struct,strfdinsert)
609 T(struct,tcp_diag_md5sig)
612 T(struct,tcp_repair_window)
613 T(struct,tcp_zerocopy_receive)
628 T(struct,user_fpregs_struct)
629 T(struct,user_regs_struct)
670 //T(union,_G_fpos64_t)