#include <linux/types.h>
Data Structures | |
struct | xt_sctp_flag_info |
struct | xt_sctp_info |
Macros | |
#define | XT_SCTP_SRC_PORTS 0x01 |
#define | XT_SCTP_DEST_PORTS 0x02 |
#define | XT_SCTP_CHUNK_TYPES 0x04 |
#define | XT_SCTP_VALID_FLAGS 0x07 |
#define | XT_NUM_SCTP_FLAGS 4 |
#define | SCTP_CHUNK_MATCH_ANY 0x01 /* Match if any of the chunk types are present */ |
#define | SCTP_CHUNK_MATCH_ALL 0x02 /* Match if all of the chunk types are present */ |
#define | SCTP_CHUNK_MATCH_ONLY 0x04 /* Match if these are the only chunk types present */ |
#define | bytes(type) (sizeof(type) * 8) |
#define | SCTP_CHUNKMAP_SET(chunkmap, type) |
#define | SCTP_CHUNKMAP_CLEAR(chunkmap, type) |
#define | SCTP_CHUNKMAP_IS_SET(chunkmap, type) |
#define | SCTP_CHUNKMAP_RESET(chunkmap) memset((chunkmap), 0, sizeof(chunkmap)) |
#define | SCTP_CHUNKMAP_SET_ALL(chunkmap) memset((chunkmap), ~0U, sizeof(chunkmap)) |
#define | SCTP_CHUNKMAP_COPY(destmap, srcmap) memcpy((destmap), (srcmap), sizeof(srcmap)) |
#define | SCTP_CHUNKMAP_IS_CLEAR(chunkmap) __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap)) |
#define | SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap)) |
#define SCTP_CHUNK_MATCH_ALL 0x02 /* Match if all of the chunk types are present */ |
#define SCTP_CHUNK_MATCH_ANY 0x01 /* Match if any of the chunk types are present */ |
#define SCTP_CHUNK_MATCH_ONLY 0x04 /* Match if these are the only chunk types present */ |
#define SCTP_CHUNKMAP_CLEAR | ( | chunkmap, | |
type | |||
) |
#define SCTP_CHUNKMAP_COPY | ( | destmap, | |
srcmap | |||
) | memcpy((destmap), (srcmap), sizeof(srcmap)) |
#define SCTP_CHUNKMAP_IS_ALL_SET | ( | chunkmap | ) | __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap)) |
#define SCTP_CHUNKMAP_IS_CLEAR | ( | chunkmap | ) | __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap)) |
#define SCTP_CHUNKMAP_IS_SET | ( | chunkmap, | |
type | |||
) |
#define SCTP_CHUNKMAP_RESET | ( | chunkmap | ) | memset((chunkmap), 0, sizeof(chunkmap)) |
#define SCTP_CHUNKMAP_SET | ( | chunkmap, | |
type | |||
) |
#define SCTP_CHUNKMAP_SET_ALL | ( | chunkmap | ) | memset((chunkmap), ~0U, sizeof(chunkmap)) |
#define XT_NUM_SCTP_FLAGS 4 |
#define XT_SCTP_CHUNK_TYPES 0x04 |
#define XT_SCTP_DEST_PORTS 0x02 |
#define XT_SCTP_SRC_PORTS 0x01 |
#define XT_SCTP_VALID_FLAGS 0x07 |