Home | History | Annotate | Download | only in netfilter_ipv4

Lines Matching defs:chunkmap

23 	u_int32_t chunkmap[256 / sizeof (u_int32_t)];  /* Bit mask of chunks to be matched according to RFC 2960 */
39 #define SCTP_CHUNKMAP_SET(chunkmap, type) \
41 chunkmap[type / bytes(u_int32_t)] |= \
45 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \
47 chunkmap[type / bytes(u_int32_t)] &= \
51 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \
53 (chunkmap[type / bytes (u_int32_t)] & \
57 #define SCTP_CHUNKMAP_RESET(chunkmap) \
60 for (i = 0; i < ARRAY_SIZE(chunkmap); i++) \
61 chunkmap[i] = 0; \
64 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) \
67 for (i = 0; i < ARRAY_SIZE(chunkmap); i++) \
68 chunkmap[i] = ~0; \
74 for (i = 0; i < ARRAY_SIZE(chunkmap); i++) \
78 #define SCTP_CHUNKMAP_IS_CLEAR(chunkmap) \
82 for (i = 0; i < ARRAY_SIZE(chunkmap); i++) { \
83 if (chunkmap[i]) { \
91 #define SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) \
95 for (i = 0; i < ARRAY_SIZE(chunkmap); i++) { \
96 if (chunkmap[i] != ~0) { \