radius_packet_structures.h

来自「vxworks下radius协议栈 的源代码」· C头文件 代码 · 共 55 行

H
55
字号
/* radius_packet_structures.h *//* Definitions of RADIUS packet related structures	*//* Copyright 1984 - 2000 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history____________________01b,27sept00,md  removed enum type declaration01a,19dec00,md  merged from visual source safe*//************************************************************************//*	Copyright (C) 1993 - 1999 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 Suite 212 Newport Beach, CA 92660	*//************************************************************************/#ifndef __INCradius_packet_structuresh#define __INCradius_packet_structuresh#if defined (_SDS_)#pragma maxalign ( 1 )#endif#if defined (__WINROUTER__)#pragma pack (push, vradpckt, 1)#endiftypedef struct RADIUS_PACKET_HEADER{	BYTE_ENUM (RADIUS_CODE)					code;	BYTE									identifier;	USHORT									length;	USHORT									authenticator[8];/* length defined in draft-ietf-radius-radius-05.txt */} RADIUS_PACKET_HEADER;typedef struct RADIUS_PACKET{	RADIUS_PACKET_HEADER					header;	BYTE									data;} RADIUS_PACKET;#if defined (__WINROUTER__)#pragma pack (pop, vradpckt)#endif#endif /*__INCradius_packet_structuresh*/

⌨️ 快捷键说明

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