Home
last modified time | relevance | path

Searched refs:chunkmap (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/netfilter/
Dxt_sctp.h24 __u32 chunkmap[256 / sizeof (__u32)]; /* Bit mask of chunks to be matched according to RFC 2960 */ member
40 #define SCTP_CHUNKMAP_SET(chunkmap, type) \ argument
42 (chunkmap)[type / bytes(__u32)] |= \
46 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \ argument
48 (chunkmap)[type / bytes(__u32)] &= \
52 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \ argument
54 ((chunkmap)[type / bytes (__u32)] & \
58 #define SCTP_CHUNKMAP_RESET(chunkmap) \ argument
59 memset((chunkmap), 0, sizeof(chunkmap))
61 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) \ argument
[all …]
/linux-2.6.39/net/netfilter/
Dxt_sctp.c56 SCTP_CHUNKMAP_COPY(chunkmapcopy, info->chunkmap); in match_packet()
75 if (SCTP_CHUNKMAP_IS_SET(info->chunkmap, sch->type)) { in match_packet()