Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
QosPol.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- /*++
- Copyright (c) 1999 Microsoft Corporation
- Module Name:
- qospol.h - QOS policy elements
- Abstract:
- This module defines QOS policy elements.
- Revision History:
- --*/
- #ifndef __QOSPOL_H_
- #define __QOSPOL_H_
- #define PE_TYPE_APPID 3 // policy element contains Application Identity
- // Policy Location attribute carries sub application attributes
- #define PE_ATTRIB_TYPE_POLICY_LOCATOR 1
- #define POLICY_LOCATOR_SUB_TYPE_ASCII_DN 1
- #define POLICY_LOCATOR_SUB_TYPE_UNICODE_DN 2
- #define POLICY_LOCATOR_SUB_TYPE_ASCII_DN_ENC 3
- #define POLICY_LOCATOR_SUB_TYPE_UNICODE_DN_ENC 4
- // Credentials attribute carries the application identity
- #define PE_ATTRIB_TYPE_CREDENTIAL 2
- #define CREDENTIAL_SUB_TYPE_ASCII_ID 1
- #define CREDENTIAL_SUB_TYPE_UNICODE_ID 2
- #define CREDENTIAL_SUB_TYPE_KERBEROS_TKT 3
- #define CREDENTIAL_SUB_TYPE_X509_V3_CERT 4
- #define CREDENTIAL_SUB_TYPE_PGP_CERT 5
- // Identity Policy Element attribute structure
- typedef struct _IDPE_ATTR {
- USHORT PeAttribLength;
- UCHAR PeAttribType; // Use the #defines from above
- UCHAR PeAttribSubType; // Use the #defines from above
- UCHAR PeAttribValue[4];
- } IDPE_ATTR, *LPIDPE_ATTR;
- #define IDPE_ATTR_HDR_LEN (sizeof(USHORT)+sizeof(UCHAR)+sizeof(UCHAR))
- #define RSVP_BYTE_MULTIPLE(x) (((x+3) / 4) * 4)
- #endif // __QOSPOL_H_