A lightweight mechanism to provide an *instant kickstart* to a Go web server instance upon changing any Go source files under the project directory (and its subdirectories).

ztypes_netbsd_arm.go 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs types_netbsd.go
  3. // +build arm,netbsd
  4. package unix
  5. const (
  6. sizeofPtr = 0x4
  7. sizeofShort = 0x2
  8. sizeofInt = 0x4
  9. sizeofLong = 0x4
  10. sizeofLongLong = 0x8
  11. )
  12. type (
  13. _C_short int16
  14. _C_int int32
  15. _C_long int32
  16. _C_long_long int64
  17. )
  18. type Timespec struct {
  19. Sec int64
  20. Nsec int32
  21. Pad_cgo_0 [4]byte
  22. }
  23. type Timeval struct {
  24. Sec int64
  25. Usec int32
  26. Pad_cgo_0 [4]byte
  27. }
  28. type Rusage struct {
  29. Utime Timeval
  30. Stime Timeval
  31. Maxrss int32
  32. Ixrss int32
  33. Idrss int32
  34. Isrss int32
  35. Minflt int32
  36. Majflt int32
  37. Nswap int32
  38. Inblock int32
  39. Oublock int32
  40. Msgsnd int32
  41. Msgrcv int32
  42. Nsignals int32
  43. Nvcsw int32
  44. Nivcsw int32
  45. }
  46. type Rlimit struct {
  47. Cur uint64
  48. Max uint64
  49. }
  50. type _Gid_t uint32
  51. type Stat_t struct {
  52. Dev uint64
  53. Mode uint32
  54. Pad_cgo_0 [4]byte
  55. Ino uint64
  56. Nlink uint32
  57. Uid uint32
  58. Gid uint32
  59. Pad_cgo_1 [4]byte
  60. Rdev uint64
  61. Atimespec Timespec
  62. Mtimespec Timespec
  63. Ctimespec Timespec
  64. Birthtimespec Timespec
  65. Size int64
  66. Blocks int64
  67. Blksize uint32
  68. Flags uint32
  69. Gen uint32
  70. Spare [2]uint32
  71. Pad_cgo_2 [4]byte
  72. }
  73. type Statfs_t [0]byte
  74. type Flock_t struct {
  75. Start int64
  76. Len int64
  77. Pid int32
  78. Type int16
  79. Whence int16
  80. }
  81. type Dirent struct {
  82. Fileno uint64
  83. Reclen uint16
  84. Namlen uint16
  85. Type uint8
  86. Name [512]int8
  87. Pad_cgo_0 [3]byte
  88. }
  89. type Fsid struct {
  90. X__fsid_val [2]int32
  91. }
  92. type RawSockaddrInet4 struct {
  93. Len uint8
  94. Family uint8
  95. Port uint16
  96. Addr [4]byte /* in_addr */
  97. Zero [8]int8
  98. }
  99. type RawSockaddrInet6 struct {
  100. Len uint8
  101. Family uint8
  102. Port uint16
  103. Flowinfo uint32
  104. Addr [16]byte /* in6_addr */
  105. Scope_id uint32
  106. }
  107. type RawSockaddrUnix struct {
  108. Len uint8
  109. Family uint8
  110. Path [104]int8
  111. }
  112. type RawSockaddrDatalink struct {
  113. Len uint8
  114. Family uint8
  115. Index uint16
  116. Type uint8
  117. Nlen uint8
  118. Alen uint8
  119. Slen uint8
  120. Data [12]int8
  121. }
  122. type RawSockaddr struct {
  123. Len uint8
  124. Family uint8
  125. Data [14]int8
  126. }
  127. type RawSockaddrAny struct {
  128. Addr RawSockaddr
  129. Pad [92]int8
  130. }
  131. type _Socklen uint32
  132. type Linger struct {
  133. Onoff int32
  134. Linger int32
  135. }
  136. type Iovec struct {
  137. Base *byte
  138. Len uint32
  139. }
  140. type IPMreq struct {
  141. Multiaddr [4]byte /* in_addr */
  142. Interface [4]byte /* in_addr */
  143. }
  144. type IPv6Mreq struct {
  145. Multiaddr [16]byte /* in6_addr */
  146. Interface uint32
  147. }
  148. type Msghdr struct {
  149. Name *byte
  150. Namelen uint32
  151. Iov *Iovec
  152. Iovlen int32
  153. Control *byte
  154. Controllen uint32
  155. Flags int32
  156. }
  157. type Cmsghdr struct {
  158. Len uint32
  159. Level int32
  160. Type int32
  161. }
  162. type Inet6Pktinfo struct {
  163. Addr [16]byte /* in6_addr */
  164. Ifindex uint32
  165. }
  166. type IPv6MTUInfo struct {
  167. Addr RawSockaddrInet6
  168. Mtu uint32
  169. }
  170. type ICMPv6Filter struct {
  171. Filt [8]uint32
  172. }
  173. const (
  174. SizeofSockaddrInet4 = 0x10
  175. SizeofSockaddrInet6 = 0x1c
  176. SizeofSockaddrAny = 0x6c
  177. SizeofSockaddrUnix = 0x6a
  178. SizeofSockaddrDatalink = 0x14
  179. SizeofLinger = 0x8
  180. SizeofIPMreq = 0x8
  181. SizeofIPv6Mreq = 0x14
  182. SizeofMsghdr = 0x1c
  183. SizeofCmsghdr = 0xc
  184. SizeofInet6Pktinfo = 0x14
  185. SizeofIPv6MTUInfo = 0x20
  186. SizeofICMPv6Filter = 0x20
  187. )
  188. const (
  189. PTRACE_TRACEME = 0x0
  190. PTRACE_CONT = 0x7
  191. PTRACE_KILL = 0x8
  192. )
  193. type Kevent_t struct {
  194. Ident uint32
  195. Filter uint32
  196. Flags uint32
  197. Fflags uint32
  198. Data int64
  199. Udata int32
  200. Pad_cgo_0 [4]byte
  201. }
  202. type FdSet struct {
  203. Bits [8]uint32
  204. }
  205. const (
  206. SizeofIfMsghdr = 0x98
  207. SizeofIfData = 0x88
  208. SizeofIfaMsghdr = 0x18
  209. SizeofIfAnnounceMsghdr = 0x18
  210. SizeofRtMsghdr = 0x78
  211. SizeofRtMetrics = 0x50
  212. )
  213. type IfMsghdr struct {
  214. Msglen uint16
  215. Version uint8
  216. Type uint8
  217. Addrs int32
  218. Flags int32
  219. Index uint16
  220. Pad_cgo_0 [2]byte
  221. Data IfData
  222. }
  223. type IfData struct {
  224. Type uint8
  225. Addrlen uint8
  226. Hdrlen uint8
  227. Pad_cgo_0 [1]byte
  228. Link_state int32
  229. Mtu uint64
  230. Metric uint64
  231. Baudrate uint64
  232. Ipackets uint64
  233. Ierrors uint64
  234. Opackets uint64
  235. Oerrors uint64
  236. Collisions uint64
  237. Ibytes uint64
  238. Obytes uint64
  239. Imcasts uint64
  240. Omcasts uint64
  241. Iqdrops uint64
  242. Noproto uint64
  243. Lastchange Timespec
  244. }
  245. type IfaMsghdr struct {
  246. Msglen uint16
  247. Version uint8
  248. Type uint8
  249. Addrs int32
  250. Flags int32
  251. Metric int32
  252. Index uint16
  253. Pad_cgo_0 [6]byte
  254. }
  255. type IfAnnounceMsghdr struct {
  256. Msglen uint16
  257. Version uint8
  258. Type uint8
  259. Index uint16
  260. Name [16]int8
  261. What uint16
  262. }
  263. type RtMsghdr struct {
  264. Msglen uint16
  265. Version uint8
  266. Type uint8
  267. Index uint16
  268. Pad_cgo_0 [2]byte
  269. Flags int32
  270. Addrs int32
  271. Pid int32
  272. Seq int32
  273. Errno int32
  274. Use int32
  275. Inits int32
  276. Pad_cgo_1 [4]byte
  277. Rmx RtMetrics
  278. }
  279. type RtMetrics struct {
  280. Locks uint64
  281. Mtu uint64
  282. Hopcount uint64
  283. Recvpipe uint64
  284. Sendpipe uint64
  285. Ssthresh uint64
  286. Rtt uint64
  287. Rttvar uint64
  288. Expire int64
  289. Pksent int64
  290. }
  291. type Mclpool [0]byte
  292. const (
  293. SizeofBpfVersion = 0x4
  294. SizeofBpfStat = 0x80
  295. SizeofBpfProgram = 0x8
  296. SizeofBpfInsn = 0x8
  297. SizeofBpfHdr = 0x14
  298. )
  299. type BpfVersion struct {
  300. Major uint16
  301. Minor uint16
  302. }
  303. type BpfStat struct {
  304. Recv uint64
  305. Drop uint64
  306. Capt uint64
  307. Padding [13]uint64
  308. }
  309. type BpfProgram struct {
  310. Len uint32
  311. Insns *BpfInsn
  312. }
  313. type BpfInsn struct {
  314. Code uint16
  315. Jt uint8
  316. Jf uint8
  317. K uint32
  318. }
  319. type BpfHdr struct {
  320. Tstamp BpfTimeval
  321. Caplen uint32
  322. Datalen uint32
  323. Hdrlen uint16
  324. Pad_cgo_0 [2]byte
  325. }
  326. type BpfTimeval struct {
  327. Sec int32
  328. Usec int32
  329. }
  330. type Termios struct {
  331. Iflag uint32
  332. Oflag uint32
  333. Cflag uint32
  334. Lflag uint32
  335. Cc [20]uint8
  336. Ispeed int32
  337. Ospeed int32
  338. }
  339. type Sysctlnode struct {
  340. Flags uint32
  341. Num int32
  342. Name [32]int8
  343. Ver uint32
  344. X__rsvd uint32
  345. Un [16]byte
  346. X_sysctl_size [8]byte
  347. X_sysctl_func [8]byte
  348. X_sysctl_parent [8]byte
  349. X_sysctl_desc [8]byte
  350. }