Home | History | Annotate | Download | only in extensions

Lines Matching refs:reject

1 /* Shared library add-on to iptables to add customized REJECT support.
45 printf("Valid reject types:\n");
61 "REJECT options:\n"
62 "--reject-with type drop input packet and send back\n"
69 { "reject-with", 1, 0, '1' },
77 struct ip6t_reject_info *reject = (struct ip6t_reject_info *)t->data;
80 reject->with = IP6T_ICMP6_PORT_UNREACH;
91 struct ip6t_reject_info *reject =
100 "Unexpected `!' after --reject-with");
104 reject->with = reject_table[i].with;
108 exit_error(PARAMETER_PROBLEM, "unknown reject type `%s'",optarg);
127 const struct ip6t_reject_info *reject
132 if (reject_table[i].with == reject->with)
135 printf("reject-with %s ", reject_table[i].name);
142 const struct ip6t_reject_info *reject
147 if (reject_table[i].with == reject->with)
150 printf("--reject-with %s ", reject_table[i].name);
153 struct ip6tables_target reject = {
154 .name = "REJECT",
169 register_target6(&reject);