Home | History | Annotate | Download | only in extensions

Lines Matching refs:pkttype

19 	unsigned char pkttype;
26 unsigned char pkttype;
57 "pkttype match options:\n"
68 static void parse_pkttype(const char *pkttype, struct xt_pkttype_info *info)
73 if(strcasecmp(pkttype, supported_types[i].name)==0)
75 info->pkttype=supported_types[i].pkttype;
79 xtables_error(PARAMETER_PROBLEM, "Bad packet type '%s'", pkttype);
97 if(supported_types[i].pkttype==info->pkttype)
103 printf("%d", info->pkttype); /* in case we didn't find an entry in named-packtes */
111 printf(" PKTTYPE %s= ", info->invert ? "!" : "");
135 if (supported_types_xlate[i].pkttype == info->pkttype) {
140 xt_xlate_add(xl, "%d", info->pkttype);
148 xt_xlate_add(xl, "pkttype%s ", info->invert ? " !=" : "");
156 .name = "pkttype",