Lines Matching refs:comment
1 /* Shared library add-on to iptables to add comment match support.
5 * Initial comment match
23 "--comment COMMENT Attach a comment to a rule\n\n"
28 { "comment", 1, 0, '1' },
41 strcpy((char *)info->comment, s);
59 "Sorry, you can't have an inverted comment");
71 /* Final check; must have specified --comment. */
77 "COMMENT match: You must specify `--comment'");
88 commentinfo->comment[IPT_MAX_COMMENT_LEN-1] = '\0';
89 printf("/* %s */ ", commentinfo->comment);
98 commentinfo->comment[IPT_MAX_COMMENT_LEN-1] = '\0';
99 printf("--comment \"%s\" ", commentinfo->comment);
102 static struct iptables_match comment = {
104 .name = "comment",
118 register_match(&comment);