Permalink
Fetching contributors…
Cannot retrieve contributors at this time
210 lines (190 sloc) 7.4 KB
OASISFormat: 0.4
Name: tcpip
Version: 3.1.0
Synopsis: Implementations for network-related module types from MirageOS.
Authors: Anil Madhavapeddy, Balraj Singh, Richard Mortier,
Nicolas Ojeda Bar, Thomas Gazagnaire, Vincent Bernardoff,
Magnus Skjegstad, Mindy Preston, Thomas Leonard
License: ISC
Plugins: META (0.4), DevFiles (0.4)
BuildTools: ocamlbuild
PostConfCommand: ocaml postconf.ml
Flag xen
Description: Build Xen support
Default: false
Library tcpip
CompiledObject: best
Path: lib
Findlibname: tcpip
Modules: Tcpip_checksum
CSources: checksum_stubs.c
CCOpt: -O2 -fno-stack-protector
BuildDepends: mirage-net-lwt, mirage-protocols, mirage-protocols-lwt,
ipaddr, cstruct (>= 1.9.0)
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/ethif
Findlibparent: tcpip
Findlibname: ethif
Modules: Ethif, Ethif_wire, Ethif_packet
BuildDepends: logs,mirage-protocols-lwt,ipaddr,cstruct,lwt,mirage-profile,result,rresult,mirage-net-lwt
Library arpv4
CompiledObject: best
Path: lib/arpv4
Findlibparent: tcpip
Findlibname: arpv4
Modules: Arpv4, Arpv4_wire, Arpv4_packet
BuildDepends: mirage-protocols-lwt,logs,ipaddr,cstruct,cstruct.ppx,lwt,
result,rresult,tcpip.ethif,duration,fmt,
mirage-clock-lwt, mirage-time-lwt
Library ipv4
CompiledObject: best
Path: lib/ipv4
Findlibparent: tcpip
Findlibname: ipv4
Modules: Static_ipv4, Ipv4_wire, Ipv4_packet
InternalModules: Ipv4_common, Routing
BuildDepends: logs,io-page,mirage-protocols,ipaddr,cstruct.ppx,lwt,result,rresult,
tcpip,tcpip.ethif,
tcpip.udp, tcpip.tcp
Library ipv6
CompiledObject: best
Path: lib/ipv6
Findlibparent: tcpip
Findlibname: ipv6
Modules: Ipv6, Ndpv6, Ipv6_wire
BuildDepends: logs,io-page,mirage-protocols-lwt,ipaddr,cstruct,cstruct.ppx,lwt,
tcpip,tcpip.ethif, duration, randomconv,
mirage-time-lwt, mirage-clock-lwt, mirage-random
Library icmpv4
CompiledObject: best
Path: lib/icmp
Findlibparent: tcpip
Findlibname: icmpv4
Modules: Icmpv4, Icmpv4_packet, Icmpv4_wire
BuildDepends: logs,mirage-protocols,mirage-protocols-lwt,cstruct,
cstruct.ppx,lwt,ipaddr,result,rresult,mirage-profile,
tcpip,fmt
Library udp
CompiledObject: best
Path: lib/udp
Findlibparent: tcpip
Findlibname: udp
Modules: Udp, Udp_wire, Udp_packet
BuildDepends: logs,ipaddr,cstruct,
cstruct.ppx,lwt,result,rresult,mirage-profile,
tcpip,randomconv,fmt,
mirage-protocols,mirage-protocols-lwt,mirage-random
Library tcp
CompiledObject: best
Pack: true
Path: lib/tcp
Findlibparent: tcpip
Findlibname: tcp
Modules: Options,State,Tcptimer,Sequence,Ack,
Window,Segment,User_buffer,Pcb,Flow,
Stats, Wire,
Tcp_wire, Tcp_packet
BuildDepends: logs,mirage-protocols,mirage-protocols-lwt,ipaddr,cstruct,
cstruct.ppx,lwt,result,rresult,mirage-profile,io-page,
tcpip,duration,randomconv,fmt,
mirage-time-lwt,mirage-clock,mirage-random
Library "tcpip-stack-direct"
CompiledObject: best
Path: lib
Findlibparent: tcpip
Findlibname: stack-direct
Modules: Tcpip_stack_direct
BuildDepends: logs,ipaddr,lwt,result,fmt,
mirage-protocols,mirage-protocols-lwt,
mirage-stack-lwt,
mirage-net-lwt,
mirage-time,mirage-random,mirage-device
Library "icmpv4-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: icmpv4-socket
Modules: Icmpv4_socket
BuildDepends: lwt,
lwt.unix,
ipaddr.unix,
cstruct.lwt,
io-page.unix,
tcpip.icmpv4,
tcpip.ipv4,
tcpip.ipv6,
mirage-protocols,mirage-protocols-lwt
Library "udpv4-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: udpv4-socket
Modules: Udpv4_socket
BuildDepends: lwt,ipaddr.unix,cstruct.lwt,fmt,
mirage-protocols,mirage-protocols-lwt
Library "udpv6-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: udpv6-socket
Modules: Udpv6_socket
BuildDepends: lwt,lwt.unix,ipaddr.unix,cstruct.lwt,io-page.unix,
mirage-protocols,mirage-protocols-lwt
Library "tcpv4-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: tcpv4-socket
Modules: Tcpv4_socket
InternalModules: Tcp_socket
BuildDepends: lwt,lwt.unix,ipaddr.unix,cstruct.lwt,io-page.unix,fmt,
mirage-protocols,mirage-protocols-lwt
Library "tcpv6-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: tcpv6-socket
InternalModules: Tcp_socket
Modules: Tcpv6_socket
BuildDepends: lwt,lwt.unix,ipaddr.unix,cstruct.lwt,io-page.unix,
mirage-protocols,mirage-protocols-lwt
Library "tcpip-stack-socket"
CompiledObject: best
Path: unix
Findlibparent: tcpip
Findlibname: stack-socket
Modules: Tcpip_stack_socket, Ipv4_socket, Ipv6_socket
BuildDepends: lwt,lwt.unix,ipaddr.unix,io-page.unix,logs,
tcpip.ipv4, tcpip.ipv6,
mirage-protocols,mirage-protocols-lwt,
mirage-stack-lwt
Executable test
CompiledObject: best
Build$: flag(tests)
install: false
Path: lib_test/
MainIs: test.ml
Custom: true
BuildDepends: alcotest,oUnit,lwt,lwt.unix,io-page.unix,
logs,logs.fmt,
mirage-profile,mirage-flow,mirage-vnetif,
mirage-clock-unix,pcap-format,
tcpip.ethif,tcpip.arpv4,tcpip.ipv4,tcpip.tcp,tcpip.udp,
tcpip.stack-direct,tcpip.icmpv4,
tcpip.udpv4-socket, tcpip.tcpv4-socket, tcpip.stack-socket, duration,
tcpip.ipv6,
mirage-random, result, rresult,
mirage-protocols, mirage-protocols-lwt, mirage-stack-lwt
Test test
Run$: flag(tests)
Command: $test -q