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>
96 #include <stdio_ext.h>
99 #include <stdnoreturn.h>
104 #include <sys/acct.h>
105 #include <sys/auxv.h>
106 //#include <sys/cachectl.h>
108 #include <sys/epoll.h>
109 #include <sys/eventfd.h>
110 #include <sys/fanotify.h>
111 #include <sys/file.h>
112 #include <sys/fsuid.h>
113 #include <sys/inotify.h>
114 //#include <sys/io.h>
115 #include <sys/ioctl.h>
117 //#include <sys/kd.h>
118 #include <sys/klog.h>
119 #include <sys/mman.h>
120 #include <sys/mount.h>
122 #include <sys/mtio.h>
123 #include <sys/param.h>
124 #include <sys/personality.h>
125 #include <sys/prctl.h>
126 #include <sys/procfs.h>
127 #include <sys/ptrace.h>
128 #include <sys/quota.h>
129 #include <sys/reboot.h>
130 //#include <sys/reg.h>
131 #include <sys/resource.h>
132 #include <sys/select.h>
134 #include <sys/sendfile.h>
136 #include <sys/signalfd.h>
137 #include <sys/socket.h>
138 #include <sys/stat.h>
139 #include <sys/statfs.h>
140 #include <sys/statvfs.h>
141 #include <sys/swap.h>
142 #include <sys/syscall.h>
143 #include <sys/sysinfo.h>
144 #include <sys/sysmacros.h>
145 #include <sys/time.h>
146 #include <sys/timeb.h>
147 #include <sys/timerfd.h>
148 #include <sys/times.h>
149 #include <sys/timex.h>
150 #include <sys/ttydefaults.h>
151 #include <sys/types.h>
154 #include <sys/user.h>
155 #include <sys/utsname.h>
156 #include <sys/wait.h>
157 #include <sys/xattr.h>
158 #include <sysexits.h>
168 #include <ucontext.h>
179 typedef long long long_long;
180 typedef long double long_double;
181 typedef void *object_pointer;
182 typedef void (*function_pointer)();
183 struct size {char c;};
184 struct align {char c;};
185 struct incomplete {char c;};
186 #define T(s,t) void x_##t(s t x, s t* ptr, size(*y)[sizeof(s t)], align(*z)[__alignof__(s t)]){}
187 #define P(s,t) void x_##t(incomplete x, s t* ptr, incomplete y, incomplete z){}
353 //T(,ns_tcp_tsig_state)
356 T(,ns_update_operation)
361 T(,posix_spawn_file_actions_t)
362 T(,posix_spawnattr_t)
369 T(,pthread_barrier_t)
370 T(,pthread_barrierattr_t)
372 T(,pthread_condattr_t)
375 T(,pthread_mutexattr_t)
378 T(,pthread_rwlockattr_t)
379 T(,pthread_spinlock_t)
409 T(struct,__jmp_buf_tag)
410 //T(struct,__locale_struct)
411 //T(struct,__mbstate_t)
415 T(struct,__res_state)
416 //T(struct,__sigset_t)
417 //T(struct,__ucontext)
418 T(struct,_ns_flagdata)
424 T(struct,arpd_request)
429 T(struct,ccs_modesel_head)
431 //T(struct,cpu_set_t)
434 T(struct,dl_phdr_info)
437 T(struct,elf_prpsinfo)
438 T(struct,elf_prstatus)
439 T(struct,elf_siginfo)
441 T(struct,epoll_event)
444 T(struct,ether_header)
447 T(struct,fanotify_event_metadata)
448 T(struct,fanotify_response)
451 T(struct,group_filter)
453 T(struct,group_source_req)
455 T(struct,hsearch_data)
457 T(struct,icmp6_filter)
459 T(struct,icmp6_router_renum)
460 T(struct,icmp_ra_addr)
462 T(struct,if_nameindex)
471 //T(struct,ih_rtradv)
473 T(struct,in6_pktinfo)
477 T(struct,inotify_event)
485 //T(struct,ip6_hdrctl)
486 T(struct,ip6_mtuinfo)
488 T(struct,ip6_opt_jumbo)
489 T(struct,ip6_opt_nsap)
490 T(struct,ip6_opt_router)
491 T(struct,ip6_opt_tunnel)
495 T(struct,ip_mreq_source)
497 T(struct,ip_msfilter)
499 T(struct,ip_timestamp)
517 T(struct,mt_tape_info)
518 T(struct,mtconfiginfo)
522 T(struct,nd_neighbor_advert)
523 T(struct,nd_neighbor_solicit)
524 T(struct,nd_opt_adv_interval)
526 T(struct,nd_opt_home_agent_info)
528 T(struct,nd_opt_prefix_info)
529 T(struct,nd_opt_rd_hdr)
530 T(struct,nd_redirect)
531 T(struct,nd_router_advert)
532 T(struct,nd_router_solicit)
534 T(struct,ns_tcp_tsig_state)
535 T(struct,ns_tsig_key)
538 T(struct,packet_mreq)
541 T(struct,prctl_mm_map)
543 //T(struct,ptrace_peeksiginfo_args)
546 T(struct,re_pattern_buffer)
549 T(struct,rr_pco_match)
554 T(struct,sched_param)
562 T(struct,sg_req_info)
568 T(struct,sigaltstack)
571 T(struct,signalfd_siginfo)
573 T(struct,sockaddr_in)
574 T(struct,sockaddr_in6)
575 T(struct,sockaddr_ll)
576 T(struct,sockaddr_storage)
577 T(struct,sockaddr_un)
585 T(struct,strfdinsert)
645 //T(union,_G_fpos64_t)