mptcp-0.0.1: Datastructures to describe TCP and MPTCP connections
LicenseGPL-3
Maintainermatt
Safe HaskellNone
LanguageHaskell2010

Net.Mptcp.Connection

Contents

Description

 
Synopsis

Types

data MptcpConnection Source #

Holds all necessary information about a multipath TCP connection TODO add an imcomplete constructor ?

Constructors

MptcpConnection 

Fields

data MptcpSubflow Source #

Extension of TcpConnection master subflow has implicit addrid 0 TODO add start/end dates ?

Constructors

MptcpSubflow 

Fields

data MptcpEndpointConfiguration Source #

Constructors

MptcpEndpointConfiguration 

Fields

showMptcpConnectionText :: MptcpConnection -> Text Source #

Pretty print an MPTCP connection

mptcpConnAddSubflow :: MptcpConnection -> MptcpSubflow -> MptcpConnection Source #

Adds a subflow to the connection Runs some extra checks TODO compose with mptcpConnAddLocalId

mptcpConnRemoveSubflow :: MptcpConnection -> MptcpSubflow -> MptcpConnection Source #

Remove subflow from an MPTCP connection