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/kd.h>
119 #include <sys/klog.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/reboot.h>
131 //#include <sys/reg.h>
132 #include <sys/resource.h>
133 #include <sys/select.h>
135 #include <sys/sendfile.h>
137 #include <sys/signalfd.h>
138 #include <sys/socket.h>
139 #include <sys/stat.h>
140 #include <sys/statfs.h>
141 #include <sys/statvfs.h>
142 #include <sys/swap.h>
143 #include <sys/syscall.h>
144 #include <sys/sysinfo.h>
145 #include <sys/sysmacros.h>
146 #include <sys/time.h>
147 #include <sys/timeb.h>
148 #include <sys/timerfd.h>
149 #include <sys/times.h>
150 #include <sys/timex.h>
151 #include <sys/ttydefaults.h>
152 #include <sys/types.h>
155 #include <sys/user.h>
156 #include <sys/utsname.h>
157 #include <sys/wait.h>
158 #include <sys/xattr.h>
159 #include <sysexits.h>
169 #include <ucontext.h>
180 typedef long long long_long;
181 typedef long double long_double;
182 typedef void *object_pointer;
183 typedef void (*function_pointer)();
184 struct size {char c;};
185 struct align {char c;};
186 struct incomplete {char c;};
187 #define T(s,t) void x_##t(s t x, s t* ptr, size(*y)[sizeof(s t)], align(*z)[__alignof__(s t)]){}
188 #define P(s,t) void x_##t(incomplete x, s t* ptr, incomplete y, incomplete z){}
255 T(,Elf_MIPS_ABIFlags_v0)
286 //T(,elf_fpxregset_t)
362 //T(,ns_tcp_tsig_state)
365 T(,ns_update_operation)
370 T(,posix_spawn_file_actions_t)
371 T(,posix_spawnattr_t)
378 T(,pthread_barrier_t)
379 T(,pthread_barrierattr_t)
381 T(,pthread_condattr_t)
384 T(,pthread_mutexattr_t)
387 T(,pthread_rwlockattr_t)
388 T(,pthread_spinlock_t)
418 T(struct,__jmp_buf_tag)
419 //T(struct,__locale_struct)
420 //T(struct,__mbstate_t)
424 T(struct,__res_state)
425 //T(struct,__sigset_t)
426 //T(struct,__ucontext)
428 T(struct,_ns_flagdata)
434 T(struct,arpd_request)
439 T(struct,ccs_modesel_head)
441 //T(struct,cpu_set_t)
444 T(struct,dl_phdr_info)
447 T(struct,elf_prpsinfo)
448 T(struct,elf_prstatus)
449 T(struct,elf_siginfo)
451 T(struct,epoll_event)
454 T(struct,ether_header)
457 T(struct,fanotify_event_metadata)
458 T(struct,fanotify_response)
461 T(struct,group_filter)
463 T(struct,group_source_req)
465 T(struct,hsearch_data)
467 T(struct,icmp6_filter)
469 T(struct,icmp6_router_renum)
470 T(struct,icmp_ra_addr)
472 T(struct,if_nameindex)
481 //T(struct,ih_rtradv)
483 T(struct,in6_pktinfo)
487 T(struct,inotify_event)
495 //T(struct,ip6_hdrctl)
496 T(struct,ip6_mtuinfo)
498 T(struct,ip6_opt_jumbo)
499 T(struct,ip6_opt_nsap)
500 T(struct,ip6_opt_router)
501 T(struct,ip6_opt_tunnel)
505 T(struct,ip_mreq_source)
507 T(struct,ip_msfilter)
509 T(struct,ip_timestamp)
527 T(struct,mt_tape_info)
528 T(struct,mtconfiginfo)
532 T(struct,nd_neighbor_advert)
533 T(struct,nd_neighbor_solicit)
534 T(struct,nd_opt_adv_interval)
536 T(struct,nd_opt_home_agent_info)
538 T(struct,nd_opt_prefix_info)
539 T(struct,nd_opt_rd_hdr)
540 T(struct,nd_redirect)
541 T(struct,nd_router_advert)
542 T(struct,nd_router_solicit)
544 T(struct,ns_tcp_tsig_state)
545 T(struct,ns_tsig_key)
548 T(struct,packet_mreq)
551 T(struct,prctl_mm_map)
553 //T(struct,ptrace_peeksiginfo_args)
556 T(struct,re_pattern_buffer)
559 T(struct,rr_pco_match)
564 T(struct,sched_param)
572 T(struct,sg_req_info)
578 T(struct,sigaltstack)
581 T(struct,signalfd_siginfo)
583 T(struct,sockaddr_in)
584 T(struct,sockaddr_in6)
585 T(struct,sockaddr_ll)
586 T(struct,sockaddr_storage)
587 T(struct,sockaddr_un)
595 T(struct,strfdinsert)
616 T(struct,user_fpregs_struct)
617 //T(struct,user_fpxregs_struct)
618 T(struct,user_regs_struct)
659 //T(union,_G_fpos64_t)