Searched refs:ICMP_MAXTYPE (Results 1 – 13 of 13) sorted by relevance
44 u_long icps_outhist[ICMP_MAXTYPE + 1];51 u_long icps_inhist[ICMP_MAXTYPE + 1];
206 #define ICMP_MAXTYPE 40 macro
217 KASSERT((u_int)type <= ICMP_MAXTYPE, ("%s: illegal ICMP type", in icmp_error()517 if (icp->icmp_type > ICMP_MAXTYPE) in icmp_input()
153 for (i = 0; i <= ICMP_MAXTYPE; i++) { in domode()161 for (i = 0; i <= ICMP_MAXTYPE; i++) { in domode()178 for (i = totalin = totalout = 0; i <= ICMP_MAXTYPE; i++) { in showicmp()
387 for (i = 0; i <= ICMP_MAXTYPE; i++) in op_icmpstat()449 for (i = 0; i <= ICMP_MAXTYPE; i++) in op_icmpstat()
1143 static const char *icmpnames[ICMP_MAXTYPE + 1] = {1216 for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) { in icmp_stats()1250 for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) { in icmp_stats()
1157 #undef ICMP_MAXTYPE1158 #define ICMP_MAXTYPE 18 macro
1846 extern int icmptoicmp6types[ICMP_MAXTYPE+1];1854 extern int icmpreplytype4[ICMP_MAXTYPE + 1];
477 if ((type < 0) || (type >= ICMP_MAXTYPE)) in ipf_send_icmp_err()
4211 int icmptoicmp6types[ICMP_MAXTYPE+1] = {4253 int icmpreplytype4[ICMP_MAXTYPE + 1];9140 for (i = 0; i <= ICMP_MAXTYPE; i++)
142 #define ICMP_MAXTYPE 18 macro
264 return (type <= ICMP_MAXTYPE && (cmd->d[0] & (1<<type)) ); in icmptype_match()275 return (type <= ICMP_MAXTYPE && (TT & (1<<type)) ); in is_icmp_query()
2077 if ((rule->return_icmp >> 8) > ICMP_MAXTYPE) { in pf_ioctl_addrule()3603 if (pcr->rule.return_icmp >> 8 > ICMP_MAXTYPE) { in pfioctl()