Address.cc File Reference
#include "squid.h"
#include "Debug.h"
#include "ip/Address.h"
#include "ip/tools.h"
#include "util.h"
#include <cassert>
#include <cstring>
Include dependency graph for Address.cc:

Go to the source code of this file.

Classes

struct  Ip
 
struct  Ip
 
struct  Ip
 
struct  Ip
 

Macros

#define IASSERT(a, b)
 

Macro Definition Documentation

#define IASSERT (   a,
 
)
Value:
if(!(b)){ printf("assert \"%s\" at line %d\n", a, __LINE__); \
printf("Ip::Address invalid? with isIPv4()=%c, isIPv6()=%c\n",(isIPv4()?'T':'F'),(isIPv6()?'T':'F')); \
printf("ADDRESS:"); \
for(unsigned int i = 0; i < sizeof(mSocketAddr_.sin6_addr); ++i) { \
printf(" %x", mSocketAddr_.sin6_addr.s6_addr[i]); \
} printf("\n"); assert(b); \
}
#define assert(EX)
Definition: assert.h:17
int i
Definition: membanger.c:49
int a
Definition: membanger.c:50

Definition at line 34 of file Address.cc.

Referenced by Ip::Address::getAddrInfo(), Ip::Address::getSockAddr(), and Ip::Address::operator=().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors