static struct ebt_u_match _802_3_match =
{
- EBT_802_3_MATCH,
- sizeof(struct ebt_802_3_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_802_3_MATCH,
+ .size = sizeof(struct ebt_802_3_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_match arp_match =
{
- EBT_ARP_MATCH,
- sizeof(struct ebt_arp_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_ARP_MATCH,
+ .size = sizeof(struct ebt_arp_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_target arpreply_target =
{
- EBT_ARPREPLY_TARGET,
- sizeof(struct ebt_arpreply_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_ARPREPLY_TARGET,
+ .size = sizeof(struct ebt_arpreply_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_match ip_match =
{
- EBT_IP_MATCH,
- sizeof(struct ebt_ip_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_IP_MATCH,
+ .size = sizeof(struct ebt_ip_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute((constructor));
static struct ebt_u_watcher log_watcher =
{
- EBT_LOG_WATCHER,
- sizeof(struct ebt_log_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_LOG_WATCHER,
+ .size = sizeof(struct ebt_log_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_target mark_target =
{
- EBT_MARK_TARGET,
- sizeof(struct ebt_mark_t_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_MARK_TARGET,
+ .size = sizeof(struct ebt_mark_t_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_match mark_match =
{
- EBT_MARK_MATCH,
- sizeof(struct ebt_mark_m_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_MARK_MATCH,
+ .size = sizeof(struct ebt_mark_m_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute((constructor));
static struct ebt_u_target snat_target =
{
- EBT_SNAT_TARGET,
- sizeof(struct ebt_nat_info),
- print_help_s,
- init_s,
- parse_s,
- final_check_s,
- print_s,
- compare,
- opts_s,
+ .name = EBT_SNAT_TARGET,
+ .size = sizeof(struct ebt_nat_info),
+ .help = print_help_s,
+ .init = init_s,
+ .parse = parse_s,
+ .final_check = final_check_s,
+ .print = print_s,
+ .compare = compare,
+ .extra_ops = opts_s,
};
static struct ebt_u_target dnat_target =
{
- EBT_DNAT_TARGET,
- sizeof(struct ebt_nat_info),
- print_help_d,
- init_d,
- parse_d,
- final_check_d,
- print_d,
- compare,
- opts_d
+ .name = EBT_DNAT_TARGET,
+ .size = sizeof(struct ebt_nat_info),
+ .help = print_help_d,
+ .init = init_d,
+ .parse = parse_d,
+ .final_check = final_check_d,
+ .print = print_d,
+ .compare = compare,
+ .extra_ops = opts_d,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_match pkttype_match =
{
- EBT_PKTTYPE_MATCH,
- sizeof(struct ebt_pkttype_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_PKTTYPE_MATCH,
+ .size = sizeof(struct ebt_pkttype_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute((constructor));
static struct ebt_u_target redirect_target =
{
- EBT_REDIRECT_TARGET,
- sizeof(struct ebt_redirect_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_REDIRECT_TARGET,
+ .size = sizeof(struct ebt_redirect_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_target standard =
{
- EBT_STANDARD_TARGET,
- sizeof(struct ebt_standard_target) - sizeof(struct ebt_entry_target),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_STANDARD_TARGET,
+ .size = sizeof(struct ebt_standard_target) -
+ sizeof(struct ebt_entry_target),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_match stp_match =
{
- EBT_STP_MATCH,
- sizeof(struct ebt_stp_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_STP_MATCH,
+ .size = sizeof(struct ebt_stp_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
}
static struct ebt_u_match vlan_match = {
- EBT_VLAN_MATCH,
- sizeof(struct ebt_vlan_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_VLAN_MATCH,
+ .size = sizeof(struct ebt_vlan_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));
static struct
ebt_u_table table =
{
- "broute",
- NULL,
- print_help,
- NULL
+ .name = "broute",
+ .help = print_help,
};
static void _init(void) __attribute__ ((constructor));
static struct ebt_u_table table =
{
- "filter",
- NULL,
- print_help,
- NULL
+ .name = "filter",
+ .help = print_help,
};
static void _init(void) __attribute__ ((constructor));
static struct
ebt_u_table table =
{
- "nat",
- NULL,
- print_help,
- NULL
+ .name = "nat",
+ .help = print_help,
};
static void _init(void) __attribute__ ((constructor));