Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
structs.h
Abstract:
This module contains all of the internal structures for IPSecSPD Service.
Author:
abhisheV 30-September-1999
Environment
User Level: Win32
Revision History:
--*/
#ifdef __cplusplus
extern "C" { #endif
#define TCP_PROTOCOL 6
#define UDP_PROTOCOL 17
#define WEIGHT_ADDRESS_TIE_BREAKER 0x00000001
#define WEIGHT_SPECIFIC_SOURCE_PORT 0x00000002
#define WEIGHT_SPECIFIC_DESTINATION_PORT 0x00000004
#define WEIGHT_SPECIFIC_PROTOCOL 0x00000100
#define WEIGHT_TUNNEL_FILTER 0x00001000
#define WEIGHT_SPECIFIC_TUNNEL_FILTER 0x00002000
typedef struct _IPSEC_INTERFACE {
DWORD dwInterfaceType; ULONG IpAddress; DWORD dwIndex; BOOL bIsASuspect; GUID gInterfaceID; LPWSTR pszInterfaceName; LPWSTR pszDeviceName; struct _IPSEC_INTERFACE * pNext;
} IPSEC_INTERFACE, * PIPSEC_INTERFACE;
typedef struct _matching_addr { ULONG uIpAddr; GUID gInterfaceID; } MATCHING_ADDR, * PMATCHING_ADDR;
typedef struct _SPECIAL_ADDR { ADDR_TYPE AddrType; ULONG uIpAddr; IF_TYPE InterfaceType; BOOL bDupInterface; struct _SPECIAL_ADDR * pNext; } SPECIAL_ADDR, * PSPECIAL_ADDR;
typedef struct _ADDR_V4 { ADDR_TYPE AddrType; ULONG uIpAddr; ULONG uSubNetMask; GUID gInterfaceID; } ADDR_V4, * PADDR_V4;
#ifdef __cplusplus
} #endif
|