Lines Matching defs:chunkmap
25 u_int32_t chunkmap[256 / sizeof (u_int32_t)]; /* Bit mask of chunks to be matched according to RFC 2960 */
41 #define SCTP_CHUNKMAP_SET(chunkmap, type) \
43 chunkmap[type / bytes(u_int32_t)] |= \
47 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \
49 chunkmap[type / bytes(u_int32_t)] &= \
53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \
55 (chunkmap[type / bytes (u_int32_t)] & \
59 #define SCTP_CHUNKMAP_RESET(chunkmap) \
62 for (i = 0; i < ELEMCOUNT(chunkmap); i++) \
63 chunkmap[i] = 0; \
66 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) \
69 for (i = 0; i < ELEMCOUNT(chunkmap); i++) \
70 chunkmap[i] = ~0; \
76 for (i = 0; i < ELEMCOUNT(chunkmap); i++) \
80 #define SCTP_CHUNKMAP_IS_CLEAR(chunkmap) \
84 for (i = 0; i < ELEMCOUNT(chunkmap); i++) { \
85 if (chunkmap[i]) { \
93 #define SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) \
97 for (i = 0; i < ELEMCOUNT(chunkmap); i++) { \
98 if (chunkmap[i] != ~0) { \