This repository has been archived by the owner on Jul 19, 2022. It is now read-only.
forked from mirage/mirage-tcpip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_oasis
300 lines (276 loc) · 8.68 KB
/
_oasis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
OASISFormat: 0.3
Name: tcpip
Version: 2.2.2
Synopsis: Ethernet, TCP/IPv4 and DHCPv4 library
Authors: Anil Madhavapeddy, Balraj Singh, Richard Mortier, Nicolas Ojeda Bar
License: ISC
Plugins: META (0.3), DevFiles (0.3)
BuildTools: ocamlbuild
PostConfCommand: ocaml postconf.ml
Flag xen
Description: Build Xen support
Default: false
Library tcpip
CompiledObject: best
Path: lib
Findlibname: tcpip
Modules: Wire_structs, Tcpip_checksum
CSources: checksum_stubs.c
CCOpt: -O2 -fno-stack-protector
BuildDepends: io-page,mirage-types,ipaddr,cstruct,mirage-profile,bytes
XMETAExtraLines: xen_linkopts = "-ltcpip_xen_stubs"
Library tcpip_xen
Build$: flag(xen)
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: xen
CSources: checksum_stubs_xen.c
CCOpt: -O2 $XEN_CFLAGS
Library ethif
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: ethif
Modules: Ethif
BuildDepends: tcpip,io-page,mirage-types,ipaddr,cstruct,lwt
Library ipv4
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: ipv4
Modules: Ipv4, Arpv4
BuildDepends: io-page,mirage-types,ipaddr,cstruct,lwt,tcpip
Library ipv6
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: ipv6
Modules: Ipv6, Ndpv6
BuildDepends: io-page,mirage-types,ipaddr,cstruct,lwt,tcpip
Library udp
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: udp
Modules: Udp
BuildDepends: io-page,mirage-types,ipaddr,cstruct,lwt,tcpip
Library tcp
CompiledObject: best
Pack: true
Path: tcp
Findlibparent: tcpip
Findlibname: tcp
Modules: Options,Wire,State,Tcptimer,Sequence,Sliding_window,Ack,
Window,Segment,User_buffer,Pcb,Flow
BuildDepends: io-page,
mirage-types,
ipaddr,
cstruct,
lwt,
tcpip,
tcpip.ipv4,
tcpip.ipv6
Library channel
CompiledObject: best
Path: channel
Findlibparent: tcpip
Findlibname: channel
Modules: Channel
BuildDepends: io-page,
mirage-types,
ipaddr,
cstruct,
lwt
Library dhcpv4
CompiledObject: best
Path: dhcp
Findlibparent: tcpip
Findlibname: dhcpv4
Modules: Dhcpv4_option,Dhcp_clientv4
BuildDepends: io-page, bytes,
mirage-types,
ipaddr,
cstruct,
lwt,
tcpip.udp
Library "tcpip-stack-direct"
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: stack-direct
Modules: Tcpip_stack_direct
BuildDepends: io-page,
mirage-types,
ipaddr,
cstruct,
lwt,
tcpip.ethif,
tcpip.udp,
tcpip.tcp,
tcpip.dhcpv4
Library "ethif-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: ethif-unix
Modules: Ethif_unix
BuildDepends: tcpip.ethif,
mirage-net-unix,
lwt,
lwt.unix
Library "ipv4-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: ipv4-unix
Modules: Ipv4_unix
BuildDepends: tcpip.ethif-unix,
tcpip.ipv4,
lwt,
lwt.unix
Library "ipv6-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: ipv6-unix
Modules: Ipv6_unix
BuildDepends: tcpip.ethif-unix,
tcpip.ipv6,
lwt,
lwt.unix
Library "udpv4-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: udpv4-unix
Modules: Udpv4_unix
BuildDepends: tcpip.udp,
tcpip.ipv4-unix,
lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "udpv6-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: udpv6-unix
Modules: Udpv6_unix
BuildDepends: tcpip.udp,
tcpip.ipv6-unix,
lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "udpv4-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: udpv4-socket
Modules: Udpv4_socket
BuildDepends: tcpip.udp,
lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "udpv6-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: udpv6-socket
Modules: Udpv6_socket
BuildDepends: tcpip.udp,
lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "tcpv4-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: tcpv4-unix
Modules: Tcpv4_unix
BuildDepends: tcpip.tcp,
tcpip.ipv4-unix,
tcpip.channel,
lwt,
lwt.unix,
mirage-unix,
mirage-clock-unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "tcpv6-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: tcpv6-unix
Modules: Tcpv6_unix
BuildDepends: tcpip.tcp,
tcpip.ipv6-unix,
tcpip.channel,
lwt,
lwt.unix,
mirage-unix,
mirage-clock-unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "tcpv4-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: tcpv4-socket
Modules: Tcpv4_socket
BuildDepends: lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "tcpv6-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: tcpv6-socket
Modules: Tcpv6_socket
BuildDepends: lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix
Library "tcpip-stack-unix"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: stack-unix
Modules: Tcpip_stack_unix
BuildDepends: tcpip.udpv4-unix,
tcpip.tcpv4-unix,
tcpip.udpv6-unix,
tcpip.tcpv6-unix,
tcpip.stack-direct,
lwt,
lwt.unix,
ipaddr.unix,
mirage-unix,
mirage-clock-unix,
mirage-console.unix,
mirage-types.lwt,
io-page.unix
Library "tcpip-stack-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: stack-socket
Modules: Tcpip_stack_socket, Ipv4_socket, Ipv6_socket
BuildDepends: tcpip.udpv4-socket, tcpip.udpv6-socket,
tcpip.tcpv4-socket, tcpip.tcpv6-socket,
lwt,
lwt.unix,
ipaddr.unix,
io-page.unix