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

📄 macbsnmp.c

📁 以太网交换机协议平台stp协议的设计与实现源代码。
💻 C
字号:
/*
 * $Log:: /OEM Source Code/Spantree/macbsn $
 * 
 * 1     12/04/98 2:36p Release Engineer
 * code cleanup, bug fixes, code style
 * changes, linted, system level test
 * STP v4.3.0
 * 
 * 1     2/06/96 11:06p Ross
 * Adding new version control
*/
/*	$Modname: macbsnmp.c$  $version: 1.4$      $date: 06/27/95$   */
/*
* 	$lgb$
1.0 06/15/94 ross
1.1 06/15/94 ross cosmetic changes and snmp access routines.
1.2 06/15/94 ross cosmetic changes and snmp access routines.
1.3 03/31/95 ross Changes for new rwutils library.
1.4 06/27/95 ross mib and nlsp changes
* 	$lge$
*/
/************************************************************************/
/*	Copyright (C) 1994 - 1998 RouterWare, Inc.								 	*/
/*	Unpublished - rights reserved under the Copyright Laws of the			*/
/*	United States.  Use, duplication, or disclosure by the 					*/
/*	Government is subject to restrictions as set forth in 					*/
/*	subparagraph (c)(1)(ii) of the Rights in Technical Data and 			*/
/*	Computer Software clause at 252.227-7013.										*/
/*	RouterWare, Inc., 3961 MacArthur Blvd. Suite 212, Newport Beach Ca   */
/************************************************************************/
#include	<stddef.h>
#include	<string.h>
#include	<kstart.h>
#include "macbridg.h"
#include "vmacsnmp.h"
/**********************************************************************************/
/**********************************************************************************/
enum TEST stp_get_spanning_tree_mib_variable  (char *module_name, MIB_ACCESS_PARAMETERS *sptr_mib_access_parameters)
{
	enum MIB_OPERATION mib_operation;
	char *cptr_mib_string;
	BYTE *bptr_variable_value;
	USHORT *usptr_size_of_variable_value;
	USHORT *usptr_size_of_table_indices;
	ULONG *ulptr_table_indices;
	enum BOOLEAN *eptr_end_of_table;
	char **ptr_to_cptr_next_variable_name;
	enum TEST return_code;
	
	module_name = NULL;  /* For alignment with LSL function call only.*/
	mib_operation = sptr_mib_access_parameters->mib_operation;
	cptr_mib_string = sptr_mib_access_parameters->cptr_mib_string;
	bptr_variable_value = sptr_mib_access_parameters->bptr_variable_value;
	usptr_size_of_variable_value = sptr_mib_access_parameters->usptr_size_of_variable_value;
	usptr_size_of_table_indices = sptr_mib_access_parameters->usptr_size_of_table_indices;
	ulptr_table_indices = sptr_mib_access_parameters->ulptr_table_indices;
	eptr_end_of_table = sptr_mib_access_parameters->eptr_end_of_table;
	ptr_to_cptr_next_variable_name = sptr_mib_access_parameters->ptr_to_cptr_next_variable_name;


	return_code = process_mib_variable (mib_operation,cptr_mib_string,bptr_variable_value,
		usptr_size_of_variable_value,usptr_size_of_table_indices,ulptr_table_indices,eptr_end_of_table,
		ptr_to_cptr_next_variable_name,&spanning_tree_snmp_table[0x00]);
  
   return (return_code);
}

⌨️ 快捷键说明

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