INET Framework for OMNeT++/OMNEST
TCPCommand_m.h File Reference
#include <omnetpp.h>
#include "IPvXAddress.h"

Go to the source code of this file.

Classes

class  TCPCommand
class  TCPErrorInfo
class  TCPOpenCommand
class  TCPSendCommand
class  TCPConnectInfo
class  TCPStatusInfo

Defines

#define MSGC_VERSION   0x0402

Enumerations

enum  TcpCommandCode {
  TCP_C_OPEN_ACTIVE = 1, TCP_C_OPEN_PASSIVE = 2, TCP_C_SEND = 3, TCP_C_CLOSE = 5,
  TCP_C_ABORT = 6, TCP_C_STATUS = 7
}
enum  TcpStatusInd {
  TCP_I_DATA = 1, TCP_I_URGENT_DATA = 2, TCP_I_ESTABLISHED = 3, TCP_I_PEER_CLOSED = 4,
  TCP_I_CLOSED = 5, TCP_I_CONNECTION_REFUSED = 6, TCP_I_CONNECTION_RESET = 7, TCP_I_TIMED_OUT = 8,
  TCP_I_STATUS = 9
}
enum  TCPErrorCode

Functions

void doPacking (cCommBuffer *b, TCPCommand &obj)
void doUnpacking (cCommBuffer *b, TCPCommand &obj)
void doPacking (cCommBuffer *b, TCPErrorInfo &obj)
void doUnpacking (cCommBuffer *b, TCPErrorInfo &obj)
void doPacking (cCommBuffer *b, TCPOpenCommand &obj)
void doUnpacking (cCommBuffer *b, TCPOpenCommand &obj)
void doPacking (cCommBuffer *b, TCPSendCommand &obj)
void doUnpacking (cCommBuffer *b, TCPSendCommand &obj)
void doPacking (cCommBuffer *b, TCPConnectInfo &obj)
void doUnpacking (cCommBuffer *b, TCPConnectInfo &obj)
void doPacking (cCommBuffer *b, TCPStatusInfo &obj)
void doUnpacking (cCommBuffer *b, TCPStatusInfo &obj)

Define Documentation

#define MSGC_VERSION   0x0402

Definition at line 11 of file TCPCommand_m.h.


Enumeration Type Documentation

Enum generated from transport/contract/TCPCommand.msg by opp_msgc.

 enum TcpCommandCode
 {
     TCP_C_OPEN_ACTIVE = 1;   
     TCP_C_OPEN_PASSIVE = 2;  
     TCP_C_SEND = 3;          
     TCP_C_CLOSE = 5;         
     TCP_C_ABORT = 6;         
     TCP_C_STATUS = 7;        
 }
 
Enumerator:
TCP_C_OPEN_ACTIVE 
TCP_C_OPEN_PASSIVE 
TCP_C_SEND 
TCP_C_CLOSE 
TCP_C_ABORT 
TCP_C_STATUS 

Definition at line 37 of file TCPCommand_m.h.

Enum generated from transport/contract/TCPCommand.msg by opp_msgc.

 enum TCPErrorCode
 {
 }
 

Definition at line 85 of file TCPCommand_m.h.

                  {
};

Enum generated from transport/contract/TCPCommand.msg by opp_msgc.

 enum TcpStatusInd
 {
     TCP_I_DATA = 1;              
     TCP_I_URGENT_DATA = 2;       
     TCP_I_ESTABLISHED = 3;       
     TCP_I_PEER_CLOSED = 4;       
     TCP_I_CLOSED = 5;            
     TCP_I_CONNECTION_REFUSED = 6; 
     TCP_I_CONNECTION_RESET = 7;  
     TCP_I_TIMED_OUT = 8;         
     TCP_I_STATUS = 9;            
 }
 
Enumerator:
TCP_I_DATA 
TCP_I_URGENT_DATA 
TCP_I_ESTABLISHED 
TCP_I_PEER_CLOSED 
TCP_I_CLOSED 
TCP_I_CONNECTION_REFUSED 
TCP_I_CONNECTION_RESET 
TCP_I_TIMED_OUT 
TCP_I_STATUS 

Definition at line 64 of file TCPCommand_m.h.


Function Documentation

void doPacking ( cCommBuffer *  b,
TCPCommand obj 
) [inline]

Definition at line 127 of file TCPCommand_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
TCPErrorInfo obj 
) [inline]

Definition at line 169 of file TCPCommand_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
TCPOpenCommand obj 
) [inline]

Definition at line 237 of file TCPCommand_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
TCPSendCommand obj 
) [inline]

Definition at line 271 of file TCPCommand_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
TCPConnectInfo obj 
) [inline]

Definition at line 323 of file TCPCommand_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
TCPStatusInfo obj 
) [inline]

Definition at line 444 of file TCPCommand_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
TCPCommand obj 
) [inline]

Definition at line 128 of file TCPCommand_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
TCPErrorInfo obj 
) [inline]

Definition at line 170 of file TCPCommand_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
TCPOpenCommand obj 
) [inline]

Definition at line 238 of file TCPCommand_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
TCPSendCommand obj 
) [inline]

Definition at line 272 of file TCPCommand_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
TCPConnectInfo obj 
) [inline]

Definition at line 324 of file TCPCommand_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
TCPStatusInfo obj 
) [inline]

Definition at line 445 of file TCPCommand_m.h.

{obj.parsimUnpack(b);}