/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/extensions/ |
H A D | libxt_AUDIT.c | 14 O_AUDIT_TYPE = 0, enumerator in enum:__anon1227 17 static void audit_help(void) function 24 static const struct xt_option_entry audit_opts[] = { variable in typeref:struct:xt_option_entry 30 audit_parse(struct xt_option_call *cb) argument 32 struct xt_audit_info *einfo = cb->data; local 46 audit_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 49 const struct xt_audit_info *einfo = local 67 audit_save(const void *ip, const struct xt_entry_target *target) argument 69 const struct xt_audit_info *einfo = local 85 static struct xtables_target audit_tg_reg = { variable in typeref:struct:xtables_target 98 void _init(void) function [all...] |
H A D | libxt_CHECKSUM.c | 16 O_CHECKSUM_FILL = 0, enumerator in enum:__anon1228 19 static void CHECKSUM_help(void) function 26 static const struct xt_option_entry CHECKSUM_opts[] = { variable in typeref:struct:xt_option_entry 32 CHECKSUM_parse(struct xt_option_call *cb) argument 34 struct xt_CHECKSUM_info *einfo = cb->data; local 40 CHECKSUM_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 43 const struct xt_CHECKSUM_info *einfo = local 52 CHECKSUM_save(const void *ip, const struct xt_entry_target *target) argument 54 const struct xt_CHECKSUM_info *einfo = local 61 static struct xtables_target checksum_tg_reg = { variable in typeref:struct:xtables_target 74 void _init(void) function [all...] |
H A D | libxt_CLASSIFY.c | 7 O_SET_CLASS = 0, enumerator in enum:__anon1229 11 CLASSIFY_help(void) function 18 static const struct xt_option_entry CLASSIFY_opts[] = { variable in typeref:struct:xt_option_entry 24 CLASSIFY_string_to_priority(const char *s, unsigned int *p) argument 26 unsigned int i, j; local 35 CLASSIFY_parse(struct xt_option_call *cb) argument 37 struct xt_classify_target_info *clinfo = cb->data; local 46 CLASSIFY_print_class(unsigned int priority, int numeric) argument 52 CLASSIFY_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 56 const struct xt_classify_target_info *clinfo = local 63 CLASSIFY_save(const void *ip, const struct xt_entry_target *target) argument 65 const struct xt_classify_target_info *clinfo = local 72 static struct xtables_target classify_target = { variable in typeref:struct:xtables_target 85 void _init(void) function [all...] |
H A D | libxt_CONNMARK.c | 28 struct xt_connmark_target_info { struct 29 unsigned long mark; member in struct:xt_connmark_target_info 30 unsigned long mask; member in struct:xt_connmark_target_info 31 uint8_t mode; member in struct:xt_connmark_target_info 35 O_SET_MARK = 0, enumerator in enum:__anon1230 36 O_SAVE_MARK, enumerator in enum:__anon1230 37 O_RESTORE_MARK, enumerator in enum:__anon1230 38 O_AND_MARK, enumerator in enum:__anon1230 39 O_OR_MARK, enumerator in enum:__anon1230 40 O_XOR_MARK, enumerator in enum:__anon1230 41 O_SET_XMARK, enumerator in enum:__anon1230 42 O_CTMASK, enumerator in enum:__anon1230 43 O_NFMASK, enumerator in enum:__anon1230 44 O_MASK, enumerator in enum:__anon1230 45 F_SET_MARK = 1 << O_SET_MARK, enumerator in enum:__anon1230 46 F_SAVE_MARK = 1 << O_SAVE_MARK, enumerator in enum:__anon1230 47 F_RESTORE_MARK = 1 << O_RESTORE_MARK, enumerator in enum:__anon1230 48 F_AND_MARK = 1 << O_AND_MARK, enumerator in enum:__anon1230 49 F_OR_MARK = 1 << O_OR_MARK, enumerator in enum:__anon1230 50 F_XOR_MARK = 1 << O_XOR_MARK, enumerator in enum:__anon1230 51 F_SET_XMARK = 1 << O_SET_XMARK, enumerator in enum:__anon1230 52 F_CTMASK = 1 << O_CTMASK, enumerator in enum:__anon1230 53 F_NFMASK = 1 << O_NFMASK, enumerator in enum:__anon1230 54 F_MASK = 1 << O_MASK, enumerator in enum:__anon1230 55 F_OP_ANY = F_SET_MARK | F_SAVE_MARK | F_RESTORE_MARK | enumerator in enum:__anon1230 59 static void CONNMARK_help(void) function 68 #define s macro 69 static const struct xt_option_entry CONNMARK_opts[] = { variable in typeref:struct:xt_option_entry 79 #undef s macro 81 #define s macro 82 static const struct xt_option_entry connmark_tg_opts[] = { variable in typeref:struct:xt_option_entry 105 #undef s macro 107 static void connmark_tg_help(void) function 125 connmark_tg_init(struct xt_entry_target *target) argument 127 struct xt_connmark_tginfo1 *info = (void *)target->data; local 137 CONNMARK_parse(struct xt_option_call *cb) argument 139 struct xt_connmark_target_info *markinfo = cb->data; local 160 connmark_tg_parse(struct xt_option_call *cb) argument 162 struct xt_connmark_tginfo1 *info = cb->data; local 203 connmark_tg_check(struct xt_fcheck_call *cb) argument 211 print_mark(unsigned long mark) argument 217 print_mask(const char *text, unsigned long mask) argument 223 CONNMARK_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 226 const struct xt_connmark_target_info *markinfo = local 249 connmark_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 252 const struct xt_connmark_tginfo1 *info = (const void *)target->data; local 294 CONNMARK_save(const void *ip, const struct xt_entry_target *target) argument 296 const struct xt_connmark_target_info *markinfo = local 319 CONNMARK_init(struct xt_entry_target *t) argument 321 struct xt_connmark_target_info *markinfo local 328 connmark_tg_save(const void *ip, const struct xt_entry_target *target) argument 330 const struct xt_connmark_tginfo1 *info = (const void *)target->data; local 350 static struct xtables_target connmark_tg_reg[] = { variable in typeref:struct:xtables_target 383 void _init(void) function [all...] |
H A D | libxt_CONNSECMARK.c | 12 #define PFX macro 15 O_SAVE = 0, enumerator in enum:__anon1231 16 O_RESTORE, enumerator in enum:__anon1231 17 F_SAVE = 1 << O_SAVE, enumerator in enum:__anon1231 18 F_RESTORE = 1 << O_RESTORE, enumerator in enum:__anon1231 21 static void CONNSECMARK_help(void) function 29 static const struct xt_option_entry CONNSECMARK_opts[] = { variable in typeref:struct:xt_option_entry 36 CONNSECMARK_parse(struct xt_option_call *cb) argument 38 struct xt_connsecmark_target_info *info = cb->data; local 51 CONNSECMARK_check(struct xt_fcheck_call *cb) argument 57 print_connsecmark(const struct xt_connsecmark_target_info *info) argument 74 CONNSECMARK_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 77 const struct xt_connsecmark_target_info *info = local 85 CONNSECMARK_save(const void *ip, const struct xt_entry_target *target) argument 87 const struct xt_connsecmark_target_info *info = local 94 static struct xtables_target connsecmark_target = { variable in typeref:struct:xtables_target 109 void _init(void) function [all...] |
H A D | libxt_CT.c | 7 static void ct_help(void) function 20 O_NOTRACK = 0, enumerator in enum:__anon1232 21 O_HELPER, enumerator in enum:__anon1232 22 O_CTEVENTS, enumerator in enum:__anon1232 23 O_EXPEVENTS, enumerator in enum:__anon1232 24 O_ZONE, enumerator in enum:__anon1232 27 #define s macro 28 static const struct xt_option_entry ct_opts[] = { variable in typeref:struct:xt_option_entry 38 #undef s macro 40 struct event_tbl { struct 41 const char *name; member in struct:event_tbl 42 unsigned int event; member in struct:event_tbl 45 static const struct event_tbl ct_event_tbl[] = { variable in typeref:struct:event_tbl 58 static const struct event_tbl exp_event_tbl[] = { variable in typeref:struct:event_tbl 62 ct_parse_events(const struct event_tbl *tbl, unsigned int size, const char *events) argument 65 char str[strlen(events) + 1], *e = str, *t; local 66 unsigned int mask = 0, i; local 84 ct_print_events(const char *pfx, const struct event_tbl *tbl, unsigned int size, uint32_t mask) argument 87 const char *sep = ""; local 88 unsigned int i; local 99 ct_parse(struct xt_option_call *cb) argument 101 struct xt_ct_target_info *info = cb->data; local 117 ct_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 119 const struct xt_ct_target_info *info = local 137 ct_save(const void *ip, const struct xt_entry_target *target) argument 139 const struct xt_ct_target_info *info = local 156 static struct xtables_target ct_target = { variable in typeref:struct:xtables_target 169 void _init(void) function [all...] |
H A D | libxt_DSCP.c | 21 O_SET_DSCP = 0, enumerator in enum:__anon1233 22 O_SET_DSCP_CLASS, enumerator in enum:__anon1233 23 F_SET_DSCP = 1 << O_SET_DSCP, enumerator in enum:__anon1233 24 F_SET_DSCP_CLASS = 1 << O_SET_DSCP_CLASS, enumerator in enum:__anon1233 27 static void DSCP_help(void) function 43 static const struct xt_option_entry DSCP_opts[] = { variable in typeref:struct:xt_option_entry 53 DSCP_parse(struct xt_option_call *cb) argument 55 struct xt_DSCP_info *dinfo = cb->data; local 65 DSCP_check(struct xt_fcheck_call *cb) argument 73 print_dscp(uint8_t dscp, int numeric) argument 78 DSCP_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 81 const struct xt_DSCP_info *dinfo = local 87 DSCP_save(const void *ip, const struct xt_entry_target *target) argument 89 const struct xt_DSCP_info *dinfo = local 95 static struct xtables_target dscp_target = { variable in typeref:struct:xtables_target 109 void _init(void) function [all...] |
H A D | libxt_IDLETIMER.c | 28 O_TIMEOUT = 0, enumerator in enum:__anon1234 29 O_LABEL, enumerator in enum:__anon1234 32 #define s macro 33 static const struct xt_option_entry idletimer_tg_opts[] = { variable in typeref:struct:xt_option_entry 40 #undef s macro 42 static void idletimer_tg_help(void) function 51 idletimer_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 55 struct idletimer_tg_info *info = local 62 idletimer_tg_save(const void *ip, const struct xt_entry_target *target) argument 65 struct idletimer_tg_info *info = local 72 static struct xtables_target idletimer_tg_reg = { variable in typeref:struct:xtables_target 86 void _init(void) function [all...] |
H A D | libxt_LED.c | 19 O_LED_TRIGGER_ID = 0, enumerator in enum:__anon1235 20 O_LED_DELAY, enumerator in enum:__anon1235 21 O_LED_ALWAYS_BLINK, enumerator in enum:__anon1235 24 #define s macro 25 static const struct xt_option_entry LED_opts[] = { variable in typeref:struct:xt_option_entry 35 #undef s macro 37 static void LED_help(void) function 49 LED_parse(struct xt_option_call *cb) argument 51 struct xt_led_info *led = cb->data; local 71 LED_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 74 const struct xt_led_info *led = (void *)target->data; local 75 const char *id = led->id + strlen("netfilter-"); /* trim off prefix */ local 95 LED_save(const void *ip, const struct xt_entry_target *target) argument 97 const struct xt_led_info *led = (void *)target->data; local 98 const char *id = led->id + strlen("netfilter-"); /* trim off prefix */ local 120 static struct xtables_target led_tg_reg = { variable in typeref:struct:xtables_target 134 void _init(void) function [all...] |
H A D | libxt_MARK.c | 7 struct xt_mark_target_info { struct 8 unsigned long mark; member in struct:xt_mark_target_info 13 XT_MARK_SET=0, enumerator in enum:__anon1236 14 XT_MARK_AND, enumerator in enum:__anon1236 15 XT_MARK_OR, enumerator in enum:__anon1236 18 struct xt_mark_target_info_v1 { struct 19 unsigned long mark; member in struct:xt_mark_target_info_v1 20 uint8_t mode; member in struct:xt_mark_target_info_v1 24 O_SET_MARK = 0, enumerator in enum:__anon1237 25 O_AND_MARK, enumerator in enum:__anon1237 26 O_OR_MARK, enumerator in enum:__anon1237 27 O_XOR_MARK, enumerator in enum:__anon1237 28 O_SET_XMARK, enumerator in enum:__anon1237 29 F_SET_MARK = 1 << O_SET_MARK, enumerator in enum:__anon1237 30 F_AND_MARK = 1 << O_AND_MARK, enumerator in enum:__anon1237 31 F_OR_MARK = 1 << O_OR_MARK, enumerator in enum:__anon1237 32 F_XOR_MARK = 1 << O_XOR_MARK, enumerator in enum:__anon1237 33 F_SET_XMARK = 1 << O_SET_XMARK, enumerator in enum:__anon1237 34 F_ANY = F_SET_MARK | F_AND_MARK | F_OR_MARK | enumerator in enum:__anon1237 38 static void MARK_help(void) function 47 static const struct xt_option_entry MARK_opts[] = { variable in typeref:struct:xt_option_entry 57 static const struct xt_option_entry mark_tg_opts[] = { variable in typeref:struct:xt_option_entry 71 static void mark_tg_help(void) function 83 MARK_parse_v0(struct xt_option_call *cb) argument 85 struct xt_mark_target_info *markinfo = cb->data; local 99 MARK_check(struct xt_fcheck_call *cb) argument 107 MARK_parse_v1(struct xt_option_call *cb) argument 109 struct xt_mark_target_info_v1 *markinfo = cb->data; local 126 mark_tg_parse(struct xt_option_call *cb) argument 128 struct xt_mark_tginfo2 *info = cb->data; local 154 mark_tg_check(struct xt_fcheck_call *cb) argument 162 print_mark(unsigned long mark) argument 167 MARK_print_v0(const void *ip, const struct xt_entry_target *target, int numeric) argument 170 const struct xt_mark_target_info *markinfo = local 176 MARK_save_v0(const void *ip, const struct xt_entry_target *target) argument 178 const struct xt_mark_target_info *markinfo = local 185 MARK_print_v1(const void *ip, const struct xt_entry_target *target, int numeric) argument 188 const struct xt_mark_target_info_v1 *markinfo = local 205 mark_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 208 const struct xt_mark_tginfo2 *info = (const void *)target->data; local 222 MARK_save_v1(const void *ip, const struct xt_entry_target *target) argument 224 const struct xt_mark_target_info_v1 *markinfo = local 241 mark_tg_save(const void *ip, const struct xt_entry_target *target) argument 243 const struct xt_mark_tginfo2 *info = (const void *)target->data; local 248 static struct xtables_target mark_tg_reg[] = { variable in typeref:struct:xtables_target 293 void _init(void) function [all...] |
H A D | libxt_NFLOG.c | 12 O_GROUP = 0, enumerator in enum:__anon1238 13 O_PREFIX, enumerator in enum:__anon1238 14 O_RANGE, enumerator in enum:__anon1238 15 O_THRESHOLD, enumerator in enum:__anon1238 18 #define s macro 19 static const struct xt_option_entry NFLOG_opts[] = { variable in typeref:struct:xt_option_entry 30 #undef s macro 32 static void NFLOG_help(void) function 41 NFLOG_init(struct xt_entry_target *t) argument 43 struct xt_nflog_info *info = (struct xt_nflog_info *)t->data; local 48 NFLOG_parse(struct xt_option_call *cb) argument 60 nflog_print(const struct xt_nflog_info *info, char *prefix) argument 74 NFLOG_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 77 const struct xt_nflog_info *info = (struct xt_nflog_info *)target->data; local 82 NFLOG_save(const void *ip, const struct xt_entry_target *target) argument 84 const struct xt_nflog_info *info = (struct xt_nflog_info *)target->data; local 89 static struct xtables_target nflog_target = { variable in typeref:struct:xtables_target 103 void _init(void) function [all...] |
H A D | libxt_NFQUEUE.c | 13 O_QUEUE_NUM = 0, enumerator in enum:__anon1239 14 O_QUEUE_BALANCE, enumerator in enum:__anon1239 15 O_QUEUE_BYPASS, enumerator in enum:__anon1239 16 F_QUEUE_NUM = 1 << O_QUEUE_NUM, enumerator in enum:__anon1239 17 F_QUEUE_BALANCE = 1 << O_QUEUE_BALANCE, enumerator in enum:__anon1239 20 static void NFQUEUE_help(void) function 29 static void NFQUEUE_help_v1(void) function 36 static void NFQUEUE_help_v2(void) function 43 #define s macro 44 static const struct xt_option_entry NFQUEUE_opts[] = { variable in typeref:struct:xt_option_entry 53 #undef s macro 55 NFQUEUE_parse(struct xt_option_call *cb) argument 63 NFQUEUE_parse_v1(struct xt_option_call *cb) argument 65 struct xt_NFQ_info_v1 *info = cb->data; local 66 const uint16_t *r = cb->val.u16_range; local 83 NFQUEUE_parse_v2(struct xt_option_call *cb) argument 85 struct xt_NFQ_info_v2 *info = cb->data; local 95 NFQUEUE_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 98 const struct xt_NFQ_info *tinfo = local 103 NFQUEUE_print_v1(const void *ip, const struct xt_entry_target *target, int numeric) argument 106 const struct xt_NFQ_info_v1 *tinfo = (const void *)target->data; local 107 unsigned int last = tinfo->queues_total; local 117 NFQUEUE_print_v2(const void *ip, const struct xt_entry_target *target, int numeric) argument 120 const struct xt_NFQ_info_v2 *info = (void *) target->data; local 127 NFQUEUE_save(const void *ip, const struct xt_entry_target *target) argument 129 const struct xt_NFQ_info *tinfo = local 135 NFQUEUE_save_v1(const void *ip, const struct xt_entry_target *target) argument 137 const struct xt_NFQ_info_v1 *tinfo = (const void *)target->data; local 138 unsigned int last = tinfo->queues_total; local 148 NFQUEUE_save_v2(const void *ip, const struct xt_entry_target *target) argument 150 const struct xt_NFQ_info_v2 *info = (void *) target->data; local 158 NFQUEUE_init_v1(struct xt_entry_target *t) argument 160 struct xt_NFQ_info_v1 *tinfo = (void *)t->data; local 164 static struct xtables_target nfqueue_targets[] = { variable in typeref:struct:xtables_target 205 void _init(void) function [all...] |
H A D | libxt_NOTRACK.c | 4 static struct xtables_target notrack_target = { variable in typeref:struct:xtables_target 12 void _init(void) function [all...] |
H A D | libxt_RATEEST.c | 10 struct rateest_tg_udata { struct 11 unsigned int interval; member in struct:rateest_tg_udata 12 unsigned int ewma_log; member in struct:rateest_tg_udata 16 RATEEST_help(void) function 26 O_NAME = 0, enumerator in enum:__anon1240 27 O_INTERVAL, enumerator in enum:__anon1240 28 O_EWMALOG, enumerator in enum:__anon1240 31 #define s macro 32 static const struct xt_option_entry RATEEST_opts[] = { variable in typeref:struct:xt_option_entry 41 #undef s macro 44 #define TIME_UNITS_PER_SEC macro 47 RATEEST_get_time(unsigned int *time, const char *str) argument 49 double t; local 50 char *p; local 75 RATEEST_print_time(unsigned int time) argument 77 double tmp = time; local 87 RATEEST_parse(struct xt_option_call *cb) argument 89 struct rateest_tg_udata *udata = cb->udata; local 108 RATEEST_final_check(struct xt_fcheck_call *cb) argument 110 struct xt_rateest_target_info *info = cb->data; local 111 struct rateest_tg_udata *udata = cb->udata; local 124 double w = 1.0 - 1.0 / (1 << info->ewma_log); local 136 __RATEEST_print(const struct xt_entry_target *target, const char *prefix) argument 138 const struct xt_rateest_target_info *info = (const void *)target->data; local 139 unsigned int local_interval; local 140 unsigned int local_ewma_log; local 153 RATEEST_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 160 RATEEST_save(const void *ip, const struct xt_entry_target *target) argument 165 static struct xtables_target rateest_tg_reg = { variable in typeref:struct:xtables_target 180 void _init(void) function [all...] |
H A D | libxt_SECMARK.c | 12 #define PFX macro 15 O_SELCTX = 0, enumerator in enum:__anon1241 18 static void SECMARK_help(void) function 25 static const struct xt_option_entry SECMARK_opts[] = { variable in typeref:struct:xt_option_entry 32 SECMARK_parse(struct xt_option_call *cb) argument 34 struct xt_secmark_target_info *info = cb->data; local 40 print_secmark(const struct xt_secmark_target_info *info) argument 52 SECMARK_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 55 const struct xt_secmark_target_info *info = local 62 SECMARK_save(const void *ip, const struct xt_entry_target *target) argument 64 const struct xt_secmark_target_info *info = local 71 static struct xtables_target secmark_target = { variable in typeref:struct:xtables_target 85 void _init(void) function [all...] |
H A D | libxt_SET.c | 27 set_target_help_v0(void) function 37 static const struct option set_target_opts_v0[] = { variable in typeref:struct:option 44 set_target_check_v0(unsigned int flags) argument 52 set_target_init_v0(struct xt_entry_target *target) argument 54 struct xt_set_info_target_v0 *info = local 63 parse_target_v0(char **argv, int invert, unsigned int *flags, struct xt_set_info_v0 *info, const char *what) argument 88 set_target_parse_v0(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_target **target) argument 91 struct xt_set_info_target_v0 *myinfo = local 108 print_target_v0(const char *prefix, const struct xt_set_info_v0 *info) argument 110 int i; local 111 char setname[IPSET_MAXNAMELEN]; local 127 set_target_print_v0(const void *ip, const struct xt_entry_target *target, int numeric) argument 130 const struct xt_set_info_target_v0 *info = (const void *)target->data; local 137 set_target_save_v0(const void *ip, const struct xt_entry_target *target) argument 139 const struct xt_set_info_target_v0 *info = (const void *)target->data; local 147 set_target_init_v1(struct xt_entry_target *target) argument 149 struct xt_set_info_target_v1 *info = local 157 #define SET_TARGET_ADD macro 158 #define SET_TARGET_DEL macro 159 #define SET_TARGET_EXIST macro 160 #define SET_TARGET_TIMEOUT macro 163 parse_target(char **argv, int invert, struct xt_set_info *info, const char *what) argument 185 set_target_parse_v1(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_target **target) argument 188 struct xt_set_info_target_v1 *myinfo = local 205 print_target(const char *prefix, const struct xt_set_info *info) argument 207 int i; local 208 char setname[IPSET_MAXNAMELEN]; local 222 set_target_print_v1(const void *ip, const struct xt_entry_target *target, int numeric) argument 225 const struct xt_set_info_target_v1 *info = (const void *)target->data; local 232 set_target_save_v1(const void *ip, const struct xt_entry_target *target) argument 234 const struct xt_set_info_target_v1 *info = (const void *)target->data; local 243 set_target_help_v2(void) function 253 static const struct option set_target_opts_v2[] = { variable in typeref:struct:option 262 set_target_check_v2(unsigned int flags) argument 279 set_target_init_v2(struct xt_entry_target *target) argument 281 struct xt_set_info_target_v2 *info = local 290 set_target_parse_v2(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_target **target) argument 293 struct xt_set_info_target_v2 *myinfo = local 295 unsigned int timeout; local 323 set_target_print_v2(const void *ip, const struct xt_entry_target *target, int numeric) argument 326 const struct xt_set_info_target_v2 *info = (const void *)target->data; local 337 set_target_save_v2(const void *ip, const struct xt_entry_target *target) argument 339 const struct xt_set_info_target_v2 *info = (const void *)target->data; local 349 static struct xtables_target set_tg_reg[] = { variable in typeref:struct:xtables_target 397 void _init(void) function [all...] |
H A D | libxt_TCPMSS.c | 12 O_SET_MSS = 0, enumerator in enum:__anon1242 13 O_CLAMP_MSS, enumerator in enum:__anon1242 16 struct mssinfo { struct 17 struct xt_entry_target t; member in struct:mssinfo 18 struct xt_tcpmss_info mss; member in struct:mssinfo 21 __TCPMSS_help(int hdrsize) argument 30 static void TCPMSS_help(void) function 35 static void TCPMSS_help6(void) function 40 static const struct xt_option_entry TCPMSS4_opts[] = { variable in typeref:struct:xt_option_entry 48 static const struct xt_option_entry TCPMSS6_opts[] = { variable in typeref:struct:xt_option_entry 56 TCPMSS_parse(struct xt_option_call *cb) argument 58 struct xt_tcpmss_info *mssinfo = cb->data; local 65 TCPMSS_check(struct xt_fcheck_call *cb) argument 72 TCPMSS_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 75 const struct xt_tcpmss_info *mssinfo = local 83 TCPMSS_save(const void *ip, const struct xt_entry_target *target) argument 85 const struct xt_tcpmss_info *mssinfo = local 94 static struct xtables_target tcpmss_tg_reg[] = { variable in typeref:struct:xtables_target 123 void _init(void) function [all...] |
H A D | libxt_TCPOPTSTRIP.c | 13 # define TCPOPT_MD5SIG macro 17 O_STRIP_OPTION = 0, enumerator in enum:__anon1243 20 struct tcp_optionmap { struct 21 const char *name, *desc; member in struct:tcp_optionmap 22 const unsigned int option; member in struct:tcp_optionmap 25 static const struct xt_option_entry tcpoptstrip_tg_opts[] = { variable in typeref:struct:xt_option_entry 30 static const struct tcp_optionmap tcp_optionmap[] = { variable in typeref:struct:tcp_optionmap 40 static void tcpoptstrip_tg_help(void) function 42 const struct tcp_optionmap *w; local 56 parse_list(struct xt_tcpoptstrip_target_info *info, const char *arg) argument 58 unsigned int option; local 59 char *p; local 60 int i; local 94 tcpoptstrip_tg_parse(struct xt_option_call *cb) argument 96 struct xt_tcpoptstrip_target_info *info = cb->data; local 103 tcpoptstrip_print_list(const struct xt_tcpoptstrip_target_info *info, bool numeric) argument 106 unsigned int i, j; local 107 const char *name; local 108 bool first = true; local 131 tcpoptstrip_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 134 const struct xt_tcpoptstrip_target_info *info = local 142 tcpoptstrip_tg_save(const void *ip, const struct xt_entry_target *target) argument 144 const struct xt_tcpoptstrip_target_info *info = local 151 static struct xtables_target tcpoptstrip_tg_reg = { variable in typeref:struct:xtables_target 164 void _init(void) function [all...] |
H A D | libxt_TEE.c | 28 O_GATEWAY = 0, enumerator in enum:__anon1244 29 O_OIF, enumerator in enum:__anon1244 32 #define s macro 33 static const struct xt_option_entry tee_tg_opts[] = { variable in typeref:struct:xt_option_entry 40 #undef s macro 42 static void tee_tg_help(void) function 51 tee_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 54 const struct xt_tee_tginfo *info = (const void *)target->data; local 64 tee_tg6_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 67 const struct xt_tee_tginfo *info = (const void *)target->data; local 77 tee_tg_save(const void *ip, const struct xt_entry_target *target) argument 79 const struct xt_tee_tginfo *info = (const void *)target->data; local 86 tee_tg6_save(const void *ip, const struct xt_entry_target *target) argument 88 const struct xt_tee_tginfo *info = (const void *)target->data; local 95 static struct xtables_target tee_tg_reg[] = { variable in typeref:struct:xtables_target 124 void _init(void) function [all...] |
H A D | libxt_TOS.c | 18 struct ipt_tos_target_info { struct 19 uint8_t tos; member in struct:ipt_tos_target_info 23 O_SET_TOS = 0, enumerator in enum:__anon1245 24 O_AND_TOS, enumerator in enum:__anon1245 25 O_OR_TOS, enumerator in enum:__anon1245 26 O_XOR_TOS, enumerator in enum:__anon1245 27 F_SET_TOS = 1 << O_SET_TOS, enumerator in enum:__anon1245 28 F_AND_TOS = 1 << O_AND_TOS, enumerator in enum:__anon1245 29 F_OR_TOS = 1 << O_OR_TOS, enumerator in enum:__anon1245 30 F_XOR_TOS = 1 << O_XOR_TOS, enumerator in enum:__anon1245 31 F_ANY = F_SET_TOS | F_AND_TOS | F_OR_TOS | F_XOR_TOS, enumerator in enum:__anon1245 34 static const struct xt_option_entry tos_tg_opts_v0[] = { variable in typeref:struct:xt_option_entry 40 static const struct xt_option_entry tos_tg_opts[] = { variable in typeref:struct:xt_option_entry 52 static void tos_tg_help_v0(void) function 54 const struct tos_symbol_info *symbol; local 69 static void tos_tg_help(void) function 71 const struct tos_symbol_info *symbol; local 94 tos_tg_parse_v0(struct xt_option_call *cb) argument 96 struct ipt_tos_target_info *info = cb->data; local 106 tos_tg_parse(struct xt_option_call *cb) argument 108 struct xt_tos_target_info *info = cb->data; local 131 tos_tg_check(struct xt_fcheck_call *cb) argument 138 tos_tg_print_v0(const void *ip, const struct xt_entry_target *target, int numeric) argument 141 const struct ipt_tos_target_info *info = (const void *)target->data; local 148 tos_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 151 const struct xt_tos_target_info *info = (const void *)target->data; local 172 tos_tg_save_v0(const void *ip, const struct xt_entry_target *target) argument 174 const struct ipt_tos_target_info *info = (const void *)target->data; local 179 tos_tg_save(const void *ip, const struct xt_entry_target *target) argument 181 const struct xt_tos_target_info *info = (const void *)target->data; local 186 static struct xtables_target tos_tg_reg[] = { variable in typeref:struct:xtables_target 217 void _init(void) function [all...] |
H A D | libxt_TPROXY.c | 13 P_PORT = 0, enumerator in enum:__anon1246 14 P_ADDR, enumerator in enum:__anon1246 15 P_MARK, enumerator in enum:__anon1246 16 F_PORT = 1 << P_PORT, enumerator in enum:__anon1246 17 F_ADDR = 1 << P_ADDR, enumerator in enum:__anon1246 18 F_MARK = 1 << P_MARK, enumerator in enum:__anon1246 21 #define s macro 22 static const struct xt_option_entry tproxy_tg0_opts[] = { variable in typeref:struct:xt_option_entry 29 #undef s macro 30 #define s macro 31 static const struct xt_option_entry tproxy_tg1_opts[] = { variable in typeref:struct:xt_option_entry 39 #undef s macro 41 static void tproxy_tg_help(void) function 50 tproxy_tg_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 53 const struct xt_tproxy_target_info *info = (const void *)target->data; local 61 tproxy_tg_print4(const void *ip, const struct xt_entry_target *target, int numeric) argument 64 const struct xt_tproxy_target_info_v1 *info = local 74 tproxy_tg_print6(const void *ip, const struct xt_entry_target *target, int numeric) argument 77 const struct xt_tproxy_target_info_v1 *info = local 86 tproxy_tg_save(const void *ip, const struct xt_entry_target *target) argument 88 const struct xt_tproxy_target_info *info = (const void *)target->data; local 98 tproxy_tg_save4(const void *ip, const struct xt_entry_target *target) argument 100 const struct xt_tproxy_target_info_v1 *info; local 110 tproxy_tg_save6(const void *ip, const struct xt_entry_target *target) argument 112 const struct xt_tproxy_target_info_v1 *info; local 121 tproxy_tg0_parse(struct xt_option_call *cb) argument 123 struct xt_tproxy_target_info *info = cb->data; local 137 tproxy_tg1_parse(struct xt_option_call *cb) argument 139 struct xt_tproxy_target_info_v1 *info = cb->data; local 150 static struct xtables_target tproxy_tg_reg[] = { variable in typeref:struct:xtables_target 192 void _init(void) function [all...] |
H A D | libxt_TRACE.c | 10 static struct xtables_target trace_target = { variable in typeref:struct:xtables_target 18 void _init(void) function [all...] |
H A D | libxt_cluster.c | 13 cluster_help(void) function 24 O_CL_TOTAL_NODES = 0, enumerator in enum:__anon1247 25 O_CL_LOCAL_NODE, enumerator in enum:__anon1247 26 O_CL_LOCAL_NODEMASK, enumerator in enum:__anon1247 27 O_CL_HASH_SEED, enumerator in enum:__anon1247 28 F_CL_TOTAL_NODES = 1 << O_CL_TOTAL_NODES, enumerator in enum:__anon1247 29 F_CL_LOCAL_NODE = 1 << O_CL_LOCAL_NODE, enumerator in enum:__anon1247 30 F_CL_LOCAL_NODEMASK = 1 << O_CL_LOCAL_NODEMASK, enumerator in enum:__anon1247 31 F_CL_HASH_SEED = 1 << O_CL_HASH_SEED, enumerator in enum:__anon1247 34 #define s macro 35 static const struct xt_option_entry cluster_opts[] = { variable in typeref:struct:xt_option_entry 52 cluster_parse(struct xt_option_call *cb) argument 54 struct xt_cluster_match_info *info = cb->data; local 70 cluster_check(struct xt_fcheck_call *cb) argument 72 const struct xt_cluster_match_info *info = cb->data; local 73 unsigned int test; local 101 cluster_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 103 const struct xt_cluster_match_info *info = (void *)match->data; local 116 cluster_save(const void *ip, const struct xt_entry_match *match) argument 118 const struct xt_cluster_match_info *info = (void *)match->data; local 129 static struct xtables_match cluster_mt_reg = { variable in typeref:struct:xtables_match 143 void _init(void) function [all...] |
H A D | libxt_comment.c | 14 O_COMMENT = 0, enumerator in enum:__anon1248 17 static void comment_help(void) function 24 static const struct xt_option_entry comment_opts[] = { variable in typeref:struct:xt_option_entry 32 comment_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 34 struct xt_comment_info *commentinfo = (void *)match->data; local 42 comment_save(const void *ip, const struct xt_entry_match *match) argument 44 struct xt_comment_info *commentinfo = (void *)match->data; local 51 static struct xtables_match comment_match = { variable in typeref:struct:xtables_match 64 void _init(void) function [all...] |
H A D | libxt_connbytes.c | 7 O_CONNBYTES = 0, enumerator in enum:__anon1249 8 O_CONNBYTES_DIR, enumerator in enum:__anon1249 9 O_CONNBYTES_MODE, enumerator in enum:__anon1249 12 static void connbytes_help(void) function 21 static const struct xt_option_entry connbytes_opts[] = { variable in typeref:struct:xt_option_entry 31 connbytes_parse(struct xt_option_call *cb) argument 33 struct xt_connbytes_info *sinfo = cb->data; local 34 unsigned long long i; local 74 print_mode(const struct xt_connbytes_info *sinfo) argument 92 print_direction(const struct xt_connbytes_info *sinfo) argument 111 connbytes_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 113 const struct xt_connbytes_info *sinfo = (const void *)match->data; local 131 connbytes_save(const void *ip, const struct xt_entry_match *match) argument 133 const struct xt_connbytes_info *sinfo = (const void *)match->data; local 151 static struct xtables_match connbytes_match = { variable in typeref:struct:xtables_match 164 void _init(void) function [all...] |