Lines Matching refs:type
39 #define bytes(type) (sizeof(type) * 8)
41 #define SCTP_CHUNKMAP_SET(chunkmap, type) \
43 chunkmap[type / bytes(u_int32_t)] |= \
44 1 << (type % bytes(u_int32_t)); \
47 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \
49 chunkmap[type / bytes(u_int32_t)] &= \
50 ~(1 << (type % bytes(u_int32_t))); \
53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \
55 (chunkmap[type / bytes (u_int32_t)] & \
56 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \