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

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 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
2.4.4

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 46 of file tcp_mib_module.h.

◆ TCP_MIB_INC_COUNTER64

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

Definition at line 47 of file tcp_mib_module.h.

◆ TCP_MIB_SUPPORT

#define TCP_MIB_SUPPORT   DISABLED

Definition at line 39 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 76 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 63 of file tcp_mib_module.h.

Variable Documentation

◆ tcpMibBase

TcpMibBase tcpMibBase
extern

TCP MIB base.

Definition at line 60 of file tcp_mib_module.c.

◆ tcpMibModule

const MibModule tcpMibModule
extern

TCP MIB module.

Definition at line 361 of file tcp_mib_module.c.

◆ tcpMibObjects

const MibObject tcpMibObjects[]
extern

TCP MIB objects.

Definition at line 67 of file tcp_mib_module.c.