Return to anet.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libelwix / inc / elwix |
version 1.16, 2020/05/27 15:03:28 | version 1.16.30.1, 2024/04/15 10:39:49 |
---|---|
Line 79 typedef struct { | Line 79 typedef struct { |
sockaddr_t addr; | sockaddr_t addr; |
inaddr_t mask; | inaddr_t mask; |
} netaddr_t; | } netaddr_t; |
#define E_CIDRMASK(x) htonl((((1 << (x)) - 1) << (32 - (x))) & 0xFFFFFFFF) | #define E_CIDRMASK(x) htonl((((unsigned int)(((unsigned long)(1 << (x))) - 1) << (32 - (x))) & 0xFFFFFFFF)) |
/* | /* |