⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radius_mib_def.h

📁 vxworks下radius协议栈 的源代码
💻 H
字号:
/* radius_mib_def.h *//* Definitions of MIB strctures											*//* Copyright 1984 - 2000 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history____________________01b,26jan01,tk	ifdef out entire file if __RADIUS_MIB__ is not defined01a,19dec00,md  merged from visual source safe*/#ifdef __RADIUS_MIB__#ifndef __INCradius_mib_defh#define __INCradius_mib_defh#include <m2Lib.h>#define RADIUS_TBL_INDEX_LEN      1/* * Definition of the strucuture radiusAuthServerTable: */typedef struct 	radiusAuthServerTable    {    UINT            radiusAuthServerIndex;		/*   radiusAuthServerIndex -- not-accessible												 * A number uniquely identifying each RADIUS												 * Authentication server with which this client												 * communicates.												 */    IP_ADDRESS     	radiusAuthServerAddress;	/*   radiusAuthServerAddress -- read-only												 * The IP address of the RADIUS authentication server												 * referred to in this table entry.												 */    UINT           	radiusAuthClientServerPortNumber;												/*   radiusAuthClientServerPortNumber -- read-only												 * The UDP port the client is using to send requests to												 * this server.												 */    int            	radiusAuthClientRoundTripTime;												/*   radiusAuthClientRoundTripTime -- read-only												 * The time interval (in hundredths of a second) between												 * the most recent Access-Reply/Access-Challenge and the												 * Access-Request that matched it from this RADIUS												 * authentication server.												 */    UINT   			radiusAuthClientAccessRequests;												/*   radiusAuthClientAccessRequests -- read-only												 * The number of RADIUS Access-Request packets sent												 * to this server. This does not include retransmissions.												 */			    UINT	   		radiusAuthClientAccessRetransmissions;												/*   radiusAuthClientAccessRetransmissions -- read-only												 * The number of RADIUS Access-Request packets												 * retransmitted to this RADIUS authentication server.												 */    UINT			radiusAuthClientAccessAccepts;												/*   radiusAuthClientAccessAccepts -- read-only												 * The number of RADIUS Access-Accept packets												 * (valid or invalid) received from this server.												 */    UINT   			radiusAuthClientAccessRejects;												/*   radiusAuthClientAccessRejects -- read-only												 * The number of RADIUS Access-Reject packets												 * (valid or invalid) received from this server.												 */    UINT   			radiusAuthClientAccessChallenges;												/*   radiusAuthClientAccessChallenges -- read-only												 * The number of RADIUS Access-Challenge packets												 * (valid or invalid) received from this server.												 */    UINT   			radiusAuthClientMalformedAccessResponses;												/*   radiusAuthClientMalformedAccessResponses -- read-only												 * The number of malformed RADIUS Access-Response												 * packets received from this server.												 * Malformed packets include packets with												 * an invalid length. Bad authenticators or												 * Signature attributes or unknown types are not												 * included as malformed access responses.												 */    UINT   			radiusAuthClientBadAuthenticators;												/*   radiusAuthClientBadAuthenticators -- read-only												 * The number of RADIUS Access-Response packets												 * containing invalid authenticators or Signature												 * attributes received from this server.												 */    UINT   			radiusAuthClientPendingRequests;												/*   radiusAuthClientPendingRequests -- read-only												 * The number of RADIUS Access-Request packets												 * destined for this server that have not yet timed out												 * or received a response. This variable is incremented												 * when an Access-Request is sent and decremented due to												 * receipt of an Acess-Accept, Access-Reject or												 * Access-Challenge, a timeout or retransmission.												 */    UINT   			radiusAuthClientTimeouts;												/*   radiusAuthClientTimeouts -- read-only												 * The number of authentication timeouts to this server.												 * After a timeout the client may retry to the same												 * server, send to a different server, or												 * give up. A retry to the same server is counted as a												 * retransmit as well as a timeout. A send to a different												 * server is counted as a Request as well as a timeout.												 */    UINT   			radiusAuthClientUnknownTypes;												/*   radiusAuthClientUnknownTypes -- read-only												 * The number of RADIUS packets of unknown type which												 * were received from this server on the authentication port.												 */    UINT   			radiusAuthClientPacketsDropped;												/*   radiusAuthClientPacketsDropped -- read-only												 * The number of RADIUS packets of which were												 * received from this server on the authentication port												 * and dropped for some other reason.												 */	    } M2_RADIUS_AUTH_SERVER_INFO;/* * Definition of the strucuture radiusClientTable: */typedef struct 	radiusAuthClientTable    {    IP_ADDRESS     	radiusAuthClientInvalidServerAddresses;	    											/*   radiusAuthClientInvalidServerAddresses -- read-only 												 * The number of RADIUS Access-Response packets 												 * received from unknown addresses.												 */    unsigned char  	radiusAuthClientIdentifier [M2DISPLAYSTRSIZE];	    											/*  radiusAuthClientIdentifier -- read-only    											 * The NAS-Identifier of the RADIUS authentication client.    											 * This is not necessarily the same as sysName in MIB II.												 */	} M2_RADIUS_AUTH_CLIENT_INFO;/* * Definition of the structure radiusAccServerTable: */typedef struct radiusAccServerTable{	UINT		radiusAccServerIndex;			/* radiusAccServerIndex -- not-accessible												 * A number uniquely identifying each RADIUS												 * Accounting server with which this client												 * communicates.												 */ 	IP_ADDRESS 	radiusAccServerAddress;			/* radiusAccServerAddress -- read-only												 * The IP address of the RADIUS accounting server												 * referred to in this table entry.												 */ 	UINT	   	radiusAccClientServerPortNumber; /* radiusAccClientServerPortNumber-- read-only												 * The UDP port the client is using to send requests to												 * this server.												 */	UINT		radiusAccClientRoundTripTime;	/* radiusAccClientRoundTripTime -- read-only												 * The time interval between the most recent												 * Accounting-Response and the Accounting-Request that												 * matched it from this RADIUS accounting server.												 */	UINT		radiusAccClientRequests;		/* radiusAccClientRequests -- read-only												 * The number of RADIUS Accounting-Request packets												 * sent. This does not include retransmissions.												 */	UINT		radiusAccClientRetransmissions;	/* radiusAccClientRetransmissions -- read-only												 * The number of RADIUS Accounting-Request packets												 * retransmitted to this RADIUS accounting server.												 * Retransmissions include retries where the												 * Identifier and Acct-Delay have been updated, as												 * well as those in which they remain the same.												 */ 	UINT		radiusAccClientResponses;		/* radiusAccClientResponses -- read-only												 * The number of RADIUS packets received on the												 * accounting port from this server.												 */	UINT		radiusAccClientMalformedResponses;/* radiusAccClientMalformedResponses -- read-only												 * The number of malformed RADIUS Accounting-Response												 *  packets received from this server. Malformed packets												 * include packets with an invalid length. Bad												 * authenticators and unknown types are not included as												 * malformed accounting responses.												 */	UINT		radiusAccClientBadAuthenticators;/* radiusAccClientBadAuthenticators -- read-only												 * The number of RADIUS Accounting-Response												 * packets which contained invalid authenticators												 * received from this server.												 */	UINT		radiusAccClientPendingRequests;	/* radiusAccClientPendingRequests -- read-only												 * The number of RADIUS Accounting-Request packets												 * sent to this server that have not yet timed out or												 * received a response. This variable is incremented when an												 * Accounting-Request is sent and decremented due to												 * receipt of an Accounting-Response, a timeout or												 * a retransmission.												 */	UINT		radiusAccClientTimeouts;		/* radiusAccClientTimeouts -- read-only												 * The number of accounting timeouts to this server.												 * After a timeout the client may retry to the same												 * server, send to a different server, or give up.												 * A retry to the same server is counted as a												 * retransmit as well as a timeout. A send to a different												 * server is counted as an Accounting-Request as well as												 * a timeout.												 */	UINT		radiusAccClientUnknownTypes;	/* radiusAccClientUnknownTypes -- read-only												 * The number of RADIUS packets of unknown type which												 * were received from this server on the accounting port.												 */	UINT		radiusAccClientPacketsDropped;	/* radiusAccClientPacketsDropped -- read-only												 * The number of RADIUS packets which were received from												 * this server on the accounting port and dropped for some												 * other reason.												 */} M2_RADIUS_ACC_SERVER_INFO; /* * Definition of the strucuture radiusClientTable: */typedef struct 	radiusClientTable    {    IP_ADDRESS     	radiusAccClientInvalidServerAddresses;	    											/*   radiusAuthClientInvalidServerAddresses -- read-only 												 * The number of RADIUS Accounting-Response packets 												 * received from unknown addresses.												 */    unsigned char  	radiusAccClientIdentifier [M2DISPLAYSTRSIZE];	    											/*  radiusAuthClientIdentifier -- read-only    											 * The NAS-Identifier of the RADIUS accounting client.    											 * This is not necessarily the same as sysName in MIB II.												 */	} M2_RADIUS_ACC_CLIENT_INFO;#endif /*__INCradius_mib_defh*/#endif /* __RADIUS_MIB__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -