Changeset 134:6b2989c066a6 in freeDiameter for include
- Timestamp:
- Dec 15, 2009, 6:15:41 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfreeDiameter.h
r131 r134 395 395 #endif /* INADDR_LOOPBACK */ 396 396 397 /* An IP equivalent to IN6_IS_ADDR_LOOPBACK */ 398 #ifndef IN_IS_ADDR_LOOPBACK 399 #define IN_IS_ADDR_LOOPBACK(a) \ 400 ((((long int) (a)->s_addr) & ntohl(0xff000000)) == ntohl(0x7f000000)) 401 #endif /* IN_IS_ADDR_LOOPBACK */ 402 403 397 404 /* create a V4MAPPED address */ 398 405 #define IN6_ADDR_V4MAP( a6, a4 ) { \
Note: See TracChangeset
for help on using the changeset viewer.