Searched refs:icmptype (Results 1 – 2 of 2) sorted by relevance
2995 u_int8_t icmptype, icmpcode; in pf_test_icmp() local3009 icmptype = pd->hdr.icmp->icmp_type; in pf_test_icmp()3013 if (icmptype == ICMP_UNREACH || in pf_test_icmp()3014 icmptype == ICMP_SOURCEQUENCH || in pf_test_icmp()3015 icmptype == ICMP_REDIRECT || in pf_test_icmp()3016 icmptype == ICMP_TIMXCEED || in pf_test_icmp()3017 icmptype == ICMP_PARAMPROB) in pf_test_icmp()3023 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_icmp()3027 if (icmptype == ICMP6_DST_UNREACH || in pf_test_icmp()3028 icmptype == ICMP6_PACKET_TOO_BIG || in pf_test_icmp()[all …]
406 %type <v.number> number icmptype icmp6type uid gid2365 icmp_item : icmptype {2375 | icmptype CODE STRING {2448 icmptype : STRING {4697 u_int8_t icmptype; in parseicmpspec() local4700 icmptype = returnicmpdefault >> 8; in parseicmpspec()4702 icmptype = returnicmp6default >> 8; in parseicmpspec()4705 if ((p = geticmpcodebyname(icmptype, w, af)) == NULL) { in parseicmpspec()4715 return (icmptype << 8 | ulval); in parseicmpspec()