Lines Matching defs:type
25 u_32_t type;
31 type = fp->fr_type & ~FR_T_BUILTIN;
130 if (type == FR_T_IPF) {
147 if (type == FR_T_NONE) {
149 } else if (type == FR_T_IPF) {
167 int type = fp->fr_icmp, code;
169 type = ntohs(fp->fr_icmp);
170 code = type & 0xff;
171 type /= 256;
172 if (type < (sizeof(icmptypes) / sizeof(char *) - 1) &&
173 icmptypes[type] && fp->fr_proto == IPPROTO_ICMP)
174 printf(" icmp-type %s", icmptypes[type]);
176 printf(" icmp-type %d", type);
200 } else if (type == FR_T_BPFOPC) {
212 } else if (type == FR_T_COMPIPF) {
214 } else if (type == FR_T_CALLFUNC) {
217 printf("[unknown filter type %#x]", fp->fr_type);
220 if ((type == FR_T_IPF) &&