Lines Matching refs:reject
1 /* Shared library add-on to iptables to add customized REJECT support.
14 * reject. -- Maciej Soltysiak <solt@dns.toxicfilms.tv>
59 printf("Valid reject types:\n");
71 "REJECT target options:\n"
72 "--reject-with type drop input packet and send back\n"
81 {.name = "reject-with", .id = O_REJECT_WITH, .type = XTTYPE_STRING},
87 struct ipt_reject_info *reject = (struct ipt_reject_info *)t->data;
90 reject->with = IPT_ICMP_PORT_UNREACHABLE;
96 struct ipt_reject_info *reject = cb->data;
105 reject->with = reject_table[i].with;
111 fprintf(stderr, "--reject-with echo-reply no longer"
114 "unknown reject type \"%s\"", cb->arg);
120 const struct ipt_reject_info *reject
125 if (reject_table[i].with == reject->with)
127 printf(" reject-with %s", reject_table[i].name);
132 const struct ipt_reject_info *reject
137 if (reject_table[i].with == reject->with)
140 printf(" --reject-with %s", reject_table[i].name);
144 .name = "REJECT",