windows-nt/Source/XPSP1/NT/net/ipsec/spd/server/address.h

84 lines
917 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#define IN_CLASSE(i) (((long)(i) & 0xF0000000) == 0xF0000000)
DWORD
VerifyAddresses(
ADDR Addr,
BOOL bAcceptMe,
BOOL bIsDesAddr
);
BOOL
EqualAddresses(
IN ADDR OldAddr,
IN ADDR NewAddr
);
VOID
CopyAddresses(
IN ADDR InAddr,
OUT PADDR pOutAddr
);
BOOL
AddressesConflict(
ADDR SrcAddr,
ADDR DesAddr
);
VOID
FreeAddresses(
ADDR Addr
);
DWORD
VerifySubNetAddress(
ULONG uSubNetAddr,
ULONG uSubNetMask,
BOOL bIsDesAddr
);
BOOL
bIsValidIPMask(
ULONG uMask
);
BOOL
bIsValidIPAddress(
ULONG uIpAddr,
BOOL bAcceptMe,
BOOL bIsDesAddr
);
BOOL
bIsValidSubnet(
ULONG uIpAddr,
ULONG uMask,
BOOL bIsDesAddr
);
BOOL
MatchAddresses(
ADDR AddrToMatch,
ADDR AddrTemplate
);
DWORD
ApplyMulticastFilterValidation(
ADDR Addr,
BOOL bCreateMirror
);