" or in hex (ex: 0x20)\n"
" --set-dscp-class class Set the DSCP field in packet header to the\n"
" value represented by the DiffServ class value.\n"
-" This class may be EF,BE or any of the CSxx "
+" This class may be EF,BE or any of the CSxx\n"
" or AFxx classes.\n"
"\n"
" These two options are mutually exclusive !\n"
printf("--set-dscp 0x%02x ", dinfo->dscp);
}
-static
-struct iptables_target dscp
-= { NULL,
- "DSCP",
- IPTABLES_VERSION,
- IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
- IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
- &help,
- &init,
- &parse,
- &final_check,
- &print,
- &save,
- opts
+static struct iptables_target dscp = {
+ .next = NULL,
+ .name = "DSCP",
+ .version = IPTABLES_VERSION,
+ .size = IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
+ .userspacesize = IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
+ .help = &help,
+ .init = &init,
+ .parse = &parse,
+ .final_check = &final_check,
+ .print = &print,
+ .save = &save,
+ .extra_opts = opts
};
void _init(void)