You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
667 B
29 lines
667 B
#ifndef _TS3INIT_TARGET_H |
|
#define _TS3INIT_TARGET_H |
|
|
|
/* Common Enums for targets */ |
|
enum |
|
{ |
|
TARGET_COMMON_VALID_MASK = (1 << 0) -1 |
|
}; |
|
|
|
/* Enums and structs for set_cookie */ |
|
enum |
|
{ |
|
TARGET_SET_COOKIE_ZERO_RANDOM_SEQUENCE = 1 << 0, |
|
TARGET_SET_COOKIE_RANDOM_SEED_FROM_ARGUMENT = 1 << 1, |
|
TARGET_SET_COOKIE_RANDOM_SEED_FROM_FILE = 1 << 2, |
|
TARGET_SET_COOKIE_VALID_MASK = (1 << 3) - 1 |
|
}; |
|
|
|
|
|
struct xt_ts3init_set_cookie_tginfo |
|
{ |
|
__u8 common_options; |
|
__u8 specific_options; |
|
__u16 reserved1; |
|
__u8 random_seed[RANDOM_SEED_LEN]; |
|
char random_seed_path[RANDOM_SEED_PATH_MAX]; |
|
}; |
|
|
|
#endif /* _TS3INIT_TARGET_H */
|
|
|