Lines Matching refs:pkttype
19 unsigned char pkttype;
52 "pkttype match options:\n"
63 static void parse_pkttype(const char *pkttype, struct xt_pkttype_info *info)
68 if(strcasecmp(pkttype, supported_types[i].name)==0)
70 info->pkttype=supported_types[i].pkttype;
74 xtables_error(PARAMETER_PROBLEM, "Bad packet type '%s'", pkttype);
92 if(supported_types[i].pkttype==info->pkttype)
98 printf("%d", info->pkttype); /* in case we didn't find an entry in named-packtes */
120 .name = "pkttype",