hans-3.0.2: Network Stack
Hans.Tcp.Message
Synopsis
mkRst :: TcpHeader -> IO TcpHeader Source #
SEQ=SEG.ACKCTL=RST
mkRstAck :: TcpHeader -> ByteString -> IO TcpHeader Source #
SEQ=0ACK=SEG.SEQ+SEG.LENCTL=RST,ACK
mkSyn :: Tcb -> IO TcpHeader Source #
mkSynAck :: Tcb -> TcpHeader -> IO TcpHeader Source #
SEQ=ISSACK=RCV.NXTCTL=SYN,ACK
mkAck Source #
Arguments
SEG.SEQ
SEG.ACK
Local port
Remote port