Lines Matching refs:pkttype
25 unsigned char pkttype;
72 static void parse_pkttype(const char *pkttype, struct ipt_pkttype_info *info)
78 if(strcasecmp(pkttype, supported_types[i].name)==0)
80 info->pkttype=supported_types[i].pkttype;
85 exit_error(PARAMETER_PROBLEM, "Bad packet type '%s'", pkttype);
124 if(supported_types[i].pkttype==info->pkttype)
131 printf("%d ", info->pkttype); /* in case we didn't find an entry in named-packtes */
150 static struct iptables_match pkttype = {
152 .name = "pkttype",
166 register_match(&pkttype);