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

📄 igmp_snmp.c

📁 路由器协议平台igmp协议设计实现源码。
💻 C
字号:
/*
 $Log:: /OEM Source Code/igmp/igmp_snmp.c                                                          $
 * 
 * 1     4/23/98 9:53p Release Engineer
 * Initial release
 * IGMP v4.1.0
 */
/************************************************************************/
/*  Copyright (C) 1997-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 <stdlib.h>
#include <stddef.h>
#include "igmp.h"
#include "igmp_snmp_definitions.h"
/********************************************************************************************/
enum TEST get_igmp_mib_variable (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;

	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, igmp_snmp_table);

	return (return_code);
}
/********************************************************************************************/
enum TEST igmp_get_mib_variable (char *cptr_protocol_name, MIB_ACCESS_PARAMETERS *sptr_mib_access_parameters)
{
	enum TEST return_code;
	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;

	PARAMETER_NOT_USED (cptr_protocol_name);

	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, igmp_snmp_table);

	return (return_code);
}

⌨️ 快捷键说明

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