INET Framework for OMNeT++/OMNEST
|
#include "inet/common/INETDefs.h"
#include "omnetpp/platdep/sockets.h"
#include "inet/networklayer/common/L3Address.h"
#include "inet/common/ByteArray.h"
#include <sys/socket.h>
#include "inet/transportlayer/sctp/SCTPMessage.h"
#include "inet/transportlayer/sctp/SCTPAssociation.h"
Classes | |
struct | int_symbol |
struct | option_list |
struct | errno_spec |
struct | syscall_spec |
struct | command_spec |
struct | invocation |
struct | binary_expression |
struct | sctp_rtoinfo_expr |
struct | sctp_initmsg_expr |
struct | sctp_assoc_value_expr |
struct | sctp_assocparams_expr |
struct | sctp_sack_info_expr |
struct | sctp_paddrparams_expr |
struct | sctp_sndrcvinfo_expr |
struct | sctp_reset_streams_expr |
struct | sctp_status_expr |
struct | sctp_add_streams_expr |
class | PacketDrillConfig |
class | PacketDrillPacket |
class | PacketDrillEvent |
class | PacketDrillExpression |
class | PacketDrillScript |
class | PacketDrillStruct |
class | PacketDrillOption |
class | PacketDrillBytes |
class | PacketDrillTcpOption |
class | PacketDrillSctpChunk |
class | PacketDrillSctpParameter |
Enumerations | |
enum | direction_t { DIRECTION_INVALID, DIRECTION_INBOUND, DIRECTION_OUTBOUND } |
enum | event_t { INVALID_EVENT = 0, PACKET_EVENT, SYSCALL_EVENT, COMMAND_EVENT, NUM_EVENT_TYPES } |
enum | eventTime_t { ABSOLUTE_TIME = 0, RELATIVE_TIME, ANY_TIME, ABSOLUTE_RANGE_TIME, RELATIVE_RANGE_TIME, NUM_TIME_TYPES } |
enum | expression_t { EXPR_NONE, EXPR_ELLIPSIS, EXPR_INTEGER, EXPR_LINGER, EXPR_WORD, EXPR_STRING, EXPR_SOCKET_ADDRESS_IPV4, EXPR_SOCKET_ADDRESS_IPV6, EXPR_BINARY, EXPR_LIST, EXPR_SCTP_RTOINFO, EXPR_SCTP_INITMSG, EXPR_SCTP_ASSOCVAL, EXPR_SCTP_SACKINFO, EXPR_SCTP_PEER_ADDR_PARAMS, EXPR_SCTP_SNDRCVINFO, EXPR_SCTP_RESET_STREAMS, EXPR_SCTP_STATUS, EXPR_SCTP_ASSOCPARAMS, EXPR_SCTP_ADD_STREAMS, NUM_EXPR_TYPES } |
enum | ip_version_t { IP_VERSION_4 = 0, IP_VERSION_4_MAPPED_6 = 1, IP_VERSION_6 = 2 } |
enum | status_t { STATUS_OK = 0, STATUS_ERR = -1, STATUS_WARN = -2 } |
Functions | |
struct int_symbol * | platform_symbols (void) |
int | parse_script (PacketDrillConfig *config, PacketDrillScript *script, struct invocation *callback_invocation) |
void | parse_and_finalize_config (struct invocation *invocation) |
#define ADDR_STR_LEN 66 |
#define F_GETFL 3 |
#define F_SETFL 4 |
#define FLAG_CHUNK_FLAGS_NOCHECK 0x00000002 |
#define FLAG_CHUNK_LENGTH_NOCHECK 0x00000004 |
#define FLAG_CHUNK_TYPE_NOCHECK 0x00000001 |
Referenced by PacketDrill::buildSCTPPacket().
#define FLAG_CHUNK_VALUE_NOCHECK 0x00000008 |
#define FLAG_DATA_CHUNK_PPID_NOCHECK 0x00000800 |
#define FLAG_DATA_CHUNK_SID_NOCHECK 0x00000200 |
#define FLAG_DATA_CHUNK_SSN_NOCHECK 0x00000400 |
#define FLAG_DATA_CHUNK_TSN_NOCHECK 0x00000100 |
#define FLAG_INIT_ACK_CHUNK_A_RWND_NOCHECK 0x00000200 |
#define FLAG_INIT_ACK_CHUNK_IS_NOCHECK 0x00000800 |
#define FLAG_INIT_ACK_CHUNK_OPT_PARAM_NOCHECK 0x00002000 |
Referenced by PacketDrill::buildInitAckChunk(), and PacketDrill::buildSCTPPacket().
#define FLAG_INIT_ACK_CHUNK_OS_NOCHECK 0x00000400 |
#define FLAG_INIT_ACK_CHUNK_TAG_NOCHECK 0x00000100 |
Referenced by PacketDrill::buildInitAckChunk(), and PacketDrill::buildSCTPPacket().
#define FLAG_INIT_ACK_CHUNK_TSN_NOCHECK 0x00001000 |
Referenced by PacketDrill::buildInitAckChunk(), and inet::PacketDrillApp::compareInitAckPacket().
#define FLAG_INIT_CHUNK_A_RWND_NOCHECK 0x00000200 |
#define FLAG_INIT_CHUNK_IS_NOCHECK 0x00000800 |
#define FLAG_INIT_CHUNK_OPT_PARAM_NOCHECK 0x00002000 |
Referenced by PacketDrill::buildInitChunk(), and PacketDrill::buildSCTPPacket().
#define FLAG_INIT_CHUNK_OPT_SUPPORTED_ADDRESS_TYPES_PARAM_NOCHECK 0x00004000 |
Referenced by PacketDrill::buildInitAckChunk(), and PacketDrill::buildInitChunk().
#define FLAG_INIT_CHUNK_OS_NOCHECK 0x00000400 |
#define FLAG_INIT_CHUNK_TAG_NOCHECK 0x00000100 |
Referenced by PacketDrill::buildInitChunk(), and PacketDrill::buildSCTPPacket().
#define FLAG_INIT_CHUNK_TSN_NOCHECK 0x00001000 |
Referenced by PacketDrill::buildInitChunk(), and inet::PacketDrillApp::compareInitPacket().
#define FLAG_RECONFIG_LAST_TSN_NOCHECK 0x00000040 |
Referenced by PacketDrill::buildReconfigChunk(), and inet::PacketDrillApp::compareReconfigPacket().
#define FLAG_RECONFIG_NUMBER_OF_NEW_STREAMS_NOCHECK 0x00000080 |
#define FLAG_RECONFIG_RECEIVER_NEXT_TSN_NOCHECK 0x00000080 |
Referenced by PacketDrill::buildReconfigChunk(), and inet::PacketDrillApp::compareReconfigPacket().
#define FLAG_RECONFIG_REQ_SN_NOCHECK 0x00000010 |
Referenced by PacketDrill::buildReconfigChunk(), and inet::PacketDrillApp::compareReconfigPacket().
#define FLAG_RECONFIG_RESP_SN_NOCHECK 0x00000020 |
Referenced by PacketDrill::buildReconfigChunk().
#define FLAG_RECONFIG_RESULT_NOCHECK 0x00000010 |
Referenced by PacketDrill::buildReconfigChunk(), and inet::PacketDrillApp::compareReconfigPacket().
#define FLAG_RECONFIG_SENDER_NEXT_TSN_NOCHECK 0x00000040 |
Referenced by PacketDrill::buildReconfigChunk(), and inet::PacketDrillApp::compareReconfigPacket().
#define FLAG_SACK_CHUNK_A_RWND_NOCHECK 0x00000200 |
#define FLAG_SACK_CHUNK_CUM_TSN_NOCHECK 0x00000100 |
#define FLAG_SACK_CHUNK_DUP_TSNS_NOCHECK 0x00000800 |
#define FLAG_SACK_CHUNK_GAP_BLOCKS_NOCHECK 0x00000400 |
#define FLAG_SHUTDOWN_CHUNK_CUM_TSN_NOCHECK 0x00000100 |
#define IPPROTO_SCTP 132 |
#define MAX_SCTP_CHUNK_BYTES 0xffff |
Referenced by PacketDrill::buildHeartbeatAckChunk(), and PacketDrill::buildHeartbeatChunk().
#define NO_TIME_RANGE -1 /* time_usecs_end if no range */ |
Referenced by PacketDrillEvent::PacketDrillEvent(), and yyparse().
#define PD_O_RDWR 0x002 |
#define SCTP_ABORT_CHUNK_T_BIT 0x01 |
Referenced by yyparse().
#define SCTP_ABORT_CHUNK_TYPE 0x06 |
Referenced by PacketDrill::buildSCTPPacket(), and yyparse().
#define SCTP_ADD_STREAMS 0x00000903 /* struct sctp_add_streams */ |
#define SCTP_ASSOCINFO 9 |
#define SCTP_COOKIE_ACK_CHUNK_TYPE 0x0b |
Referenced by yyparse().
#define SCTP_COOKIE_ECHO_CHUNK_TYPE 0x0a |
Referenced by yyparse().
#define SCTP_COOKIE_WAIT 0x0002 |
#define SCTP_DATA_CHUNK_B_BIT 0x02 |
Referenced by PacketDrill::buildDataChunk(), and yyparse().
#define SCTP_DATA_CHUNK_E_BIT 0x01 |
Referenced by PacketDrill::buildDataChunk(), and yyparse().
#define SCTP_DATA_CHUNK_I_BIT 0x08 |
Referenced by yyparse().
#define SCTP_DATA_CHUNK_TYPE 0x00 |
Referenced by PacketDrill::buildSCTPPacket(), and yyparse().
#define SCTP_DATA_CHUNK_U_BIT 0x04 |
Referenced by PacketDrill::buildDataChunk(), and yyparse().
#define SCTP_DELAYED_SACK 4 |
#define SCTP_ENABLE_CHANGE_ASSOC_REQ 0x00000004 |
#define SCTP_ENABLE_RESET_ASSOC_REQ 0x00000002 |
#define SCTP_ENABLE_RESET_STREAM_REQ 0x00000001 |
#define SCTP_ENABLE_STREAM_RESET 0x00000900 /* struct sctp_assoc_value */ |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_ENABLE_VALUE_MASK 0x00000007 |
#define SCTP_ERROR_CHUNK_TYPE 0x09 |
Referenced by yyparse().
#define SCTP_FRAGMENT_INTERLEAVE 6 |
#define SCTP_HEARTBEAT_ACK_CHUNK_TYPE 0x05 |
Referenced by yyparse().
#define SCTP_HEARTBEAT_CHUNK_TYPE 0x04 |
Referenced by yyparse().
#define SCTP_INIT_ACK_CHUNK_TYPE 0x02 |
Referenced by yyparse().
#define SCTP_INIT_CHUNK_TYPE 0x01 |
Referenced by yyparse().
#define SCTP_INITMSG 0 |
#define SCTP_INTERLEAVING_SUPPORTED 7 |
#define SCTP_IPV4_ADDRESS_PARAMETER_TYPE 0x0005 |
Referenced by yyparse().
#define SCTP_IPV6_ADDRESS_PARAMETER_TYPE 0x0006 |
Referenced by yyparse().
#define SCTP_MAX_BURST 5 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_MAXSEG 3 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_NODELAY 2 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_PAD_CHUNK_TYPE 0x84 |
Referenced by yyparse().
#define SCTP_PADDR_PARAMS 8 |
#define SCTP_PEER_ADDR_PARAMS 10 |
#define SCTP_RECONFIG_CHUNK_TYPE 0x82 |
Referenced by PacketDrill::buildSCTPPacket(), and yyparse().
#define SCTP_RESET_ASSOC 0x00000902 /* sctp_assoc_t */ |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_RESET_STREAMS 0x00000901 /* struct sctp_reset_streams */ |
#define SCTP_RTOINFO 1 |
#define SCTP_SACK_CHUNK_TYPE 0x03 |
Referenced by PacketDrill::buildSCTPPacket(), and yyparse().
#define SCTP_SHUTDOWN_ACK_CHUNK_TYPE 0x08 |
Referenced by yyparse().
#define SCTP_SHUTDOWN_CHUNK_TYPE 0x07 |
Referenced by PacketDrill::buildSCTPPacket(), and yyparse().
#define SCTP_SHUTDOWN_COMPLETE_CHUNK_T_BIT 0x01 |
Referenced by yyparse().
#define SCTP_SHUTDOWN_COMPLETE_CHUNK_TYPE 0x0e |
Referenced by yyparse().
#define SCTP_STATUS 0x00000100 |
#define SCTP_STREAM_RESET_INCOMING 0x00000001 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_STREAM_RESET_OUTGOING 0x00000002 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SCTP_UNORDERED 1 |
Referenced by inet::PacketDrillApp::syscallSctpSendmsg().
#define SPP_DSCP 0x00000200 |
#define SPP_HB_DEMAND 0x00000004 |
#define SPP_HB_DISABLE 0x00000002 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SPP_HB_ENABLE 0x00000001 |
Referenced by inet::PacketDrillApp::syscallSetsockopt().
#define SPP_HB_TIME_IS_ZERO 0x00000080 |
#define SPP_IPV4_TOS SPP_DSCP |
#define SPP_IPV6_FLOWLABEL 0x00000100 |
#define SPP_PMTUD_DISABLE 0x00000010 |
#define SPP_PMTUD_ENABLE 0x00000008 |
#define TCPOLEN_MAXSEG 4 |
Referenced by yyparse().
#define TCPOLEN_SACK_PERMITTED 2 |
Referenced by yyparse().
#define TCPOLEN_TIMESTAMP 10 |
Referenced by yyparse().
#define TCPOLEN_WINDOW 3 |
Referenced by yyparse().
#define TCPOPT_EOL 0 |
Referenced by inet::PacketDrillApp::compareTcpPacket(), setOptionValues(), and yyparse().
#define TCPOPT_EXP 254 /* Experimental */ |
#define TCPOPT_MAXSEG 2 |
Referenced by setOptionValues(), and yyparse().
#define TCPOPT_NOP 1 |
Referenced by inet::PacketDrillApp::compareTcpPacket(), setOptionValues(), and yyparse().
#define TCPOPT_SACK 5 |
Referenced by inet::PacketDrillApp::compareTcpPacket(), setOptionValues(), and yyparse().
#define TCPOPT_SACK_PERMITTED 4 |
Referenced by inet::PacketDrillApp::compareTcpPacket(), setOptionValues(), and yyparse().
#define TCPOPT_TIMESTAMP 8 |
Referenced by inet::PacketDrillApp::compareTcpPacket(), inet::PacketDrillApp::runEvent(), setOptionValues(), and yyparse().
#define TCPOPT_WINDOW 3 |
Referenced by inet::PacketDrillApp::compareTcpPacket(), setOptionValues(), and yyparse().
#define TUN_DRIVER_DEFAULT_MTU 1500 /* default MTU for tun device */ |
Referenced by PacketDrillConfig::PacketDrillConfig().
enum direction_t |
enum event_t |
enum eventTime_t |
Enumerator | |
---|---|
ABSOLUTE_TIME | |
RELATIVE_TIME | |
ANY_TIME | |
ABSOLUTE_RANGE_TIME | |
RELATIVE_RANGE_TIME | |
NUM_TIME_TYPES |
enum expression_t |
enum ip_version_t |
enum status_t |
void parse_and_finalize_config | ( | struct invocation * | invocation | ) |
Referenced by yyparse().
int parse_script | ( | PacketDrillConfig * | config, |
PacketDrillScript * | script, | ||
struct invocation * | callback_invocation | ||
) |
Referenced by PacketDrillScript::parseScriptAndSetConfig().
struct int_symbol* platform_symbols | ( | void | ) |
Referenced by PacketDrillExpression::symbolToInt().