42 (
INT)((
ip >> 24) & 0xFF),
43 (
INT)((
ip >> 16) & 0xFF),
44 (
INT)((
ip >> 8) & 0xFF),
50 strcpy(
p,
"(IPv6 address not supported)");
74 while ((
BitTest & TestMask) != 0) {
125 return (
Address->Address.IPv4Address == 0 ||
126 Address->Address.IPv4Address == 0xFFFFFFFF);
199 (
MID_TRACE,(
"AddressLength %x, Not valid (expected %x)\n",
225 if (Address1->
Type != Address2->
Type) {
226 DbgPrint(
"AddrIsEqual: Unequal Address Types\n");
230 switch (Address1->
Type) {
240 DbgPrint(
"AddrIsEqual: Bad address type\n");
261 switch (Address1->
Type) {
316 ULONG Octets[4] = {0,0,0,0};
324 CHAR c = *AddrString;
333 if(
c <
'0' ||
c >
'9')
337 Octets[
i] += (
c -
'0');
343 return (Octets[3] << 24) + (Octets[2] << 16) + (Octets[1] << 8) + Octets[0];
char * strcpy(char *DstString, const char *SrcString)
#define AddrInitIPv4(IPAddress, RawAddress)
#define TI_DbgPrint(_t_, _x_)
USHORT IPv6_RAW_ADDRESS[8]
INT AddrCompare(PIP_ADDRESS Address1, PIP_ADDRESS Address2)
PCHAR A2S(PIP_ADDRESS Address)
UINT AddrCountPrefixBits(PIP_ADDRESS Netmask)
NTSTATUS AddrGetAddress(PTRANSPORT_ADDRESS AddrList, PIP_ADDRESS Address, PUSHORT Port)
VOID AddrWidenAddress(PIP_ADDRESS Network, PIP_ADDRESS Source, PIP_ADDRESS Netmask)
VOID IPAddressFree(PVOID Object)
NTSTATUS AddrBuildAddress(PTRANSPORT_ADDRESS TaAddress, PIP_ADDRESS Address, PUSHORT Port)
ULONG IPv4NToHl(ULONG Address)
BOOLEAN AddrIsUnspecified(PIP_ADDRESS Address)
BOOLEAN AddrIsEqual(PIP_ADDRESS Address1, PIP_ADDRESS Address2)
BOOLEAN AddrIsEqualIPv4(PIP_ADDRESS Address1, IPv4_RAW_ADDRESS Address2)
#define RtlCompareMemory(s1, s2, l)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define ExFreePoolWithTag(_P, _T)
#define sprintf(buf, format,...)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
#define STATUS_INVALID_ADDRESS
union IP_ADDRESS::@1014 Address
IPv4_RAW_ADDRESS IPv4Address
struct _TDI_ADDRESS_IP * PTDI_ADDRESS_IP
#define TDI_ADDRESS_LENGTH_IP
#define TDI_ADDRESS_TYPE_IP
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_In_ __drv_aliasesMem PSTRING Prefix