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)
363 //T(,ns_tcp_tsig_state)
366 T(,ns_update_operation)
371 T(,posix_spawn_file_actions_t)
372 T(,posix_spawnattr_t)
379 T(,pthread_barrier_t)
380 T(,pthread_barrierattr_t)
382 T(,pthread_condattr_t)
385 T(,pthread_mutexattr_t)
388 T(,pthread_rwlockattr_t)
389 T(,pthread_spinlock_t)
419 T(struct,_IO_cookie_io_functions_t)
421 T(struct,__jmp_buf_tag)
422 //T(struct,__locale_struct)
423 //T(struct,__mbstate_t)
427 T(struct,__ptrace_peeksiginfo_args)
428 T(struct,__ptrace_seccomp_metadata)
429 T(struct,__res_state)
430 //T(struct,__sigset_t)
431 //T(struct,__ucontext)
432 T(struct,_ns_flagdata)
438 T(struct,arpd_request)
443 T(struct,ccs_modesel_head)
445 //T(struct,cpu_set_t)
448 T(struct,dl_phdr_info)
451 T(struct,elf_prpsinfo)
452 T(struct,elf_prstatus)
453 T(struct,elf_siginfo)
455 T(struct,epoll_event)
458 T(struct,ether_header)
461 T(struct,fanotify_event_info_fid)
462 T(struct,fanotify_event_info_header)
463 T(struct,fanotify_event_metadata)
464 T(struct,fanotify_response)
465 T(struct,file_handle)
468 T(struct,group_filter)
470 T(struct,group_source_req)
472 T(struct,hsearch_data)
474 T(struct,icmp6_filter)
476 T(struct,icmp6_router_renum)
477 T(struct,icmp_ra_addr)
479 T(struct,if_nameindex)
488 //T(struct,ih_rtradv)
490 T(struct,in6_pktinfo)
494 T(struct,inotify_event)
502 //T(struct,ip6_hdrctl)
503 T(struct,ip6_mtuinfo)
505 T(struct,ip6_opt_jumbo)
506 T(struct,ip6_opt_nsap)
507 T(struct,ip6_opt_router)
508 T(struct,ip6_opt_tunnel)
512 T(struct,ip_mreq_source)
514 T(struct,ip_msfilter)
516 T(struct,ip_timestamp)
534 T(struct,mt_tape_info)
535 T(struct,mtconfiginfo)
539 T(struct,nd_neighbor_advert)
540 T(struct,nd_neighbor_solicit)
541 T(struct,nd_opt_adv_interval)
543 T(struct,nd_opt_home_agent_info)
545 T(struct,nd_opt_prefix_info)
546 T(struct,nd_opt_rd_hdr)
547 T(struct,nd_redirect)
548 T(struct,nd_router_advert)
549 T(struct,nd_router_solicit)
551 T(struct,ns_tcp_tsig_state)
552 T(struct,ns_tsig_key)
555 T(struct,packet_mreq)
558 T(struct,prctl_mm_map)
562 T(struct,re_pattern_buffer)
565 T(struct,rr_pco_match)
570 T(struct,sched_param)
578 T(struct,sg_req_info)
584 T(struct,sigaltstack)
587 T(struct,signalfd_siginfo)
589 T(struct,sockaddr_in)
590 T(struct,sockaddr_in6)
591 T(struct,sockaddr_ll)
592 T(struct,sockaddr_storage)
593 T(struct,sockaddr_un)
601 T(struct,strfdinsert)
606 T(struct,tcp_diag_md5sig)
609 T(struct,tcp_repair_window)
610 T(struct,tcp_zerocopy_receive)
664 //T(union,_G_fpos64_t)