tcp_mib_module.h File Reference

TCP MIB module. More...

#include "mibs/mib_common.h"

Go to the source code of this file.

Data Structures

struct  TcpMibBase
 TCP MIB base. More...
 

Macros

#define TCP_MIB_SUPPORT   DISABLED
 
#define TCP_MIB_INC_COUNTER32(name, value)   tcpMibBase.name += value
 
#define TCP_MIB_INC_COUNTER64(name, value)   tcpMibBase.name += value
 

Enumerations

enum  TcpMibRtoAlgorithm { TCP_MIB_RTO_ALGORITHM_OTHER = 1, TCP_MIB_RTO_ALGORITHM_CONSTANT = 2, TCP_MIB_RTO_ALGORITHM_RSRE = 3, TCP_MIB_RTO_ALGORITHM_VANJ = 4 }
 RTO calculation algorithm. More...
 
enum  TcpMibConnState {
  TCP_MIB_CONN_STATE_CLOSED = 1, TCP_MIB_CONN_STATE_LISTEN = 2, TCP_MIB_CONN_STATE_SYN_SENT = 3, TCP_MIB_CONN_STATE_SYN_RECEIVED = 4,
  TCP_MIB_CONN_STATE_ESTABLISHED = 5, TCP_MIB_CONN_STATE_FIN_WAIT_1 = 6, TCP_MIB_CONN_STATE_FIN_WAIT_2 = 7, TCP_MIB_CONN_STATE_CLOSE_WAIT = 8,
  TCP_MIB_CONN_STATE_LAST_ACK = 9, TCP_MIB_CONN_STATE_CLOSING = 10, TCP_MIB_CONN_STATE_TIME_WAIT = 11, TCP_MIB_CONN_STATE_DELETE_TCB = 12
}
 TCP connection states. More...
 

Variables

TcpMibBase tcpMibBase
 TCP MIB base. More...
 
const MibObject tcpMibObjects []
 TCP MIB objects. More...
 
const MibModule tcpMibModule
 TCP MIB module. More...
 

Detailed Description

TCP MIB module.

License

Copyright (C) 2010-2018 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file tcp_mib_module.h.

Macro Definition Documentation

◆ TCP_MIB_INC_COUNTER32

#define TCP_MIB_INC_COUNTER32 (   name,
  value 
)    tcpMibBase.name += value

Definition at line 44 of file tcp_mib_module.h.

◆ TCP_MIB_INC_COUNTER64

#define TCP_MIB_INC_COUNTER64 (   name,
  value 
)    tcpMibBase.name += value

Definition at line 45 of file tcp_mib_module.h.

◆ TCP_MIB_SUPPORT

#define TCP_MIB_SUPPORT   DISABLED

Definition at line 37 of file tcp_mib_module.h.

Enumeration Type Documentation

◆ TcpMibConnState

TCP connection states.

Enumerator
TCP_MIB_CONN_STATE_CLOSED 
TCP_MIB_CONN_STATE_LISTEN 
TCP_MIB_CONN_STATE_SYN_SENT 
TCP_MIB_CONN_STATE_SYN_RECEIVED 
TCP_MIB_CONN_STATE_ESTABLISHED 
TCP_MIB_CONN_STATE_FIN_WAIT_1 
TCP_MIB_CONN_STATE_FIN_WAIT_2 
TCP_MIB_CONN_STATE_CLOSE_WAIT 
TCP_MIB_CONN_STATE_LAST_ACK 
TCP_MIB_CONN_STATE_CLOSING 
TCP_MIB_CONN_STATE_TIME_WAIT 
TCP_MIB_CONN_STATE_DELETE_TCB 

Definition at line 74 of file tcp_mib_module.h.

◆ TcpMibRtoAlgorithm

RTO calculation algorithm.

Enumerator
TCP_MIB_RTO_ALGORITHM_OTHER 
TCP_MIB_RTO_ALGORITHM_CONSTANT 
TCP_MIB_RTO_ALGORITHM_RSRE 
TCP_MIB_RTO_ALGORITHM_VANJ 

Definition at line 61 of file tcp_mib_module.h.

Variable Documentation

◆ tcpMibBase

TcpMibBase tcpMibBase

TCP MIB base.

Definition at line 58 of file tcp_mib_module.c.

◆ tcpMibModule

const MibModule tcpMibModule

TCP MIB module.

Definition at line 359 of file tcp_mib_module.c.

◆ tcpMibObjects

const MibObject tcpMibObjects[]

TCP MIB objects.

Definition at line 65 of file tcp_mib_module.c.