cabal-version: 3.0 name: mptcp version: 0.0.1 license: GPL-3.0-only license-file: LICENSE build-type: Simple Maintainer: teto Category: Network, Mptcp Synopsis: Datastructures to describe TCP and MPTCP connections Homepage: https://github.com/teto/mptcpanalyzer Description: This provides very basic datastructures to describe TCP or multipath TCP (MPTCP) data structures, to record their subflows, the associated tokens etc. data-files: extra-source-files: -- headers/*.h -- headers/linux/*.h README.md tested-with: GHC == 8.10.7 library default-language: Haskell2010 -- for the .chs => c2hs -- apparently this just helps getting a better error messages -- Includes: -- tcp_states.h -- , linux/sock_diag.h -- , linux/inet_diag.h -- , linux/mptcp.h -- , linux/mptcp_v0.h -- , linux/mptcp_v1.h -- linux_latest.dev -- pass it via --extra-include-dirs=/nix/store/0l32krcbak7jw4lkwysmsg52k3m0dlm9-linux-5.15.7-dev/lib/modules/5.15.7/source/include/uapi -- , linux/mptcp.h -- TODO try to pass it from CLI instead , Net.TcpInfo -- include-dirs: -- headers default-extensions: DeriveGeneric build-depends: base >= 4.12 && < 5.18 , lens , Frames , containers , enumset , ip >= 1.7.3 , bytestring-conversion , text , unordered-containers hs-source-dirs: . build-tool-depends: c2hs:c2hs -- other-modules: Exposed-Modules: Net.Tcp , Net.Tcp.Connection , Net.Stream , Net.Mptcp , Net.Mptcp.Flags , Net.Mptcp.Connection ghc-options: -Werror=missing-home-modules Test-Suite test -- 2 types supported, exitcode is based on ... exit codes .... type: exitcode-stdio-1.0 default-language: Haskell2010 main-is: Main.hs hs-source-dirs: tests other-modules: Net.Mptcp.ConnectionSpec , Net.Tcp.ConnectionSpec build-depends: base >=4.12 , hspec , mptcp , ip , text