Lines Matching refs:comment
27 XTOPT_POINTER(struct xt_comment_info, comment)},
36 commentinfo->comment[XT_MAX_COMMENT_LEN-1] = '\0'; in comment_print()
37 printf(" /* %s */", commentinfo->comment); in comment_print()
46 commentinfo->comment[XT_MAX_COMMENT_LEN-1] = '\0'; in comment_save()
48 xtables_save_string(commentinfo->comment); in comment_save()
55 char comment[XT_MAX_COMMENT_LEN]; in comment_xlate() local
57 commentinfo->comment[XT_MAX_COMMENT_LEN - 1] = '\0'; in comment_xlate()
59 snprintf(comment, XT_MAX_COMMENT_LEN, "\\\"%s\\\"", in comment_xlate()
60 commentinfo->comment); in comment_xlate()
62 snprintf(comment, XT_MAX_COMMENT_LEN, "\"%s\"", in comment_xlate()
63 commentinfo->comment); in comment_xlate()
65 comment[XT_MAX_COMMENT_LEN - 1] = '\0'; in comment_xlate()
66 xt_xlate_add_comment(xl, comment); in comment_xlate()