#include "squid.h"
#include "debug/Stream.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 |
Macros | |
#define | IASSERT(a, b) |
Macro Definition Documentation
◆ IASSERT
#define IASSERT | ( | a, | |
b | |||
) |
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); \
}
Definition at line 34 of file Address.cc.